kubectl expose
Create service.
Syntax
$kubectl expose [RESSOURCE] NAME [OPTIONS]
Examples
Examples
$kubectl expose deployment nginx --port=80
Typical use cases
kubectl expose --help
kubectl expose --help
Note
Expose the service.
Export