From e05cf1a40270429967791ec4c34ea06065ed818c Mon Sep 17 00:00:00 2001 From: xavor Date: Wed, 23 Jul 2025 10:07:30 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20Clusterkey.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clusterkey.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Clusterkey.txt diff --git a/Clusterkey.txt b/Clusterkey.txt new file mode 100644 index 0000000..dc22fe1 --- /dev/null +++ b/Clusterkey.txt @@ -0,0 +1,20 @@ +Your Kubernetes control-plane has initialized successfully! + +To start using your cluster, you need to run the following as a regular user: + + mkdir -p $HOME/.kube + sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config + sudo chown $(id -u):$(id -g) $HOME/.kube/config + +Alternatively, if you are the root user, you can run: + + export KUBECONFIG=/etc/kubernetes/admin.conf + +You should now deploy a pod network to the cluster. +Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at: + https://kubernetes.io/docs/concepts/cluster-administration/addons/ + +Then you can join any number of worker nodes by running the following on each as root: + +kubeadm join 192.168.4.1:6443 --token schru5.x8r6hfjye1oifkzv \ + --discovery-token-ca-cert-hash sha256:eb7cfc30a89635b986111641eb6c6ae8767e5bd510be75b45bdac976e5f05959