OpenShift :: how to skip the application from starting when using "oc new-app"

455 Views Asked by At

I am using openshift command oc new-app <git-url> [OPTIONS..] to add a new application into the openshift project.

As part of the process, it creates :

  • build config & starts the build
  • image stream
  • replication controller
  • deploy config & deploys the application

I do not intend to deploy the application instantly.

Is there a way to skip application from starting up a pod in Openshift, similar to cf push --no-start (in PCF)

1

There are 1 best solutions below

0
On

If you only want to build the app but not deploy it, why not consider using oc new-build, see also the docs or have a look at this example.