Skip to content

kubectl apply deployment -f doesn't accept label/selector changes #26202

@lavalamp

Description

@lavalamp

I got errors complaining about the selector and labels not matching even if I explicitly specified both. Showed @janetkuo.

Metadata

Metadata

Labels

area/app-lifecyclearea/declarative-configurationarea/kubectlkind/bugCategorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/appsCategorizes an issue or PR as relevant to SIG Apps.sig/cliCategorizes an issue or PR as relevant to SIG CLI.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions