Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:
root@k8s-eu-1-master:~# kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3
Cloud being used: (put bare-metal if not on a public cloud) : bare-metal
Installation method: followed these steps: How to Install Kubernetes Cluster on Ubuntu 22.04
Host OS:
Ubuntu 22.04
CNI and version:
root@k8s-eu-1-master:~# ls /etc/cni/net.d
10-calico.conflist calico-kubeconfig
CRI and version:
root@k8s-eu-1-master:~# containerd version
INFO[2023-10-31T11:26:54.962841985+01:00] starting containerd
revision=61f9fd88f79f081d64d6fa3bb1a0dc71ec870523 version=1.6.24
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
I’ve been told my k8ssandra
people that the following errors are related to kubernetes
What do I have to do to detect, and solve, the issue?
kind
seems working fine:
root@k8s-eu-1-master:~# kind create cluster
Creating cluster "kind" ...
✓ Ensuring node image (kindest/node:v1.27.3) 🖼
✓ Preparing nodes 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:
kubectl cluster-info --context kind-kind
root@k8s-eu-1-master:~# kubectl cluster-info --context kind-kind
Kubernetes control plane is running at https://127.0.0.1:41237
CoreDNS is running at https://127.0.0.1:41237/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
root@k8s-eu-1-master:~# kind get clusters
kind
But I’m getting these errors :
root@k8s-eu-1-master:~/go/bin/k8ssandra-operator# scripts/setup-kind-multicluster.sh --clusters 1 --kind-worker-nodes 5
Creating 1 clusters...
Creating cluster 1 out of 1
Creating cluster "k8ssandra-0" ...
✓ Ensuring node image (kindest/node:v1.25.3) 🖼
✓ Preparing nodes 📦 📦 📦 📦 📦 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
✗ Joining worker nodes 🚜
Deleted nodes: ["k8ssandra-0-worker" "k8ssandra-0-worker3" "k8ssandra-0-worker5" "k8ssandra-0-control-plane" "k8ssandra-0-worker2" "k8ssandra-0-worker4"]
ERROR: failed to create cluster: failed to join node with kubeadm: command "docker exec --privileged k8ssandra-0-worker5 kubeadm join --config /kind/kubeadm.conf --skip-phases=preflight --v=6" failed with error: exit status 1
This is the complete log:
This is the ouput of cluster-info dump :
What should I do in order to detect and solve the root cause of the problem?