Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto pod template hash on deployment, daemon set, job's selector #80013

Open
PualrDwade opened this issue Jul 11, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@PualrDwade
Copy link

commented Jul 11, 2019

What would you like to be added:
auto pod template hash on deployment, daemon set, job's selector,so that developers can find specific pods through their selectors, and can effectively avoid label conflicts.
Why is this needed:
I'm currently developing a CRD-based controller, and I'll get the selector of the controller to match the pods I need to manage, but since they don't provide the hash value of the pod template (pod-template-hash), I may mismatch pods that shouldn't be managed, that is to say, it can easily lead to label conflicts.

@k8s-ci-robot

This comment has been minimized.

Copy link
Contributor

commented Jul 11, 2019

@PualrDwade: There are no sig labels on this issue. Please add a sig label by either:

  1. mentioning a sig: @kubernetes/sig-<group-name>-<group-suffix>
    e.g., @kubernetes/sig-contributor-experience-<group-suffix> to notify the contributor experience sig, OR

  2. specifying the label manually: /sig <group-name>
    e.g., /sig scalability to apply the sig/scalability label

Note: Method 1 will trigger an email to the group. See the group list.
The <group-suffix> in method 1 has to be replaced with one of these: bugs, feature-requests, pr-reviews, test-failures, proposals.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.