← Services531 / 640
hardkubectl

Create an internal ClusterIP service with a specific port mapping

command

kubectl create service clusterip SERVICE --tcp=PORT:TARGET_PORT

also accepted

kubectl create service clusterip

Test your recall — not just your reading.

Practice with interactive quiz →