What is a Ingress?

last updated Aug 1, 2019

An IngressAn Ingress object manages external access to the services in a cluster, typically HTTPRead More... is a Kubernetes object which tells the cluster how to send external traffic to a particular ServiceA Service describes how to access your applications over the networkRead More...:

Here is an example Kubernetes IngressAn Ingress object manages external access to the services in a cluster, typically HTTPRead More... Object:

Apply
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: test-ingress
spec:
rules:
- http:
paths:
- path: /testpath
backend:
serviceName: test
servicePort: 80
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

An IngressAn Ingress object manages external access to the services in a cluster, typically HTTPRead More... can serve either TCP or HTTP traffic - for HTTP services it typically includes 3 pieces of information:

  • The Hostname which identifies this traffic
  • The ServiceA Service describes how to access your applications over the networkRead More... name and port which traffic will be sent to
  • For HTTPS, a CertificateCertificates are a request for an X.509 Certificate to be issued from cert-managerRead More... for encryption

Resources

Back