Welcome to the Linux Foundation Forum!

Lab 8.1 Create a config map Step 5

Execution of command in step 5 "kubectl exec shell-demo -- /bin/bash -c 'echo $ilike'" Creates error "error: unable to upgrade connection: container not found ("nginx")"

What needs to happen that was not a part of the instructions?

Answers

  • Posts: 2,451

    Hi @mabricker,

    The expectation is that the shell-demo pod is running prior to a successful kubectl exec command.

    After running kubectl create -f simpleshell.yaml, does a kubectl get pod shell-demo list the pod in a Running state? If not, what are the "Events" showing after kubectl describe pod shell-demo ?

    Regards,
    -Chris

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