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

[add] affinity field to istiod #47639

Merged
merged 3 commits into from
Oct 31, 2023
Merged

Conversation

ymktmk
Copy link
Contributor

@ymktmk ymktmk commented Oct 30, 2023

Please provide a description of this PR:

This is an addition to helm Chart's value.yaml !
Even though the affinity field is actually provided, there was no field of it in values.yaml, so I added it.

https://github.com/istio/istio/blob/master/manifests/charts/istio-control/istio-discovery/templates/deployment.yaml#L65~L68

@google-cla
Copy link

google-cla bot commented Oct 30, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@istio-testing istio-testing added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test labels Oct 30, 2023
@istio-testing
Copy link
Collaborator

Hi @ymktmk. Thanks for your PR.

I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

Copy link
Member

@morvencao morvencao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ok-to-test

@istio-testing istio-testing added ok-to-test Set this label allow normal testing to take place for a PR not submitted by an Istio org member. and removed needs-ok-to-test labels Oct 30, 2023
@ymktmk ymktmk requested a review from morvencao October 30, 2023 16:02
@jacob-delgado
Copy link
Contributor

Since this existed in the chart this LGTM, but please add a release note.

@istio-testing istio-testing added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 31, 2023
Co-authored-by: zirain <zirain2009@gmail.com>
@@ -32,6 +32,8 @@ pilot:

env: {}

affinity: {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think tolerations were added alongside affinity, and neither was updated in the IstioOperator file. Should we add that as well?

{{- with .Values.pilot.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}

Copy link
Contributor Author

@ymktmk ymktmk Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add tolerations: [] in manifests/charts/istio-control/istio-discovery/values.yaml file ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd open another PR for that.

@ymktmk ymktmk requested a review from hanxiaop October 31, 2023 12:07
@istio-testing istio-testing merged commit 6cfce2f into istio:master Oct 31, 2023
1 check passed
ymktmk added a commit to ymktmk/istio that referenced this pull request Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Set this label allow normal testing to take place for a PR not submitted by an Istio org member. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants