Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 597 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 597 Bytes

3. Deploying test application

Review and deploy the WHOAMI deployment

kubectl apply -f whoami-deployment.yaml

Review and deply service

kubectl apply -f whoami-service.yaml

Validate the configuration

Check deployment:

kubectl describe deployment whoami

Check service:

kubectl describe svc whoami

Check created endpoints:

kubectl get endpoints
kubectl describe endpoints whoami
  • run temporary pod to see whether you can connect to the whoami-svc service
 kubectl run -it --rm --image alpine -- sh
 apk update
 apk add curl