mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-08 00:31:35 +02:00
Add helm chart (#434)
Helm chart, that contains all required components to install postgres-operator. So far all the versions are hardcoded to the latest release, and documentation mention helm mostly for development purposes with minikube.
This commit is contained in:
committed by
Dmitry Dolgov
parent
98940e65fb
commit
6778c3c03c
+20
-1
@@ -18,11 +18,30 @@ cd postgres-operator
|
||||
|
||||
minikube start
|
||||
|
||||
# start the operator; may take a few seconds
|
||||
# start the operator using one of helm chart or yaml manifests;
|
||||
|
||||
# - install postgres-operator with helm chart.
|
||||
# 1) initialize helm
|
||||
helm init
|
||||
# 2) install postgres-operator chart
|
||||
helm install --name postgres-operator ./charts/postgres-operator
|
||||
|
||||
# - install postgres-operator with yaml manifests.
|
||||
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
|
||||
|
||||
|
||||
# starting the operator may take a few seconds
|
||||
# check if operator pod is running
|
||||
|
||||
# - if you've created the operator using helm chart
|
||||
kubectl get po -l app.kubernetes.io/name=postgres-operator
|
||||
|
||||
# - if you've created the operator using yaml manifests
|
||||
kubectl get po -l name=postgres-operator
|
||||
|
||||
|
||||
# create a Postgres cluster
|
||||
kubectl create -f manifests/minimal-postgres-manifest.yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user