etcd pod's state is in completed state.

Solution Verified - Updated -

Issue

  • While running the following command the etcd pod's status show's a Completed state:
oc get po -n kube-system -o custom-columns=NAME:.metadata.name,exitCode:.status.containerStatuses[0].lastState.terminated.exitCode,finishedAt:.status.containerStatuses[0].lastState.terminated.finishedAt,reason:.status.containerStatuses[0].lastState.terminated.reason,startedAt:.status.containerStatuses[0].lastState.terminated.startedAt,restartCount:.status.containerStatuses[0].restartCount,ready:.status.containerStatuses[0].ready,Namespace:.metadata.namespace -l openshift.io/component=etcd

NAME                          exitCode   finishedAt             reason      startedAt              restartCount   ready     Namespace
master-etcd-pod-xxxxxxx       0          2020-03-06T23:01:00Z   Completed   2020-03-06T17:59:42Z   59             true      kube-system

Environment

  • Red Hat OpenShift Container Platform
    • 3.11.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content