Kubernetes - Labels and Selectors
How would you select pods that have label 'version' set to either 'v1' or 'v2' but exclude those with label 'env' equal to 'test'?
version in (v1, v2) selects pods with version 'v1' or 'v2'.env notin (test) excludes pods where env equals 'test'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions