Kubernetes Service Operations
Jump to navigation
Jump to search
Internal
Create a Service
With CLI
A service of any type (ClusterIP, NodePort, LoadBalancer, or ExternalName) can be created with the kubectl expose command.
More details:
With Metadata
Describe the service in a metadata YAML file:
More details about the service manifest available in:
POST it with:
kubectl apply -f ./service.yaml