I am using kubectl
(Not rancher kubectl
) to set up some automated tests for our clusters, using some come of my own custom .yaml as well as some tests that I found in the Kubernetes community.
For organizational purposes, I’d like to keep these automated tests all within a single Rancher Project. From the kubectl
perspective, what’s the best way to get projects assigned to a specific Rancher Project? Should I be using annotations such as the following?
kubectl annotate ns/aggregators field.cattle.io/projectName=clusterId:MyProject