-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Implement oc set route-backend and A/B to describers / printers #10551
Conversation
[test] |
oc set route-backends foo a=10 b=20 c=0 Adds describer and printer support for router.
a630056
to
1aac6c3
Compare
Evaluated for origin test up to 1aac6c3 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8286/) |
[merge] @jwforres / @fabianofranz if you can do a retroactive - we'll consider this experimental / new |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8288/) (Image: devenv-rhel7_4888) |
Evaluated for origin merge up to 1aac6c3 |
return UpdateBackendsForObject(info.Object, o.Transform.Apply) | ||
}) | ||
if singular && len(patches) == 0 { | ||
return fmt.Errorf("%s/%s is not a deployment config or build config", infos[0].Mapping.Resource, infos[0].Name) |
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.
cp error?
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.
Follow up
|
Adds describer and printer support for router.
Primary use cases for set route-backend:
oc set route-backends foo a=N b=N c=N
oc set route-backends foo --adjust a=+10%
oc set route-backends foo --equal
oc set route-backends foo --zero