If the Gateway tunnel is disconnected, how can i verify the status of a pod?

Step 1: Check the pod status

Use the following command to verify whether NextGen Gateway pod (nextgen-gw-0) is running or not.

kubectl get pods
Example:
bootstrap

Step 2: If the pod is running and the Gateway tunnel is disconnected

  • To ensure that the Gateway tunnel is properly established to the cloud, use the following command to verify the vprobe container logs.
    kubectl logs nextgen-gw-0 -c vprobe --tail=200 | grep TlsMonComm
    Example:
    bootstrap
  • Make sure that the connection status is True. If the connection is False, use the following command to check the complete vprobe logs for additional information.
    kubectl logs nextgen-gw-0 -c vprobe -f

Step 3: If the POD status is other than Running

  • If you see POD status other than Running, then you must debug the pod. Use the following command to check the current status of the POD.
    kubectl describe pod ${POD_NAME}
    Example:
    ubuntu@nextgen-gateway:~$ kubectl describe pod nextgen-gw-0
    Name:     	nextgen-gw-0
    Namespace:	default
    Priority: 	0
    Node:     	nextgen-gateway/10.248.157.185
    Start Time:   Fri, 28 Oct 2022 16:57:45 +0530
    Labels:   	app=nextgen-gw
              	controller-revision-hash=nextgen-gw-6744bddc6f
              	statefulset.kubernetes.io/pod-name=nextgen-gw-0
    Annotations:  <none>
    Status:   	Running
    IP:       	10.42.0.60
    IPs:
      IP:       	10.42.0.60
    Controlled By:  StatefulSet/nextgen-gw