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

  • pblaas
    pblaas Posts: 2

    Problem is still there.

  • 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.

Categories

Upcoming Training