Welcome to the Linux Foundation Forum!

Lab exercise 16.2 cannot be completed due to a potentially missing step

nitibhatt
nitibhatt Posts: 3
edited February 2018 in LFS258 Class Forum

 While doing lab exercise 16.2 (Authentication and authorization),  the below step fails even after creating a Role and Role binding

kubectl --context=DevDan-context get pods

Error from server (Forbidden): pods is forbidden: User "DevDan"

cannot list pods in the namespace "development"

Any clues?

 

Thanks,

Niti

Comments

  • serewicz
    serewicz Posts: 1,000
    Which step are you on?





    Hello,

    If you are on step 9, as the directions note, you shoud expect an error.  If you have continued on to step 12 and 14 and continue to receive the same error then check that there are no typos in the role-dev.yaml or rolebind.yaml file. After creating each object you should be able to run a get and describe against each and see the expected details, then I would verify that step 5 and 6 ran without error. 

    I have just run each step from 1 to 15 and they behaved as the book suggests.   I am unsure of the issue, but would guess it has to do with YAML.

    Regards,





Categories

Upcoming Training