Checking the Kubernetes container

Verify that the Kubernetes container is running or complete.

To verify that the Kubernetes container is running or complete, run the following command on the Edge Gateway system.
sudo kubectl get pods -n kube-system

If it is not running or complete, the proxy settings for the k3s might not be configured. Make sure that the firewall commands are properly configured. For the instructions to set up the firewall rule, see the installation procedure in Installing the standalone software.

For the instructions to configure k3s in a proxy environment, see Configuring proxy authentication.

You can also use the kubectl describe command to view information about a pod that failed to run, especially in the "Events" section.
sudo kubectl describe pod/<name> -n <namespace>
For example,
sudo kubectl describe pod/coredns-68ff754cd5-lr5xm -n kube-system