This commit is contained in:
Murat Kabilov
2017-01-09 17:48:13 +01:00
parent 67cc9b426f
commit 01399b34bb
11 changed files with 1207 additions and 2 deletions
+29 -2
View File
@@ -1,2 +1,29 @@
# postgres-operator
PostgreSQL operator in Kubernetes: concepts and code.
# postgres operator prototype (WIP)
### Create minikube
$ minikube start
### Deploy etcd
$ kubectl create -f github.com/coreos/etcd/hack/kubernetes-deploy/etcd.yaml
### Run operator
$ 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