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:
Taehyun Kim
2019-03-29 11:26:13 +01:00
committed by Dmitry Dolgov
parent 98940e65fb
commit 6778c3c03c
12 changed files with 432 additions and 3 deletions
+20 -1
View File
@@ -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