Open chrislovecnm opened 8 years ago
for rack I would just specify the rack name as the node attribute for availability zone
for DC most of what youre going to do is configuration in the GCE UI
so nothing in GCE ui please. Please do all through gcloud api 😄
Bash is beautiful.
https://cloud.google.com/sdk/gcloud/
Or if you are really adventurous you can do terraform ...
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
@paralin have you worked out the networking as of yet with vpn?
Yes it works. At least for the purpose of bridging 2 clusters.
@paralin when will you have a chance to document? I will mention on Monday that examples are coming for multiple physical Datacenter K8s installs with Multiple DC C*, are coming.
The demo will have two Datacenters btw. I stopped the custom seedprovider, and went to DNS. Do you know of a way to have nodetool use DNS rather than IPs? IPs are not guaranteed with PetSets ... we may have a challenge with Token ranges :(
@paralin please submit a PR for getting muitple DC's Racks on GCE.
Once you have submitted a PR, let me know and I can get you a baby k8s cluster.