Hands-on task
This task is step 1 of the course “Kubernetes: manifests from Namespace to RBAC”
Namespace with a label
Prepare in /root/ns.yaml a Namespace staging with the label env: staging in metadata.labels. The skeleton is easy to generate with a kubectl command using --dry-run=client -o yaml, and the label can be added in the Editor tab — just like real manifest tweaking.
What you'll practise:
- kubernetes
- namespace
- labels
- kubectl
- yq