Diederik
03/17/2024, 1:45 PMFerdinand
03/18/2024, 8:21 AMbash
sudo $(which kubectl) get pod --kubeconfig /etc/rancher/k3s/k3s.yaml -n mgmtcompanion mgmtcompani
on-0
It should show "Ready 1/1" and "Status Running".
If not you can get more information about startup problems by running:
bash
sudo $(which kubectl) describe pod --kubeconfig /etc/rancher/k3s/k3s.yaml -n mgmtcompanion mgmtcompani
on-0
Finally, if the pod is running, but you want to see what it is doing, you can output the logs using:
bash
sudo $(which kubectl) logs --kubeconfig /etc/rancher/k3s/k3s.yaml -n mgmtcompanion mgmtcompanion-0Diederik
03/18/2024, 9:04 AMDiederik
03/18/2024, 9:05 AM