kubedb-gitops
KubeDB GitOps operator by AppsCode
About this chart
KubeDB GitOps operator
KubeDB GitOps operator by AppsCode - KubeDB GitOps operator
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubedb-gitops --version=v0.17.0
$ helm upgrade -i kubedb-gitops appscode/kubedb-gitops -n kubedb --create-namespace --version=v0.17.0
Introduction
This chart deploys a KubeDB GitOps operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.21+
Installing the Chart
To install/upgrade the chart with the release name kubedb-gitops:
$ helm upgrade -i kubedb-gitops appscode/kubedb-gitops -n kubedb --create-namespace --version=v0.17.0
The command deploys a KubeDB GitOps 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-gitops:
$ helm uninstall kubedb-gitops -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-gitops chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| replicaCount | 1 | |
| registryFQDN | Docker registry fqdn used to pull app related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| image.registry | Docker registry used to pull app container image | kubedb |
| image.repository | kubedb-gitops | |
| image.pullPolicy | IfNotPresent | |
| image.tag | Overrides the image tag whose default is the chart appVersion. | "" |
| imagePullSecrets | [] | |
| nameOverride | "" | |
| fullnameOverride | "" | |
| serviceAccount.create | Specifies whether a service account should be created | true |
| serviceAccount.annotations | Annotations to add to the service account | {} |
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | "" |
| podAnnotations | {} | |
| podLabels | {} | |
| podSecurityContext | {} | |
| securityContext | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}} | |
| service.type | ClusterIP | |
| service.port | 8081 | |
| resources | {} | |
| livenessProbe.httpGet.path | /healthz | |
| livenessProbe.httpGet.port | probes | |
| livenessProbe.initialDelaySeconds | 15 | |
| livenessProbe.periodSeconds | 20 | |
| readinessProbe.httpGet.path | /readyz | |
| readinessProbe.httpGet.port | probes | |
| readinessProbe.initialDelaySeconds | 5 | |
| readinessProbe.periodSeconds | 10 | |
| volumes | Additional volumes on the output Deployment definition. | [] |
| volumeMounts | Additional volumeMounts on the output Deployment definition. | [] |
| nodeSelector | {} | |
| tolerations | [] | |
| affinity | {} | |
| featureGates.Aerospike |
Deploy kubedb-gitops with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubedb-gitops 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-gitops is pinned at v0.17.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