"kube-apiserver" is restarting unexpectedly in RHOCP 4

Solution Verified - Updated -

Issue

  • Weekly, we experience random restarts of the kube-apiserver Pods.
  • Master Components restart and the following event can be seen in the logs of the kube-apiserver-operator:

    2020-09-15T10:05:41.898643511Z I0915 10:05:41.898594       1 event.go:278] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-kube-apiserver-operator", Name:"kube-apiserver-operator", UID:"58d40d83-ca5b-4029-b82a-fce2e96cad40", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'EncryptionKeyCreated' Secret "encryption-key-openshift-kube-apiserver-7" successfully created: ["rotation-interval-has-passed"]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

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