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

config(apps/jenkins): default agent pod add nodeSelector #652

Closed
wants to merge 1 commit into from

Conversation

purelind
Copy link
Contributor

default agent pod add nodeSelector.

@ti-chi-bot ti-chi-bot bot requested review from jayl1e and wuhuizuo July 24, 2023 09:30
@purelind
Copy link
Contributor Author

/hold

@wuhuizuo
Copy link
Collaborator

/lgtm

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Jul 25, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-07-25 13:11:03.378244472 +0000 UTC m=+273605.972775445: ☑️ agreed by wuhuizuo.

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Jul 25, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wuhuizuo

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jul 25, 2023
@wuhuizuo
Copy link
Collaborator

/review default

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Jul 25, 2023

@wuhuizuo:

I have already done a preliminary review for you, and I hope to help you do a better job.
From the pull request, the key change is that a nodeSelector has been added to the default agent pod configuration in the values-agent.yaml file.

A potential problem with this change is that the nodeSelector value has been hardcoded to "kubernetes.io/arch=amd64". If this is not the desired value for the nodeSelector, then it would need to be updated in the code. Additionally, if the nodeSelector value needs to be changed in the future, the code would need to be modified and another pull request created.

A possible fix for this would be to add the nodeSelector value as a configurable option, either through a configuration file or environment variable. This would allow for more flexibility and easier updates in the future.

Overall, the change seems reasonable and the code looks good. However, it would be helpful to have more information in the pull request description about why this change was made and any potential impact it may have.

In response to this:

/review default

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.

@purelind purelind closed this Aug 8, 2023
@wuhuizuo wuhuizuo deleted the purelind-patch-1 branch November 24, 2023 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants