Difference between revisions of "Kubectl expose deployment"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 6: Line 6:
  
 
  [[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
  
  

Revision as of 05:17, 14 March 2023

Advertising: