OpenShift Installation Validation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


<pre>
<pre>
oc get nodes
oc get nodes --show-labels
</pre>
</pre>


Line 18: Line 18:


<pre>
<pre>
NAME                        STATUS                    AGE
NAME                        STATUS                    AGE       LABELS
infranode1.rdu20.internal  Ready                      2h
infranode1.rdu20.internal  Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=infra,kubernetes.io/hostname=infranode1.rdu20.internal,logging-infra-fluentd=true,logging=true,region=infra,zone=us-east-1c
infranode2.rdu20.internal  Ready                      2h
infranode2.rdu20.internal  Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=infra,kubernetes.io/hostname=infranode2.rdu20.internal,logging-infra-fluentd=true,logging=true,region=infra,zone=us-east-1c
master1.rdu20.internal      Ready,SchedulingDisabled  2h
master1.rdu20.internal      Ready,SchedulingDisabled  4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master1.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
master2.rdu20.internal      Ready,SchedulingDisabled  2h
master2.rdu20.internal      Ready,SchedulingDisabled  4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master2.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
master3.rdu20.internal      Ready,SchedulingDisabled  2h
master3.rdu20.internal      Ready,SchedulingDisabled  4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master3.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
node1.rdu20.internal        Ready                      2h
node1.rdu20.internal        Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=app,kubernetes.io/hostname=node1.rdu20.internal,logging-infra-fluentd=true,logging=true,zone=us-east-1c
node2.rdu20.internal        Ready                      2h
node2.rdu20.internal        Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=app,kubernetes.io/hostname=node2.rdu20.internal,logging-infra-fluentd=true,logging=true,zone=us-east-1c</pre>
</pre>


=Web Console=
=Web Console=

Revision as of 18:16, 16 May 2017

External

Internal

On Masters

On each master node, run as root:

oc get nodes --show-labels

Output example:

NAME                        STATUS                     AGE       LABELS
infranode1.rdu20.internal   Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=infra,kubernetes.io/hostname=infranode1.rdu20.internal,logging-infra-fluentd=true,logging=true,region=infra,zone=us-east-1c
infranode2.rdu20.internal   Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=infra,kubernetes.io/hostname=infranode2.rdu20.internal,logging-infra-fluentd=true,logging=true,region=infra,zone=us-east-1c
master1.rdu20.internal      Ready,SchedulingDisabled   4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master1.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
master2.rdu20.internal      Ready,SchedulingDisabled   4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master2.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
master3.rdu20.internal      Ready,SchedulingDisabled   4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,kubernetes.io/hostname=master3.rdu20.internal,logging-infra-fluentd=true,logging=true,openshift_schedulable=False,zone=us-east-1c
node1.rdu20.internal        Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=app,kubernetes.io/hostname=node1.rdu20.internal,logging-infra-fluentd=true,logging=true,zone=us-east-1c
node2.rdu20.internal        Ready                      4h        beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,cluster=rdu20,env=app,kubernetes.io/hostname=node2.rdu20.internal,logging-infra-fluentd=true,logging=true,zone=us-east-1c

Web Console

https://loadbalancer.rdu20.example.opentlc.com

Use the administrative user defined as part of your "identity provider" declaration.

Verify etcd

etcd Cluster Health
etcd Member List