Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
Go to file
Murat Kabilov c299f2f143 proper names small fixes 2017-05-08 12:09:50 +02:00
operator proper names small fixes 2017-05-08 12:09:50 +02:00
.gitignore proper names small fixes 2017-05-08 12:09:50 +02:00
README.md some ack 2017-01-09 17:48:42 +01:00
glide.lock init 2017-01-09 17:48:13 +01:00
glide.yaml init 2017-01-09 17:48:13 +01:00
main.go init 2017-01-09 17:48:13 +01:00
testcluster.yaml proper names small fixes 2017-05-08 12:09:50 +02:00

README.md

postgres operator prototype (WIP)

Create minikube

$ minikube start

Deploy etcd

$ kubectl create -f github.com/coreos/etcd/hack/kubernetes-deploy/etcd.yaml

Run operator (outside kubernetes cluster)

$ go run main.go

Check if ThirdPartyResource has been registered

$ kubectl get thirdpartyresources

NAME                  DESCRIPTION                             VERSION(S)
spilo.acid.zalan.do   A specification of Spilo StatefulSets   v1

Create a new spilo cluster

$ kubectl create -f testcluster.yaml

Watch Pods being created

$ kubectl get pods -w