Difference between revisions of "Exposing an External IP Address to Access an Application in a Cluster"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
* https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/
 
* https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/
  
  [[kubectl expose deployment]] hello-world --type=LoadBalancer --name=my-service
+
  [[kubectl expose deployment]] [[your-deployment-name]] [[--type]]=[[LoadBalancer]] --name=my-service
 
  service/my-service exposed
 
  service/my-service exposed
  
Line 8: Line 8:
 
  my-service  LoadBalancer  172.20.165.35  a44a5217784174123143443.us-east-1.elb.amazonaws.com  3000:31896/TCP  19s
 
  my-service  LoadBalancer  172.20.165.35  a44a5217784174123143443.us-east-1.elb.amazonaws.com  3000:31896/TCP  19s
  
 +
 +
== Related ==
 +
* [[Kubernetes ingress]]
  
 
== See also ==
 
== See also ==

Latest revision as of 19:19, 27 March 2023

Advertising: