kubectl create service

Create a service using specified subcommand

Subcommands

NameDescription
clusteripCreate a ClusterIP service with the specified name
externalnameCreate an ExternalName service with the specified name
loadbalancerCreate a LoadBalancer service with the specified name
nodeportCreate a NodePort service with the specified name