Difference between revisions of "Kubectl expose deployment"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 7: Line 7:
 
  [[kubectl expose]] deployment [[kubernetes-dashboard]] -n kube-system [[--type=NodePort]]
 
  [[kubectl expose]] deployment [[kubernetes-dashboard]] -n kube-system [[--type=NodePort]]
  
  [[kubectl expose]] deployment hello-world [[--type]]=[[LoadBalancer]] --name=my-service
+
  [[kubectl expose]] deployment hello-world [[--type]]=[[LoadBalancer]] --name=my-service <ref>https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/</ref>
  
  

Revision as of 05:17, 14 March 2023

Advertising: