Welcome to the Linux Foundation Forum!

Lab 8.1. Create a ConfigMap

I am applying this command but I get this error:

kubectl exec shell-demo -- /bin/bash -c 'echo $ilike'

Error from server (BadRequest): pod shell-demo does not have a host assigned

could to help me on it?

thanks!

Comments

  • Posts: 2,449

    Hi @eporart,

    What is the status of the shell-demo pod? What is the output of the kubectl get pod -o wide command and what events are shown by the kubectl describe pod shell-demo command?

    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