contour

by joaquinito2051

Helm chartv10.0.0App 1.23.0

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.

Overview of Contour

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: LoadBalancer like 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 list or helm 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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
nameOverrideString to partially override contour.fullname include (will maintain the release name)""
fullnameOverrideString to fully override contour.fullname template""
namespaceOverrideString to fully override common.names.namespace""
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
extraDeployArray of extra objects to deploy with the release[]
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment[]
diagnosticMode.argsArgs to override all containers in the deployment[]

Contour parameters

NameDescriptionValue
existingConfigMapSpecifies the name of an externally-defined ConfigMap to use as the configuration (this is mutually exclusive with configInline)""
configInlineSpecifies Contour's configuration directly in YAML format{}
contour.enabledContour Deployment creation.true
contour.image.registryContour image registrydocker.io
contour.image.repositoryContour image namebitnami/contour
contour.image.tagContour image tag1.23.0-debian-11-r0
contour.image.digestContour image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
contour.image.pullPolicyContour Image pull policyIfNotPresent
contour.image.pullSecretsContour Image pull secrets[]
contour.image.debugEnable image debug modefalse
contour.replicaCountNumber of Contour Pod replicas1
contour.priorityClassNamePriority class assigned to the pods""
contour.schedulerNameName of the k8s scheduler (other than default)""
contour.terminationGracePeriodSecondsIn seconds, time the given to the Contour pod needs to terminate gracefully""
contour.topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
contour.containerPorts.xdsSet xds port inside Contour pod8001
contour.containerPorts.metricsSet metrics port inside Contour pod8000
contour.hostAliasesAdd deployment host aliases[]
contour.updateStrategyStrategy to use to update Pods{}
contour.extraArgsExtra arguments passed to Contour container[]
contour.resources.limitsSpecify resource limits which the container is not allowed to succeed.{}
contour.resources.requestsSpecify resource requests which the container needs to spawn.{}
contour.manageCRDsManage the creation, upgrade and deletion of Contour CRDs.true
contour.podAffinityPresetContour Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
contour.podAntiAffinityPresetContour Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
contour.podLabelsExtra labels for Contour pods{}
contour.lifecycleHookslifecycleHooks for the container to automate configuration before or after startup.{}
contour.customLivenessProbeOverride default liveness probe{}
contour.customReadinessProbeOverride default readiness probe{}
contour.customStartupProbeOverride default startup probe{}
contour.nodeAffinityPreset.typeContour Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
contour.nodeAffinityPreset.keyContour Node label key to match Ignored if affinity is set.""
contour.nodeAffinityPreset.valuesContour Node label values to match. Ignored if affinity is set.[]
contour.commandOverride default command[]
contour.argsOverride default args[]
contour.affinityAffinity for Contour pod assignment{}
contour.nodeSelectorNode labels for Contour pod assignment{}
contour.tolerationsTolerations for Contour pod assignment[]
contour.podAnnotationsContour Pod annotations{}
contour.serviceAccount.createCreate 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcontour is pinned at v10.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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