-
Notifications
You must be signed in to change notification settings - Fork 188
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 HA and deployment override configuration #1333
Conversation
Hi @yuzp1996. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add HA configuration replicas TektonConfig. Add deploymet override configuration for TektonConfig, for example resource env and args override. Modify the logic of computeDeploymentHash by deleting the logic of ignoring replicas. Signed-off-by: yuzhipeng <zpyu@alauda.io>
Env []corev1.EnvVar `json:"env,omitempty"` | ||
// Args represent the args will append to the existing args | ||
// +optional | ||
Args []string `json:"args,omitempty"` |
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.
IMO, I prefer to add it under CommonSpec
or something similar struct, with all these values and keep it under specific resource(pipeline
, dashboard
, etc...),
Keeping it away from resource and referring by name, may lead configuration typo issues (naming, etc.,) and may not be user friendly.
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.
Sounds good! I will split args setting to other PR to make sure only resource setting remains here.
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.
@yuzp1996 I meant to move everything under a specific resource (pipeline
, dashboard
, etc...), including HighAvailability
, DeploymentOverride
, ContainerOverride
@vdemeester @piyush-garg WDYT?
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.
@jkandasa @vdemeester @piyush-garg Looks like I should start by describing how I will accomplish HA in TEP. I'll keep contributing to this PR when we reach an agreement at TEP.
Do you have any advice now? 😄
@yuzp1996: PR needs rebase. 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. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Add HA configuration replicas for tektonPipeline.
Add deploymet override configuration for tektonPipeline components for example resource env and args override.
related issue: #1293
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lint
before submitting a PRSee the contribution guide for more details.
Release Notes