Bootstrap FreeKB - OpenShift - List etcd
OpenShift - List etcd

Updated:   |  OpenShift articles

If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.

The etcd resource stores information about the state of OpenShift resources. For example, etcd is the component that supports the oc get events output and also the status section of a deployment or pod YAML. etcd also makes it so that OpenShift can be restored if some part of OpenShift goes down, such as a node.

The oc get etcd (or just oc get sa) command can be used to list the etcd resource. There should be a single etcd resource named cluster.

~]$ oc get etcd
NAME      AGE
cluster   447d

 

The oc describe etcd command can be used to show more details of the etcd resource.

Name:         cluster
Namespace:    
Labels:       <none>
Annotations:  include.release.openshift.io/self-managed-high-availability: true
              release.openshift.io/create-only: true
API Version:  operator.openshift.io/v1
Kind:         Etcd
Spec:
  Log Level:         Normal
  Management State:  Managed
  Observed Config:
    Serving Info:
      Cipher Suites:
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
      Min TLS Version:           VersionTLS12
  Operator Log Level:            Normal
  Unsupported Config Overrides:  <nil>
Status:
  Conditions:
    Last Transition Time:            2022-09-21T13:47:43Z
    Reason:                          MembersReported
    Status:                          False
    Type:                            EtcdMembersControllerDegraded
    Last Transition Time:            2021-07-16T17:12:54Z
    Reason:                          NoUnsupportedConfigOverrides
    Status:                          True
    Type:                            UnsupportedConfigOverridesUpgradeable
    Last Transition Time:            2022-09-11T23:47:42Z
    Reason:                          EtcdEndpointsUpdated
    Status:                          False
    Type:                            EtcdEndpointsDegraded
    Last Transition Time:            2022-09-12T19:01:15Z
    Message:                         All master nodes are ready
    Reason:                          MasterNodesReady
    Status:                          False
    Type:                            NodeControllerDegraded
  Latest Available Revision:         10
  Latest Available Revision Reason:  
  Node Statuses:
    Current Revision:  10
    Node Name:         master-2
    Current Revision:  10
    Node Name:         master-0
    Current Revision:  10
    Node Name:         master-1
  Ready Replicas:      0
Events:                <none>

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 2c2743 in the box below so that we can be sure you are a human.