...
deployment.apps/nginx-deployment created
Exposing Services
Ingress
Ingress, added in Kubernetes v1.1, exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the ingress resource.
internet
|
[ Ingress ]
--|-----|--
[ Services ]
An ingress can be configured to give services externally-reachable URLs, load balance traffic, terminate SSL, and offer name based virtual hosting. An ingress controller is responsible for fulfilling the ingress, usually with a loadbalancer, though it may also configure your edge router or additional frontends to help handle the traffic.
An ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.
Ingress providers:
https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-controllers
References
Reference | URL |
---|---|
A friendly introduction to Kubernetes | https://medium.freecodecamp.org/a-friendly-introduction-to-kubernetes-670c50ce4542 |
Kubernetes Concepts | https://kubernetes.io/docs/concepts/ |
Load-Balancing in Kubernetes | https://rancher.com/load-balancing-in-kubernetes/ |
What is Ingress? | https://kubernetes.io/docs/concepts/services-networking/ingress/#what-is-ingress |