List of must use debugging command
List of command to debug OKD Installation
Overall process log
journalctl -f
this will tailing the openshift logging (verbose).
Checking all neccesary process for OKD SNO
crictl ps -a
this will list all services needed. If -a removed, it will return running only services.
Its recommended to regularly execute the command during boostrapping process in order for identifying which services that has issues.
Checking API Status
curl -k https://localhost:6443/version
Checking container logs
crictl logs <container_id>
Checklit bootkube logs for boostrapping
journalctl -u bootkube.service -b -f
API Server Logs
journalctl -u kube-apiserver -f
Namespace check
to check whether the domain name server is accesible. Bootstrapping process use FQDN to interact and communicate with the Kube API manager.
nslookup api.<cluster name>.<domain>.com
nslookup api-int.<cluster name>.<domain>.com
nslookup any.apps.<cluster name>.<domain>>.com