buy tb500

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.

$kubectl run httpd –image=httpd:alpine –port=80 –expose

Leave a Reply