-
Notifications
You must be signed in to change notification settings - Fork 245
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
KFLUXINFRA-802: Adding Node Selector and Tolerations in TektonConfig #4415
KFLUXINFRA-802: Adding Node Selector and Tolerations in TektonConfig #4415
Conversation
Skipping CI for Draft Pull Request. |
/test all |
@manish-jangra: No jobs can be run with
The following commands are available to trigger optional jobs:
In response to this:
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-sigs/prow repository. |
@manish-jangra Adding kustomization patches in the per cluster resources directory is good if you want to test on a single cluster or if you want to have different values on each cluster. If you have the same values per cluster type (stage/prod) or for all clusters, the way to do it if add it just once per environment, development (used by the CI and developer) https://github.com/redhat-appstudio/infra-deployments/blob/main/components/pipeline-service/development/main-pipeline-service-configuration.yaml#L1478 , staging https://github.com/redhat-appstudio/infra-deployments/blob/main/components/pipeline-service/staging/base/main-pipeline-service-configuration.yaml#L1294 and production https://github.com/redhat-appstudio/infra-deployments/blob/main/components/pipeline-service/production/base/main-pipeline-service-configuration.yaml#L1445. Once you add your changes, you use the generate script to update the deploy.yaml files for all staging and production clusters. |
I agree with @enarha lets right the nodeselector in one place and patch it the deployconfigs for other clusters. so that we dont repeat the same codes. |
997a042
to
517d2f5
Compare
@enarha I have made the changes as suggested. Please review, It should be good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hugares, manish-jangra 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 |
@manish-jangra The changes to staging and production are good. Please add the change to the development environment as well (https://github.com/redhat-appstudio/infra-deployments/blob/main/components/pipeline-service/development/main-pipeline-service-configuration.yaml#L1478). This is what the Konflux CI and manual deployments use and we want to keep it as close as possible to prod/stage, even if the change does not have real impact. There is no need to run the generate script on development change. Once done, the change is good to be merged IMO. |
517d2f5
to
302dc48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Adding Node Selector and Tolerations in TektonConfig to make use of the default pod template for the PipelineRuns and TaskRuns.
Related Pull Request for Stage Member Cluster (m01) -