Add deprecation notices related to PodAffinity's matchLabelKeys/mismatchLabelKeys#49602
Conversation
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
sanposhiho
left a comment
There was a problem hiding this comment.
You should:
- change this PR to only include the mention for PodAffinity.
- create another PR for PodTopologySpread for
dev-1.33branch so that this wouldn't be reflected onto the website until 1.33 is released.
|
/sig scheduling |
537caae to
14bd4e5
Compare
I've done.
I'll submit another PR for PodTopologySpread. |
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 827337839dc5abb8cbe2df30f1aace2982410acb |
|
I've changed |
|
/cc @sftim |
7550bfb to
aad1b7c
Compare
No LGTM yet. Happy for other reviews to happen. |
|
LGTM label has been added. DetailsGit tree hash: e422fbdfd1b9473ff6c20e9481cec35c7625dd0d |
|
/cc @sftim |
|
|
||
| {{< caution >}} | ||
| It's not recommended to use `matchLabelKeys` with labels that might be updated directly on pods. | ||
| Even if you edit the pod's label that is specified at `matchLabelKeys` **directly**, (that is, not via a deployment), |
There was a problem hiding this comment.
nit: Deployment should have a capital D; also, we have more than one API for workload management (eg StatefulSet is a thing).
|
|
||
| {{< caution >}} | ||
| It's not recommended to use `mismatchLabelKeys` with labels that might be updated directly on pods. | ||
| Even if you edit the pod's label that is specified at `mismatchLabelKeys` **directly**, (that is, not via a deployment), |
There was a problem hiding this comment.
nit: Deployment should have a capital D; also, we have more than one API for workload management (eg StatefulSet is a thing).
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Add deprecation notices related to PodAffinity's
matchLabelKeys/mismatchLabelKeys.related:
matchLabelKeysin PodTopologySpread should insert a labelSelector like PodAffinity'smatchLabelKeyskubernetes#129480 (comment)Special notes for your reviewer
This notification was found when we discussed about PodTopologySpread's
matchLabelKeys.(#129480)But the same can be applied to PodAffinity's
matchLabelKeys/mismatchLabelKeys.