Welcome to the Linux Foundation Forum!

Exercise 4.1 2: Log into the etcd container and look at the options etcdctl provides (Error)

[email protected]:~$ kubectl -n kube-system exec -it etcd-master -- sh
error: unable to upgrade connection: pod does not exist

Running on GPC

Answers

  • jperret
    jperret Posts: 3

    Solution: **Reset your worker **
    [email protected]:~# kubeadm reset

    Then join (worker) node see:
    Exercise 3.2: Grow the Cluster steps 1 - 8.

    [email protected]:~$ kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    k8scp Ready control-plane,master 20m v1.21.1
    worker Ready 11s v1.21.1

    [email protected]:~$ kubectl -n kube-system exec -it etcd-k8scp -- sh
    sh-5.0#

Categories

Upcoming Training