Feedback from trying to use the Kubernetes and Datastax Workshop on Ubuntu 20.04
Do let me know if this is any use
Section 1 Workshop Materials
1 Install Docker
Ubuntu doesn’t like yum
use https://linuxize.com/post/how-to-install-and-use-docker-on-ubuntu-20-04/
2 install Docker Compose
Ubuntu doesn’t like yum
3 install Kubernetes command line tool
The curl files work fine. You may need to install curl first sudo apt update
sudo apt install curl
4 Install watch
This already exists on Ubuntu Linux
5 Install kind
The curl files download works
6 Create a Kind Cluster
The URL in “As of now the Cassandra Operator needs a worker per node. We will create a Kubernetes cluster based on the following configuration 1 master, 5 workers “ is defective. It omits “setup-your-cluster”
You need to download all the directories from the setup your cluster and install them below the directory you are operating from
The rest of 6 works OK
7 Create namespace and storageClass
Works as described
Section 2 Deploy a Cassandra Cluster with cass-operator
1 Install Cass Operator
Works as described
2 Create a single node cluster
Works as described
3 Browse your cluster
Works as described
4 Scale up our cluster
Skip from here as far as 4d as memory limitations will kill your machine
skip as far as Executing the command to login to a pod.
5 Executing CQL
This works as far as step “change the replication factor of killrvideo1
Change the replication factor of killrvideo and changing the consistency level caused the cql to return an error HOST NOT FOUND
6 Change the Cassandra configuration
Don’t upgrade to three clusters. It will kill your machine
Section 3 Metrics Management Visualisation
1 Clean up cluster defined in previous sections
Works as described
2 Install Operator Lifecycle Manager (OLM)
Works as described
3 Install Prometheus Operator
Works as described
4 Install Grafana Operator
Works as described
5 Start DSE Cluster
Works as described
6 Browse DSE Cluster
Works as far as Enter the Node and Show status
dsetool status dies.
kubectl -n cass-operator exec -it cluster2-dc2-default-sts-0 -- /bin/bash
- Defaulting container name to cassandra.
Use 'kubectl describe pod/cluster2-dc2-default-sts-0 -n cass-operator' to see all of the containers in this pod.
dse@cluster2-dc2-default-sts-0:~$ dsetool status
Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused (Connection refused)
7 Blow your mind
Not attempted.
8 Stop and clean up
Works as described.
You may need to restart your machine to clear any stray connections.