Cluster not accessible after keeping it down for prolonged period #2090
Unanswered
vaibhavdhingra
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It's expected behaviour for you to verify and approve the certificate signing requests as mentioned in the docs during an extended period of downtime. The next best thing you can do is script a command to run when your cluster is online e.g. oc get csr -o go-template='{{range .items}}{{if not .status}}{{.metadata.name}}{{"\n"}}{{end}}{{end}}' | xargs --no-run-if-empty oc adm certificate approve |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, we observed an unusual behaviour with Okd 4.15 clusters: if the cluster is kept down for a prolonged period (e.g., more than 30 days), causing problems when nodes try to rejoin the cluster.
Later on we have identified that CSRs are pending to approve.
Any solution available to auto approved the pending CSRs when we start the cluster?
Beta Was this translation helpful? Give feedback.
All reactions