Skip to content

Move oc deploy in oc rollout #9298

Closed
Closed

Description

@0xmichalis

#8927 adds support for rollout, the command used by Kubernetes to manage deployments. We need to move bits from oc deploy in rollout subcommands.

oc deploy --latest to oc rollout again
oc deploy --latest (as it should work) to oc rollout latest

If anybody can come up with more appropriate names, please do so.

Before we add those, I am going to create an /instantiate endpoint that can be used by both oc deploy --latest and the rollout subcommands (and every other client for that matter). Not sure if there is any benefit in waiting for this to be added upstream, it seems that pros outweight cons at this point for having it.

I still need to think about the rest. Both oc deploy --cancel and oc deploy --retry are OpenShift-specific at this point and we still need to add perm-failed (kubernetes/kubernetes#14519) upstream and then get back to those. --enable-triggers is OS-specific atm but will work for both too.

@fabianofranz @ironcladlou @mfojtik @smarterclayton

Activity

  1. self-assigned this
    on Jun 13, 2016
  2. added this to the 1.5.0 milestone on Oct 27, 2016
  3. 0xmichalis commented on Dec 6, 2016

    @0xmichalis
    ContributorAuthor

    Last pieces left here:

  4. mfojtik commented on Dec 7, 2016

    @mfojtik
    Contributor

    @Kargakis i will do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions