June
17th,
2019
When starting a new Openshift v4 cluster you can sometimes get errors like remote error: tls: internal error
. This is due to certificates not being approved yet. This can be shown when attempting to get logs from a container:
It can be seen that there are a number of pending CSR requests:
We can approve the requests with the following oc get csr -o name | xargs oc adm certificate approve
And confirm:
We can now get logs from our containers: