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

feat: Support instance ids for rollout controller segregation #342

Merged
merged 2 commits into from
Jan 7, 2020

Conversation

dthomson25
Copy link
Member

@dthomson25 dthomson25 commented Jan 3, 2020

Closes #304

Adds a new flag to the controller called --instance-id. This flag indicates that the controller should only operate on Argo Rollout objects that have that label argo-rollouts.argoproj.io/controller-instance-id with the same value passed into the flag. If the flag is not listed, the controller operates on any Argo Rollout object that does not have the argo-rollouts.argoproj.io/controller-instance-id label.

@dthomson25 dthomson25 changed the title Support instance ids for rollout controller segregation feature: Support instance ids for rollout controller segregation Jan 3, 2020
@dthomson25 dthomson25 changed the title feature: Support instance ids for rollout controller segregation feat: Support instance ids for rollout controller segregation Jan 3, 2020
@codecov
Copy link

codecov bot commented Jan 3, 2020

Codecov Report

Merging #342 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
+ Coverage   84.04%   84.14%   +0.09%     
==========================================
  Files          66       66              
  Lines        6055     6092      +37     
==========================================
+ Hits         5089     5126      +37     
  Misses        689      689              
  Partials      277      277
Impacted Files Coverage Δ
utils/analysis/helpers.go 93.1% <100%> (+0.58%) ⬆️
utils/controller/controller.go 95.29% <100%> (+0.62%) ⬆️
rollout/analysis.go 87.5% <100%> (+0.16%) ⬆️
rollout/experiment.go 86.82% <100%> (+0.24%) ⬆️
experiments/experiment.go 93.18% <100%> (+0.07%) ⬆️
utils/analysis/factory.go 100% <100%> (ø) ⬆️
pkg/kubectl-argo-rollouts/cmd/create/create.go 71.73% <100%> (+0.62%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7dfa6bb...48e904d. Read the comment docs.

@dthomson25 dthomson25 force-pushed the instance-id branch 2 times, most recently from 36bfadf to 0946b2b Compare January 3, 2020 19:17
@dthomson25 dthomson25 merged commit 0866322 into master Jan 7, 2020
@dthomson25 dthomson25 deleted the instance-id branch January 7, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support instance ids for rollout controller segregation
2 participants