Checking the Edge Gateway and containers
Verify that the Edge Gateway containers are running correctly.
To verify that the Edge Gateway containers are
running correctly, run the following command on the Edge Gateway
system.
sudo kubectl get pods -A -l app.kubernetes.io/name=controller
Make sure that the 'NAME' column in the middle has an entry for
deployment-operator-<unique_ID>
and an entry for deployment-synchronizer-<unique_ID>
. Make sure that the STATUS is
Running
.
If the containers are not running, use the
kubectl describe
command to determine
the cause of the issue, especially the Events
section.
sudo kubectl describe pod/<container_name> -n <namespace>
The Edge Gateway have runtime status probes
available. When a problem occurs inside the containers, the cluster tries to resolve the problem by
restarting the containers. You can check the container restart counter by listing the
pods.
sudo kubectl get pods -n <namespace>
If the
RESTARTS
counter keeps increasing, use the following command to trigger a
self-check on each Edge Gateway, and collect the
logs by using
kubectl
.sudo manageAppHost checkconnection [--controller-id <namespace>]
The tool also lists all of the detected Edge Gateway.