Skip to content

Commit f69511f

Browse files
author
Bob Furu
authored
Merge pull request #37019 from chinmayi-chandrasekar/BZ2005187_CSR_authenication_procedure
2 parents 44c4f8d + b86a84c commit f69511f

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

modules/dr-restoring-cluster-state.adoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,50 @@ static-pod-resources/kube-scheduler-pod-8/kube-scheduler-pod.yaml
145145

146146
.. Repeat this step on all other control plane hosts.
147147

148+
. Approve the pending CSRs:
149+
150+
.. Get the list of current CSRs:
151+
+
152+
[source,terminal]
153+
----
154+
$ oc get csr
155+
----
156+
+
157+
.Example output
158+
----
159+
NAME AGE SIGNERNAME REQUESTOR CONDITION
160+
csr-2s94x 8m3s kubernetes.io/kubelet-serving system:node:<node_name> Pending <1>
161+
csr-4bd6t 8m3s kubernetes.io/kubelet-serving system:node:<node_name> Pending <1>
162+
csr-4hl85 13m kubernetes.io/kube-apiserver-client-kubelet system:serviceaccount:openshift-machine-config-operator:node-bootstrapper Pending <2>
163+
csr-zhhhp 3m8s kubernetes.io/kube-apiserver-client-kubelet system:serviceaccount:openshift-machine-config-operator:node-bootstrapper Pending <2>
164+
...
165+
----
166+
<1> A pending kubelet service CSR (for user-provisioned installations).
167+
<2> A pending `node-bootstrapper` CSR.
168+
+
169+
.. Review the details of a CSR to verify that it is valid:
170+
+
171+
[source,terminal]
172+
----
173+
$ oc describe csr <csr_name> <1>
174+
----
175+
<1> `<csr_name>` is the name of a CSR from the list of current CSRs.
176+
177+
.. Approve each valid `node-bootstrapper` CSR:
178+
+
179+
[source,terminal]
180+
----
181+
$ oc adm certificate approve <csr_name>
182+
----
183+
184+
.. For user-provisioned installations, approve each valid kubelet service CSR:
185+
+
186+
[source,terminal]
187+
----
188+
$ oc adm certificate approve <csr_name>
189+
----
190+
191+
148192
. Verify that the single member control plane has started successfully.
149193

150194
.. From the recovery host, verify that the etcd container is running.

0 commit comments

Comments
 (0)