contour-operator

by joaquinito2051

Helm chartv3.0.0App 1.23.0

The Contour Operator extends the Kubernetes API to create, configure and manage instances of Contour on behalf of users.

About this chart

Contour Operator packaged by Bitnami

The Contour Operator extends the Kubernetes API to create, configure and manage instances of Contour on behalf of users.

Overview of Contour Operator

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-operator

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 Operator Deployment in 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.21+
  • Helm 3.2.0+

Installing the Chart

To install the chart with the release name my-release:

helm install my-release my-repo/contour-operator

The command deploys the Contour Operator 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

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Differences between the Bitnami Contour chart and the Bitnami Contour Operator chart

In the Bitnami catalog we offer both the bitnami/contour and bitnami/contour-operator charts. Each solution covers different needs and use cases.

The bitnami/contour chart deploys a single Contour installation using a Kubernetes Deployment object (together with Services, PVCs, ConfigMaps, etc.). The figure below shows a simplified view of the deployed objects in the cluster after executing helm install:

                    +--------------+                +-------------+
                    |              |                |             |
 Service            |   Contour    |                |    Envoy    |
<-------------------+              +<---------------+             |
                    |  Deployment  |                |  DaemonSet  |
                    |              |                |             |
                    +-----------+--+                +-------------+
                                ^
                                |                +------------+
                                |                |            |
                                +----------------+ Configmaps |
                                                 |            |
                                                 +------------+

Its lifecycle is managed using Helm.

The bitnami/contour-operator chart deploys a Contour Operator installation using a Kubernetes Deployment. The figure below shows the Contour Operator deployment after executing helm install:

+--------------------+
|                    |      +---------------+
|  Contour Operator  |      |               |
|                    |      |     RBAC      |
|     Deployment     |      | Privileges    |
+-------+------------+      +-------+-------+
        ^                           |
        |   +-----------------+     |
        +---+ Service Account +<----+
            +-----------------+

The operator will extend the Kubernetes API with the Contour object, among others. From that moment, the user will be able to deploy objects of these kinds and the previously deployed Operator will take care of deploying all the required Deployments, ConfigMaps and Services for running a Contour instance. Its lifecycle is managed using kubectl on the Contour objects. The following figure shows a simplified view of the deployed objects after deploying a Contour object using kubectl:

  +--------------------+
  |                    |      +---------------+
  |  Contour Operator  |      |               |
  |                    |      |     RBAC      |
  |     Deployment     |      | Privileges    |
  +-------+------------+      +-------+-------+
    |     ^                           |
    |     |   +-----------------+     |
    |     +---+ Service Account +<----+
    |         +-----------------+
    |
    |
    |
    |
    |    +-----------------------------------------------------------------------+
    |    |                       +--------------+                +-------------+ |
    |->  |                       |              |                |             | |
         |    Service            |   Contour    |                |    Envoy    | |
         |   <-------------------+              +<---------------+             | |
         |                       |  Deployment  |                |  DaemonSet  | |
         |                       |              |                |             | |
         |                       +-----------+--+                +-------------+ |
         |                                   ^                                   |
         |                                   |                +------------+     |
         |                                   +----------------+ Configmaps |     |
         |                                                    |  Secrets   |     |
         |                                                    +------------+     |
         +-----------------------------------------------------------------------+

This solution allows to easily deploy multiple Contour instances compared to the bitnami/contour chart. As the operator automatically deploys Contour installations, the Contour Operator pods will require a ServiceAccount with privileges to create and destroy multiple Kubernetes objects. This may be problematic for Kubernetes clusters with strict role-based access policies.

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
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]

Contour Operator Parameters

NameDescriptionValue
image.registryContour Operator image registrydocker.io
image.repositoryContour Operator image repositorybitnami/contour-operator
image.tagContour Operator image tag (immutable tags are recommended)1.23.0-scratch-r0
image.digestContour Operator image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyContour Operator image pull policyIfNotPresent
image.pullSecretsContour Operator image pull secrets[]
contourImage.registryContour Image registrydocker.io
contourImage.repositoryContour Image repositorybitnami/contour
contourImage.tagContour Image tag (immutable tags are recommended)1.23.0-debian-11-r0
contourImage.digestContour image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
contourImage.pullSecretsContour Image pull secrets[]
envoyImage.registryEnvoy Image registrydocker.io
envoyImage.repositoryEnvoy Image repositorybitnami/envoy
envoyImage.tagEnvoy Image tag (immutable tags are recommended)1.24.0-debian-11-r2
envoyImage.digestEnvoy image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
envoyImage.pullSecretsEnvoy Image pull secrets[]
replicaCountNumber of Contour Operator replicas to deploy1
livenessProbe.enabledEnable livenessProbe on Contour Operator nodestrue
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
livenessProbe.periodSecondsPeriod seconds for livenessProbe30
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
livenessProbe.failureThresholdFailure threshold for livenessProbe5
livenessProbe.successThresholdSuccess threshold for livenessProbe1
readinessProbe.enabledEnable readinessProbe on Contour Operator nodestrue
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
readinessProbe.periodSecondsPeriod seconds for readinessProbe30
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
readinessProbe.failureThresholdFailure threshold for readinessProbe

Deploy contour-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has contour-operator 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-operator is pinned at v3.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