contour
Contour is an open source Kubernetes ingress controller that works by deploying the Envoy proxy as a reverse proxy and load balancer.
About this chart
Contour packaged by Bitnami
Contour is an open source Kubernetes ingress controller that works by deploying the Envoy proxy as a reverse proxy and load balancer.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/contour
Introduction
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
This chart bootstraps a Contour Ingress Controller Deployment and a Envoy Proxy Daemonset on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- An Operator for
ServiceType: LoadBalancerlike MetalLB
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/contour
These commands deploy contour on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm listorhelm ls --all-namespaces
Uninstalling the Chart
:warning: Uninstalling this chart will also remove CRDs. Removing CRDs will remove all instances of it's Custom Resources. If you wish to retain your Custom Resources for the future, run the following commands before uninstalling.
$ kubectl get -o yaml extensionservice,httpproxy,tlscertificatedelegation -A > backup.yaml
To uninstall/delete the my-release helm release:
$ helm uninstall my-release
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override contour.fullname include (will maintain the release name) | "" |
fullnameOverride | String to fully override contour.fullname template | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
extraDeploy | Array of extra objects to deploy with the release | [] |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | [] |
diagnosticMode.args | Args to override all containers in the deployment | [] |
Contour parameters
| Name | Description | Value |
|---|---|---|
existingConfigMap | Specifies the name of an externally-defined ConfigMap to use as the configuration (this is mutually exclusive with configInline) | "" |
configInline | Specifies Contour's configuration directly in YAML format | {} |
contour.enabled | Contour Deployment creation. | true |
contour.image.registry | Contour image registry | docker.io |
contour.image.repository | Contour image name | bitnami/contour |
contour.image.tag | Contour image tag | 1.23.0-debian-11-r0 |
contour.image.digest | Contour image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
contour.image.pullPolicy | Contour Image pull policy | IfNotPresent |
contour.image.pullSecrets | Contour Image pull secrets | [] |
contour.image.debug | Enable image debug mode | false |
contour.replicaCount | Number of Contour Pod replicas | 1 |
contour.priorityClassName | Priority class assigned to the pods | "" |
contour.schedulerName | Name of the k8s scheduler (other than default) | "" |
contour.terminationGracePeriodSeconds | In seconds, time the given to the Contour pod needs to terminate gracefully | "" |
contour.topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
contour.containerPorts.xds | Set xds port inside Contour pod | 8001 |
contour.containerPorts.metrics | Set metrics port inside Contour pod | 8000 |
contour.hostAliases | Add deployment host aliases | [] |
contour.updateStrategy | Strategy to use to update Pods | {} |
contour.extraArgs | Extra arguments passed to Contour container | [] |
contour.resources.limits | Specify resource limits which the container is not allowed to succeed. | {} |
contour.resources.requests | Specify resource requests which the container needs to spawn. | {} |
contour.manageCRDs | Manage the creation, upgrade and deletion of Contour CRDs. | true |
contour.podAffinityPreset | Contour Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
contour.podAntiAffinityPreset | Contour Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
contour.podLabels | Extra labels for Contour pods | {} |
contour.lifecycleHooks | lifecycleHooks for the container to automate configuration before or after startup. | {} |
contour.customLivenessProbe | Override default liveness probe | {} |
contour.customReadinessProbe | Override default readiness probe | {} |
contour.customStartupProbe | Override default startup probe | {} |
contour.nodeAffinityPreset.type | Contour Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
contour.nodeAffinityPreset.key | Contour Node label key to match Ignored if affinity is set. | "" |
contour.nodeAffinityPreset.values | Contour Node label values to match. Ignored if affinity is set. | [] |
contour.command | Override default command | [] |
contour.args | Override default args | [] |
contour.affinity | Affinity for Contour pod assignment | {} |
contour.nodeSelector | Node labels for Contour pod assignment | {} |
contour.tolerations | Tolerations for Contour pod assignment | [] |
contour.podAnnotations | Contour Pod annotations | {} |
contour.serviceAccount.create | Create a serviceAccount for t |
Deploy contour with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has contour on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcontour is pinned at v10.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply