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

  • chrispokorni
    chrispokorni Posts: 1,658

    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

Categories

Upcoming Training