Welcome to the Linux Foundation Forum!

Lab 6.1 Errata

NetworkPolicy object defined in question 11 is missing the appropriate namespace designation, and does not allow traffic to the example pod as the lab seems to be meant to demonstrate.

Comments

  • serewicz
    serewicz Posts: 1,000

    Hello,

    Thanks for the feedback. I will check on it. I have another update in the works and will update as soon as I can.

    Regards,

  • pblaas
    pblaas Posts: 2

    Problem is still there.

  • serewicz
    serewicz Posts: 1,000

    Hello,

    I will revisit. I will check to see if I am doing anything unconsciously that is not included in the course, as it worked for me. Thank you for letting me know.

    Regards,

  • craig.jones
    craig.jones Posts: 4
    edited October 2021

    The issue here is that there's a switch from specifying the namespace in the objects YAML definition, to specifying it on the command line. In all other examples though the namespace is given in the objects metadata. Both accomplish the same thing in terms of object creation, so it's unclear why there's a change in style just for this command?

    $ kubectl -n <namespace> create -f <manifest>.yaml

  • @pblaas you must execute allow-internet.yaml in the prod-a namespace.

  • serewicz
    serewicz Posts: 1,000

    I am in the process of reworking the section. The new version which should be available soon hopefully will remove the confusion.

    Regards,

Categories

Upcoming Training