Open chrislovecnm opened 8 years ago
We will need a secret for each K8s instance. And mount that secret in the Pod.
The tags should be Kubernetes tags. The attributes are the same regardless of IaaS platform. kubectl label nodes $PRIVATE_IP failure-domain.beta.kubernetes.io/region=$REGION kubectl label nodes $PRIVATE_IP failure-domain.beta.kubernetes.io/zone=$AVAIL_ZONE
KubernetesSeedProvider java class KubernetesSnitch java class
Please submit a PR to https://github.com/k8s-for-greeks/cassandra. The https://github.com/k8s-for-greeks/cassandra/tree/removed-10731-migration-task-wait branch should probably be merged into a main offshoot that we maintain.
Rack should be based on GCE Availzone, and DC should probably be ENV props. Thoughts? We could also do rack and DC off of node tags ... Your choice ... I like to do it off of k8s, so @mward29 can use it in aws :)
GCE K8s instances already have the az tagged so that is super easy to pick-up. You should be able to access the k8s api for the node tag. I cannot find the example for a po access its nodes api ... but it should be pretty easy :)