- Take me to Practice Test
-
Run the command
kubectl get servicesand count the number of services.Details
$ kubectl get services -
Run the command
kubectl get servicesand look at the Type columnDetails
$ kubectl get services -
Run the command
kubectl describe serviceand look at TargetPort.Details
$ kubectl describe service|grep TargetPort -
Run the command
kubectl describe serviceand look at LabelsDetails
$ kubectl describe service -
Run the command
kubectl describe serviceand look at EndpointsDetails
$ kubectl describe service -
Run the command
kubectl get deploymentand count the number of pods.Details
$ kubectl get deployment -
Run the command
kubectl describe deploymentand look under the containers section.Details
$ 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.
Details
$ kubectl create -f service-definition-1.yaml