oc cluster up命令找不到组件,例如指标,日志记录,服务目录

时间:2018-11-27 02:20:44

标签: kubernetes openshift openshift-origin

非常感谢您的提前帮助。我可以在本地virtualbox VM上运行多合一openshift origin v3.11。

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

在此文档之后,我了解到我能够安装其他组件,例如--metrics,-logging,-service-catalog,但是我试图将此参数附加到oc群集中,用法表示这些选项不可用,例如:

[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]#

当我附加--logging,--service-catalog时,同样也会失败。

请注意,如果删除该参数,则oc群集启动可以成功启动。我应该安装我错过的东西吗?

0 个答案:

没有答案