Welcome to the Linux Foundation Forum!

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

student@k8scp:~$ kubectl -n kube-system exec -it etcd-master -- sh
error: unable to upgrade connection: pod does not exist

Running on GPC

Answers

  • Posts: 3

    Solution: **Reset your worker **
    root@worker:~# kubeadm reset

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

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

    student@k8scp:~$ kubectl -n kube-system exec -it etcd-k8scp -- sh
    sh-5.0#

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training