You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
openshift ex registry and similar should enable easy updating #1175
Should someone make a mistake, like say not adding the right --images when creating the infrastructure component, it should be easy and obvious how to back that out.
Right now, for the registry, it means deleting the DC, the service, and the pod, and then restarting the master to clear the service cache if you tried to use it at any point before realizing your mistake. This is far from obvious to the uninitiated. It should at least be possible to display what was created so the user can figure it out for themself. Better if there is a --delete or --recreate option (which also handles the service cache).
Of course, if it were possible to recreate without deleting the service, it wouldn't be necessary to clear that cache.
Forgot to mention, ImageRepositories get the docker-registry service inserted as the default as well. So definitely best to re-create while keeping the same service.
It should be trivially easy to edit a dc from the cli. That's the real problem here. We should show more info about what you are creating (types as part of the output) and allow the normal "it exists" to tell you how to change them. Once config reconciliation is possible, we should allow that to be applied.
changed the title [-]`openshift ex registry` and similar should enable easy delete and recreate[/-][+]`openshift ex registry` and similar should enable easy updating[/+]on Mar 2, 2015
At worst, this can be a docs-only fix, where we describe what osadm registry creates and how to edit it. Better would maybe be an --edit flag to osadm registry or something along those lines. @smarterclayton@danmcp any preference?
Yes, set commands would handle individual fields, patch and apply need
to be improved (actually, can you look at why apply is broken on the
output of oadm registry -o yaml?)Z
actually, can you look at why apply is broken on the output of oadm registry -o yaml?
We need to cherry-pick kubernetes/kubernetes#20948. I just tested it in Kube (working), cherry-picked and tested in Origin (working), and will submit a PR shortly.
And we also have paused now, so we will be able to run updates more efficiently.
For example, for securing the docker registry, we currently run 4 deployments. We should run one instead:
@JacobTanenbaum all the required commands except oc set resources are in master. Handing this issue to you until the command you are working on (kubernetes/kubernetes#27206) is picked up in Origin.
Activity
derekwaynecarr commentedon Feb 26, 2015
+1 - I ran into this many times over the past week.
sosiouxme commentedon Feb 27, 2015
Forgot to mention, ImageRepositories get the docker-registry service inserted as the default as well. So definitely best to re-create while keeping the same service.
smarterclayton commentedon Feb 28, 2015
It should be trivially easy to edit a dc from the cli. That's the real problem here. We should show more info about what you are creating (types as part of the output) and allow the normal "it exists" to tell you how to change them. Once config reconciliation is possible, we should allow that to be applied.
sosiouxme commentedon Mar 2, 2015
Good point; regardless of what mechanism gets us to the desired state, updating is what we really want.
[-]`openshift ex registry` and similar should enable easy delete and recreate[/-][+]`openshift ex registry` and similar should enable easy updating[/+]smarterclayton commentedon Mar 9, 2015
As a side node I think we should invert --create and make it the default, with --dry-run or --check being the optional behavior.
ncdc commentedon May 18, 2015
At worst, this can be a docs-only fix, where we describe what
osadm registrycreates and how to edit it. Better would maybe be an--editflag toosadm registryor something along those lines. @smarterclayton @danmcp any preference?smarterclayton commentedon May 18, 2015
Post 3.0
6 remaining items
smarterclayton commentedon Mar 1, 2016
0xmichalis commentedon Mar 2, 2016
We need to cherry-pick kubernetes/kubernetes#20948. I just tested it in Kube (working), cherry-picked and tested in Origin (working), and will submit a PR shortly.
0xmichalis commentedon Apr 4, 2016
patchandapplywork, and we have oc set {triggers,env,volume,probe} for updating a dcSo to summarize what's left here:
smarterclayton commentedon Apr 4, 2016
oc rollout image is probably the alternate for oc set image.
I'm not aware of others.
On Mon, Apr 4, 2016 at 12:51 PM, Michail Kargakis [email protected]
wrote:
0xmichalis commentedon Jun 12, 2016
kubernetes/kubernetes#25509
#9187
kubernetes/kubernetes#27206
0xmichalis commentedon Jun 12, 2016
And we also have paused now, so we will be able to run updates more efficiently.
For example, for securing the docker registry, we currently run 4 deployments. We should run one instead:
https://docs.openshift.org/latest/install_config/install/docker_registry.html#securing-the-registry
0xmichalis commentedon Jul 15, 2016
@JacobTanenbaum all the required commands except
oc set resourcesare in master. Handing this issue to you until the command you are working on (kubernetes/kubernetes#27206) is picked up in Origin.pweil- commentedon Jun 26, 2017
oc set resourcesis in now, closingSquashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
remove TPRs from Jenkins e2e pipeline (openshift#1175)