Skip to content

Commit

Permalink
Add Ingress docs section and document flags to pass to Contour for
Browse files Browse the repository at this point in the history
configuring how to setup Envoy service reference

Signed-off-by: Steve Sloka <slokas@vmware.com>
  • Loading branch information
stevesloka committed Dec 3, 2019
1 parent e686049 commit 004d3ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/_data/master-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ toc:
url: /httpproxy
- page: IngressRoute
url: /ingressroute
- page: Ingress
url: /ingress
- title: Deploy
subfolderitems:
- page: Deployment
Expand Down
18 changes: 18 additions & 0 deletions site/docs/master/ingress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Kubernetes Ingress

Contour supports Kubernetes Ingress and implements many advanced features via [annotations][0].

More information about the Ingress spec can be found in the Kubernetes docs: [https://kubernetes.io/docs/concepts/services-networking/ingress/][1]

## Status

Contour updates the `status` field on all Ingress objects if the `Host` or `IP` is available through the Envoy service's (`type=LoadBalancer`) [status][2] information.
The default service which Contour looks for this information is the namespace in which Contour is deployed and the service named `envoy`, however this is
configurable by setting the following flags on Contour:

- `--envoy-service-name`: Defines the name of the Envoy service which this instance of Contour sends configuration (Defaults to `envoy`)
- `--envoy-service-namespace`: Defines the namespace of the Envoy service which this instance of Contour sends configuration (Defaults to namespace of where Contour is deployed)

[0]: annotations.md
[1]: https://kubernetes.io/docs/concepts/services-networking/ingress/
[2]: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer

0 comments on commit 004d3ae

Please sign in to comment.