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 <ref>https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/</ref>
+
  [[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 19:22, 27 March 2023

Advertising: