kubectl create service
Create a service using specified subcommand
Subcommands
Name | Description |
---|---|
clusterip | Create a ClusterIP service with the specified name |
externalname | Create an ExternalName service with the specified name |
loadbalancer | Create a LoadBalancer service with the specified name |
nodeport | Create a NodePort service with the specified name |