13.1 Checking the Status of an OUDSM Namespace
To check the status of objects in a namespace use the following
command:
kubectl --namespace <namespace> get nodes,pod,service,secret,pv,pvc,ingress -o wide
For
example:kubectl --namespace oudsmns get pod,service,secret,pv,pvc,ingress -o wide
The
output will look similar to the following:
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
pod/oudsm-1 1/1 Running 0 3d21h 10.244.0.173 <Worker Node> <none> <none>
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
service/oudsm-1 ClusterIP 10.96.102.147 <none> 7001/TCP,7002/TCP 3d21h app.kubernetes.io/instance=oudsm,app.kubernetes.io/name=oudsm,oudsm/instance=oudsm-1
service/oudsm-lbr ClusterIP 10.96.148.14 <none> 7001/TCP,7002/TCP 3d21h app.kubernetes.io/instance=oudsm,app.kubernetes.io/name=oudsm
NAME TYPE DATA AGE
secret/orclcred kubernetes.io/dockerconfigjson 1 4d17h
secret/oudsm-creds opaque 2 3d21h
secret/oudsm-tls-cert kubernetes.io/tls 2 3d21h
secret/sh.helm.release.v1.oudsm.v1 helm.sh/release.v1 1 3d21h