oc cluster up command cannot find components such as metrics, logging, service-catalog

11/27/2018

Thanks a lot for your help in advance. I am able to run all-in-one openshift origin v3.11 on my local virtualbox VM.

https://github.com/openshift/origin/blob/release-3.11/docs/cluster_up_down.md

Followed by this document, I learned that I am able to install additional components such as --metrics, --logging, --service-catalog, but I am trying to append this argument in oc cluster up, the usage said these options are not available, such as:

[root@master openshift]# oc cluster up --metrics
Error: unknown flag: --metrics


Usage:
  oc cluster up [flags]

Examples:
  # Start OpenShift using a specific public host name
  oc cluster up --public-hostname=my.address.example.com

Options:
      --base-dir='': Directory on Docker host for cluster up configuration
      --enable=[*]: A list of components to enable.  '*' enables all on-by-default components, 'foo' enables the component named 'foo', '-foo' disables the component named 'foo'.
All components: automation-service-broker, centos-imagestreams, persistent-volumes, registry, rhel-imagestreams, router, sample-templates, service-catalog, template-service-broker, web-console
Disabled-by-default components: automation-service-broker, rhel-imagestreams, service-catalog, template-service-broker
      --forward-ports=false: Use Docker port-forwarding to communicate with origin container. Requires 'socat' locally.
      --http-proxy='': HTTP proxy to use for master and builds
      --https-proxy='': HTTPS proxy to use for master and builds
      --image='openshift/origin-${component}:${version}': Specify the images to use for OpenShift
      --no-proxy=[]: List of hosts or subnets for which a proxy should not be used
      --public-hostname='': Public hostname for OpenShift cluster
      --routing-suffix='': Default suffix for server routes
      --server-loglevel=0: Log level for OpenShift server
      --skip-registry-check=false: Skip Docker daemon registry check
      --write-config=false: Write the configuration files into host config dir

Use "oc options" for a list of global command-line options (applies to all commands).

[root@master openshift]#

The same also fail when I append --logging, --service-catalog.

Note that, if I remove the argument, oc cluster up can startup successful. Should I install something that I missed?

-- Terry Hu
kubernetes
openshift
openshift-origin

0 Answers