Pg, install scripts

This commit is contained in:
Пытков Роман
2023-12-14 14:04:16 +03:00
parent 97bb1bf0eb
commit 7230a00a87
34 changed files with 3313 additions and 0 deletions

6
client/setup_pgsql_minimal.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
cd $(git rev-parse --show-toplevel)/postgres-operator
kubectl apply -f manifests/minimal-postgres-manifest.yaml

9
client/setup_pgsql_operator.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
cd $(git rev-parse --show-toplevel)/postgres-operator
# apply the manifests in the following order
kubectl create -f manifests/configmap.yaml # configuration
kubectl create -f manifests/operator-service-account-rbac.yaml # identity and permissions
kubectl create -f manifests/postgres-operator.yaml # deployment
kubectl create -f manifests/api-service.yaml # operator API to be used by UI

View File

@@ -0,0 +1,6 @@
#!/bin/bash
cd $(git rev-parse --show-toplevel)/postgres-operator
kubectl apply -f ui/manifests/