In Apache Cassandra Lunch #44: Cassandra on Kubernetes – Docker/Kubernetes/Helm Part 2, we continue our discussion on Cassandra on Kubernetes and Docker, Kubernetes, and Helm. The live recording of Cassandra Lunch, which includes a more in-depth discussion and a demo, is embedded below in case you were not able to attend live. If you would like to attend Apache Cassandra Lunch live, it is hosted every Wednesday at 12 PM EST. Register here now!
In Apache Cassandra Lunch #44: Cassandra on Kubernetes – Docker/Kubernetes/Helm Part 2, we continue our discussion on Cassandra on Kubernetes and Docker, Kubernetes, and Helm. If you want a more in depth discussion, be sure to watch the live recording embedded below.
Review of Docker, Kubernetes, and Helm
- Review
- Docker
- Kubernetes
- Nodes
- Master/ControlPlane
- Worker
- Pod
- Deployment/ReplicaSet
- StatefulSet
- Job
- DaemonSet
- Operators
- Nodes
- Helm
Explanation of Hierarchy (of Cassandra, Docker and Kubernetes)
docker
cassandra-image
cassandra-custom-image
cassandra-custom-image2
kubernetes
statefulset
cassandra-image
cassandra-custom-image
CassandraDatacenterCenter
cassandra-image
cassandra-custom-image
MyOwnCassandraDataCenter
cassandra-custom-image2
helm
CassandraDatacenterCenter
PrometheusGrafana
kubernetes
etcd - storing the state of the objects
kubelet - running and catching up to the state
kubeproxy - connects shit together
Resources Discussed:
Cassandra on Docker:
- https://github.com/AdoptOpenJDK/openjdk-docker/blob/820829025ee3eb66b5dc9e5fed0ee3171aababe9/8/jdk/ubuntu/Dockerfile.hotspot.releases.full
- https://github.com/tianon/docker-brew-ubuntu-core/blob/7145f9723125e6e4367dc0fb428ffd9f2bc00334/focal/Dockerfile
Cassandra on Kubernetes:
Cass Operator
- https://github.com/datastax/cass-operator
- https://docs.datastax.com/en/cass-operator/doc/cass-operator/cassOperatorGettingStarted.html
- https://raw.githubusercontent.com/datastax/cass-operator/v1.6.0/docs/user/cass-operator-manifests-v1.16.yaml
- https://raw.githubusercontent.com/datastax/cass-operator/v1.6.0/operator/k8s-flavors/gke/storage.yaml
- https://raw.githubusercontent.com/datastax/cass-operator/v1.6.0/operator/example-cassdc-yaml/cassandra-3.11.x/example-cassdc-full.yaml
- https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
- https://github.com/Orange-OpenSource/casskop
K8ssandra
- https://k8ssandra.io/docs/getting-started/#prerequisites
- https://k8ssandra.io/docs/
- https://github.com/k8ssandra/k8ssandra/tree/main/charts/cass-operator
If you missed last week’s Apache Cassandra Lunch #43: DSBulk with Sed & Awk, don’t forget to check it out as well! If you want to attend Cassandra Lunch live every Wednesday at 12 PM EST, then you can register here now! Additionally, the playlist with all the previously recorded Cassandra Lunches is available here.
Cassandra.Link
Cassandra.Link is a knowledge base that we created for all things Apache Cassandra. Our goal with Cassandra.Link was to not only fill the gap of Planet Cassandra, but to bring the Cassandra community together. Feel free to reach out if you wish to collaborate with us on this project in any capacity.
We are a technology company that specializes in building business platforms. If you have any questions about the tools discussed in this post or about any of our services, feel free to send us an email!