Main Menu

Search

KUBERNETES: Kubectl Command To Expose Application As Load Balancer Service

Below is command.

kubectl expose deploy <deployment name> --port <port no> --type LoadBalancer

For e.g. 

kubectl expose deploy hello-world --port 80 --type LoadBalancer

 

No comments:

Post a Comment