GitHubContribute in GitHub: Edit online

copyright: years: 2018 lastupdated: "2018-03-16"


Verifying your highly available SMS Gateway deployment

You can check whether SMS Gateway successfully deployed by running the following commands.

List available pods

Run the following command:

kubectl get pods

This command shows the names of available pods, their status, and more information, as shown in the following example.

NAME                          READY     STATUS    RESTARTS   AGE
sms-gateway-b96f48b5c-ln6dz   1/1       Running   0          10m
sms-gateway-b96f48b5c-p2vlv   1/1       Running   0          10m
vgw-xsld-57bf46d8fb-4vpv8     1/1       Running   0          17h
vgw-xsld-57bf46d8fb-kdrzw     1/1       Running   0          17h

Describe the SMS Gateway service

Run the following command:

kubectl describe service sms-gateway

This command shows details about the SMS Gateway service, including port and endpoint information, as shown in the following example.

Name:                     sms-gateway
Namespace:                default
Labels:                   io.kompose.service=sms-gateway
Annotations:              <none>
Selector:                 io.kompose.service=sms-gateway
Type:                     NodePort
IP:                       10.0.0.40
Port:                     http  9080/TCP
TargetPort:               9080/TCP
NodePort:                 http  30080/TCP
Endpoints:                10.1.123.45:9080,10.1.2.34:9080
Port:                     https  9443/TCP
TargetPort:               9443/TCP
NodePort:                 https  30043/TCP
Endpoints:                10.1.123.45:9443,10.1.2.34:9443
Session Affinity:         None
External Traffic Policy:  Cluster
Events:                   <none>