madhusmita:
Create a pod called httpd
using the image httpd:alpine
in the default namespace. Next, create a service of type ClusterIP
by the same name (httpd)
. The target port for the service should be 80
.
Try to do this with as few steps as possible.
• ‘httpd’ pod created with the correct image?
• ‘httpd’ service is of type ‘ClusterIP’?
• ‘httpd’ service uses correct target port 80?
• ‘httpd’ service exposes the ‘httpd’ pod?
How can I verify if httpd’ service exposes the ‘httpd’ pod?