Welcome to the Linux Foundation Forum!

Lab 6.1 kubectl get secrets No resources found in default namespace.

In Lab 6.1 I run :
$ kubectl get secrets --all-namespaces
and get output of:
No resources found in default namespace

Is there a missing step? I have no tokens!
Help!

Comments

  • fazlur.khan
    fazlur.khan Posts: 31

    Hello @dicalleson

    In the updated lab (2/28/2023) we have added the step 6.2 which generates the token

    export token=$(kubectl create token default)

    Please verify.

    thanks,
    Fazlur

Categories

Upcoming Training