snippetkubernetesMinor
How can I expose Ingress service on 80 and 443 to the outer world
Viewed 0 times
ingressexposecantheserviceworldhowand443outer
Problem
I used google compute engine to setup a Self Managed Kubernetes, While exposing ingress service via NodePort/LoadBalancer/EnternalIP, it is using default 30000 port range, But I want to expose it on 80 and 443 to the outer world. Please suggest How can I do that?
Solution
It's would be better if you will use
https://kubernetes.io/docs/concepts/services-networking/ingress/#single-service-ingress
ClusterIP type as a service than apply Ingress resource on ithttps://kubernetes.io/docs/concepts/services-networking/ingress/#single-service-ingress
Context
StackExchange DevOps Q#11959, answer score: 6
Revisions (0)
No revisions yet.