- Take me to Practice Test
-
Run the command
kubectl get services
and count the number of services.$ kubectl get services
-
Run the command
kubectl get services
and look at the Type column$ kubectl get services
-
Run the command
kubectl describe service
and look at TargetPort.$ kubectl describe service|grep TargetPort
-
Run the command
kubectl describe service
and look at Labels$ kubectl describe service
-
Run the command
kubectl describe service
and look at Endpoints$ kubectl describe service
-
Run the command
kubectl get deployment
and count the number of pods.$ kubectl get deployment
-
Run the command
kubectl describe deployment
and look under the containers section.$ kubectl describe deployment
-
Try to access the Web Application UI using the tab simple-webapp-ui above the terminal.
-
Update the given values in the service definition file and create the service.
$ kubectl create -f service-definition-1.yaml