k8s-redis-ha
k8s-redis-ha copied to clipboard
Kubernetes Redis with High Availability
Everything ok
minikube version: v0.27.0 OS - Ubuntu 16.04 ``` Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 58m default-scheduler Successfully assigned redis-server-0 to minikube Normal SuccessfulMountVolume...
There is a new initContainers syntax in Kubernetes 1.6 https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
From the [documentation](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/), it can be read: >1.5 syntax still works on 1.6, but we recommend using 1.6 syntax. In Kubernetes 1.6, Init Containers were made a field in the...
I want know why don't you run k8s-redis-ha-* script in initcontainer, and offer config file to redis server. Is there something I didn't thought?
added anti-affinity to sample configuration file. reference issue #8
Hi, would it be possible to create a mechanism, which would create a redis-master-server service which would always point only to the redis master? I'm thinking about dynamic labels changing...
Because the system comes up in stages, sentinel-0 zero always errors out and restarts once or twice before things stabilize. Is there a way to avoid this?
Make sample configuration [anti-affinity](https://kubernetes.io/docs/user-guide/node-selection/).