arun-gupta / docker-images

Docker Images
250 stars 220 forks source link

Dynamically get host IP #9

Closed CelsoSantos closed 3 months ago

arun-gupta commented 8 years ago

Do you also have the steps to create a Couchbase cluster on Kubernetes?

bdangit commented 8 years ago

in worker-service.yml, line https://github.com/arun-gupta/docker-images/pull/9/files#diff-3babe52f94acf7e05c41f4da77e2acf1L23 true value must be wrapped with quotes 'true'. Kube's validator keeps screaming that env elements must all be string.

$ kubectl create -f worker-service.yml
error validating "worker-service.yml": error validating data: expected type string, for field spec.template.spec.containers[0].env[2].value, got bool; if you choose to ignore these errors, turn validation off with --validate=false

On some what of a related point, there's something about these pod/service specs that doesn't seem right. Should the Master and Worker nodes be all within the same Couchbase K8s Service? When we expose the couchbase service, which one would we choose? If we choose the master thats a single point of failure. BTW, I make no claim at knowing how to setup a couchbase cluster. So maybe this is okay. 8)