openshift ansibe 自动部署后,oc cluster status 查看发现是not running

如题,oc cluster up 是all-in-one的部署使用的。ansible自动部署成功后,不需要用oc cluster status查看。总感觉这样有些矛盾。

[root@master001 ~]# oc cluster -h
Manage a local OpenShift cluster

The OpenShift cluster will run as an all-in-one container on a Docker host. The Docker host may be a local VM (ie. using
docker-machine on OS X and Windows clients), remote machine, or the local Unix host.

Use the 'up' command to start a new cluster on a docker host.

To use an existing Docker connection, ensure that Docker commands are working and that you can create new containers.

Default routes are setup using nip.io and the host ip of your cluster. To use a different routing suffix, use the
--routing-suffix flag.

Usage:
  oc cluster ACTION [flags]

Available Commands:
  add         Add components to an 'oc cluster up' cluster
  down        Stop OpenShift on Docker
  status      Show OpenShift on Docker status
  up          Start OpenShift on Docker with reasonable defaults

Use "oc --help" for more information about a given command.
Use "oc options" for a list of global command-line options (applies to all commands).

 

参考链接https://github.com/openshift/origin/issues/17851

你可能感兴趣的:(虚拟化)