Hide Forgot
Error when attempting to 'rsh' to a running container (either via 'oc' or web UI) # oc get pods pydemo-4-2nb5f 1/1 Running 0 21h # oc rsh pydemo-4-2nb5f Error from server: error dialing backend: remote error: tls: internal error The container is running properly and serving my content, however, any remote connection attempt to it fails.
Very little information here but, most likely, the kubelet serving CSRs are not being approved. `oc get csr` and you'll likely see some in Pending. Those need to be approved with `oc adm certificate approve` in a UPI installation. For IPI installs, the machine-approver does this automatically.
Thanks was it. Thanks Seth! for i in `oc get csr |grep Pending |awk '{print $1}'`; do oc adm certificate approve $i; done 'oc rsh' working fine now.
Note: this is currently covered in knowledgebase solution: https://access.redhat.com/solutions/4307511