kubedb-courier-addon-manager

by AppsCode Inc.

Helm chartv0.9.0App v0.9.0Verified publisher

Hub-side KubeDB Courier addon manager. It installs the kubedb-courier manager Deployment, the hub RBAC it needs, and registers the courier Open Cluster Management addon so the per-cluster branch operator (kubedb-courier run) rolls out to managed clusters. Same-cluster branches do not need this chart; it is the cross-cluster (BranchWork over OCM) control plane.

About this chart

KubeDB Courier Addon Manager

KubeDB Courier Addon Manager by AppsCode - Hub-side KubeDB Courier addon manager

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubedb-courier-addon-manager --version=v0.9.0
$ helm upgrade -i kubedb-courier-addon-manager appscode/kubedb-courier-addon-manager -n kubedb --create-namespace --version=v0.9.0

Introduction

This chart deploys a KubeDB Courier addon manager operator on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.20+
  • Open Cluster Management (registration and work) installed on the hub

Installing the Chart

To install/upgrade the chart with the release name kubedb-courier-addon-manager:

$ helm upgrade -i kubedb-courier-addon-manager appscode/kubedb-courier-addon-manager -n kubedb --create-namespace --version=v0.9.0

The command deploys a KubeDB Courier addon manager operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the kubedb-courier-addon-manager:

$ helm uninstall kubedb-courier-addon-manager -n kubedb

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

Configuration

The following table lists the configurable parameters of the kubedb-courier-addon-manager chart and their default values.

ParameterDescriptionDefault
nameOverridenameOverride / fullnameOverride let you rename the release-derived resources.""
fullnameOverride""
image.registryghcr.io/kubedb
image.repositorykubedb-courier
image.tag"" # defaults to .Chart.AppVersion
image.pullPolicyIfNotPresent
imagePullSecrets[]
manager.replicaCount1
manager.maxFeedbackWatchmaxFeedbackWatch caps concurrent watch-based status feedbacks; branches past the cap fall back to Poll (design.md Section 7).100
manager.leaderElectiontrue
manager.resources.requests.cpu100m
manager.resources.requests.memory128Mi
manager.resources.limits.cpu"1"
manager.resources.limits.memory512Mi
manager.nodeSelector{}
manager.tolerations[]
manager.affinity{}
manager.podAnnotations{}
manager.securityContext.runAsNonRoottrue
manager.securityContext.seccompProfile.typeRuntimeDefault
agent.image.registry""
agent.image.repository""
agent.image.tag""
agent.image.pullPolicyfalls back to .Values.image.pullPolicy when empty""
agent.installNamespaceinstallNamespace is where the addon agent is installed on each managed cluster.kubedb
agent.placement.namename of an existing OCM Placement in the placementNamespace.""
agent.placement.namespaceopen-cluster-management
ocm.addonManager.namespaceopen-cluster-management-hub
ocm.addonManager.serviceAccountNameaddon-manager-controller-sa
ocm.workAgent.namespaceopen-cluster-management-agent
ocm.workAgent.serviceAccountNameklusterlet-work-sa

Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:

$ helm upgrade -i kubedb-courier-addon-manager appscode/kubedb-courier-addon-manager -n kubedb --create-namespace --version=v0.9.0 --set image.registry=ghcr.io/kubedb

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

$ helm upgrade -i kubedb-courier-addon-manager appscode/kubedb-courier-addon-manager -n kubedb --create-namespace --version=v0.9.0 --values values.yaml

Deploy kubedb-courier-addon-manager with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubedb-courier-addon-manager 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 chartkubedb-courier-addon-manager is pinned at v0.9.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