Welcome to the Linux Foundation Forum!

PV with a namespace in Exercise 9.4

Exercise 9.4 creates a PV under a namespace:
kubectl -n small create -f PVol.yaml
This does not have any namespace effect, as I understand PVs are wide objects that cannot be linked to a NS. And indeed, the PV is listed without the need of the -n option

Why is this PV created this way?

Comments

  • Posts: 2,436

    Hi @ilmx,

    You are correct, the PV object is not bound to a namespace. I would expect this to be a possible typo as a result of copy/paste.

    Regards,
    -Chris

  • Posts: 18

    Thanks!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training