How to trigger the redeployment of pods for components such as Openshift kube-apiserver, kube-controller-manager, and kube-scheduler

Solution Verified - Updated -

Issue

  • The kube-apiserver pods are consistently in a crashloopbackoff state. What steps can be taken to recover the API server pods?

  • The kube-apiserver encounters failure when attempting to read the configmap file.

2020-05-01T16:24:00.621972349Z I0501 16:24:00.621921       1 audit.go:368] Using audit backend: ignoreErrors<log>
2020-05-01T16:24:00.622011449Z F0501 16:24:00.621970       1 config.go:56] Error reading from cloud configuration file /etc/kubernetes/static-pod-resources/configmaps/cloud-config/config: &os.PathError{Op:"open", Path:"/etc/kubernetes/static-pod-resources/configmaps/cloud-config/config", Err:0x2}

Environment

  • Red Hat Openshift Container Platform 4.x

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