-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(kubernetes_platform): Update kubernetes_platform go package to include pod labels and annotations #10357
Conversation
/retest |
/test kfp-kubernetes-execution-tests |
/test kfp-kubernetes-execution-tests |
Hi @connor-mccarthy, I'm not sure what caused the execution-tests to fail. The PR is intended to add the syntax and proto definition for pod labels and annotations. It won't impact the existing tests. |
@Tomcli, the |
Thanks @connor-mccarthy, feel free to let me know any syntax you want me to change in this PR. We want to start adding some common kubernetes pod configurations because we see a big demand from the community and from our users. |
Hi @connor-mccarthy, the backend changes actually depended on the go package changes in this PR. Because the go.mod is using an external version of the kubernetes_platform package, we will have to update the go.mod to use local module if we want to also include the backend changes in this PR. Line 34 in 55db6f5
|
@Tomcli, can we split out the |
05359f2
to
d094cf7
Compare
e pod metadata
d094cf7
to
1b5b0af
Compare
@connor-mccarthy I updated the PR to only include the proto file and go package changes. I will update the backend in my next PR and then update the SDK afterward. |
@Tomcli: The following test failed, say
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. I understand the commands that are listed here. |
@connor-mccarthy Is there anything you want me to change in this PR? I also have the backend changes ready if you want to see why we need to update the kubernetes_platform package. |
Happy to contribute to this initiative and the follow-up PRs since this feature and toleration support are a requirement for us to migrate to v2. |
Thanks @droctothorpe, if you could help on implementing the toleration support that would be awesome. My plan is to add image pull secret and policy next. It seems like this is the flow to add these features:
|
Sounds good. Down to take a stab at the tolerations implementation. Will follow the flow that you outlined. Makes a ton of sense to break it up into small, discrete PRs. |
/lgtm FYI, we're in the process of migrating all of the Pipelines SDKs ( |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: connor-mccarthy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
That make sense to me. Thank you @connor-mccarthy for the context. |
…nclude pod labels and annotations (kubeflow#10357) e pod metadata
…nclude pod labels and annotations (kubeflow#10357) e pod metadata
…nclude pod labels and annotations (kubeflow#10357) e pod metadata
Description of your changes:
Part of #9714 and #9768 and #10363
Update kubernetes_platform go package to include pod labels and annotations. Once this is ready, I will also update the backend driver, compiler, and SDK with this new feature.
Checklist: