Taking Your Database Global with Kubernetes
- 1. Ty Morton, Google
Christopher Bradford, DataStax
1
Taking Your Database Global with
Kubernetes
Christopher Bradford, DataStax
Special Thanks - Ty Morton, Google
- 3. What are we trying to do?
Expand a single-region Apache
Cassandra cluster from one
Kubernetes environment to two.
Existing deployment:
● 1x region
● 3x zones
● 6x K8s workers
● 6x C* pods
Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
3
What are we trying to do?
- 4. Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
4
What are we trying to do?
- 9. What are we trying to do?
Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
9
What are we trying to do?
- 10. Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
10
Address Collisions
- 11. Flatten It Out
Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
11
Flatten It Out
- 15. Kubernetes has support for DNS stubs
us-west4.cluster.local:53 {
errors
cache 30
forward . 10.150.0.1
}
Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
15
DNS Stubs
- 16. Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
16
Replicated / Managed DNS
- 21. CIDR Wikipedia
Istio Multicluster Guide
LinkerD Multicluster Guide
Google GKE Cloud DNS
Cilium Cluster Mesh
Cassandra on Anthos
Cilium Cassandra Secure Access
Kubernetes Docs - Customize DNS
Yahoo! Japan Blog Post - Discusses
BGP and K8s for easy routing
DataStax Overlay Network Blog Post
K8ssandra Multicluster Operator
Taking Your Database Global with Kubernetes • Christopher Bradford, DataStax
21
References