kubedb-courier-addon-manager
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.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | nameOverride / fullnameOverride let you rename the release-derived resources. | "" |
| fullnameOverride | "" | |
| image.registry | ghcr.io/kubedb | |
| image.repository | kubedb-courier | |
| image.tag | "" # defaults to .Chart.AppVersion | |
| image.pullPolicy | IfNotPresent | |
| imagePullSecrets | [] | |
| manager.replicaCount | 1 | |
| manager.maxFeedbackWatch | maxFeedbackWatch caps concurrent watch-based status feedbacks; branches past the cap fall back to Poll (design.md Section 7). | 100 |
| manager.leaderElection | true | |
| manager.resources.requests.cpu | 100m | |
| manager.resources.requests.memory | 128Mi | |
| manager.resources.limits.cpu | "1" | |
| manager.resources.limits.memory | 512Mi | |
| manager.nodeSelector | {} | |
| manager.tolerations | [] | |
| manager.affinity | {} | |
| manager.podAnnotations | {} | |
| manager.securityContext.runAsNonRoot | true | |
| manager.securityContext.seccompProfile.type | RuntimeDefault | |
| agent.image.registry | "" | |
| agent.image.repository | "" | |
| agent.image.tag | "" | |
| agent.image.pullPolicy | falls back to .Values.image.pullPolicy when empty | "" |
| agent.installNamespace | installNamespace is where the addon agent is installed on each managed cluster. | kubedb |
| agent.placement.name | name of an existing OCM Placement in the placementNamespace. | "" |
| agent.placement.namespace | open-cluster-management | |
| ocm.addonManager.namespace | open-cluster-management-hub | |
| ocm.addonManager.serviceAccountName | addon-manager-controller-sa | |
| ocm.workAgent.namespace | open-cluster-management-agent | |
| ocm.workAgent.serviceAccountName | klusterlet-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubedb-courier-addon-manager is pinned at v0.9.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