Difference between revisions of "Kubectl create service"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-service-em-
 
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-service-em-
 +
 +
kubectl create service
 +
Create a service using a specified subcommand.
 +
 +
Aliases:
 +
service, svc
 +
 +
Available Commands:
 +
  [[clusterip]]    Create a ClusterIP service
 +
  [[externalname]] Create an ExternalName service
 +
  [[loadbalancer]] Create a LoadBalancer service
 +
  [[nodeport]]    Create a NodePort service
 +
 +
Usage:
 +
  kubectl create service [flags] [options]
 +
 +
Use "kubectl <command> --help" for more information about a given command.
 +
Use "kubectl options" for a list of global command-line options (applies to all commands).
  
 
== Related ==
 
== Related ==

Revision as of 09:10, 1 February 2022

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-service-em-

kubectl create service
Create a service using a specified subcommand.

Aliases:
service, svc

Available Commands:
  clusterip    Create a ClusterIP service
  externalname Create an ExternalName service
  loadbalancer Create a LoadBalancer service
  nodeport     Create a NodePort service

Usage:

 kubectl create service [flags] [options]

Use "kubectl <command> --help" for more information about a given command. Use "kubectl options" for a list of global command-line options (applies to all commands).

Related

See also

Advertising: