kubegems-installer
by KubeGems
KubeGems installer/plugins operator.
About this chart
kubegems-installer
%%DESCRIPTION%% (check existing examples)
TL;DR
$ helm repo add kubegems https://charts.kubegems.io/kubegems
$ helm install my-release kubegems/kubegems-installer
Introduction
%%INTRODUCTION%% (check existing examples)
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
helm install my-release kubegems/kubegems-installer
The command deploys kubegems-installer 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.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.kubegemsVersion | Kubegems version | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
installer Parameters
| Name | Description | Value |
|---|---|---|
installer.image.registry | installer image registry | docker.io |
installer.image.repository | installer image repository | kubegems/kubegems |
installer.image.tag | installer image tag (immutable tags are recommended) | latest |
installer.image.pullPolicy | installer image pull policy | IfNotPresent |
installer.image.pullSecrets | installer image pull secrets | [] |
installer.image.debug | Enable installer image debug mode | false |
installer.replicaCount | Number of installer replicas to deploy | 1 |
installer.containerPorts.probe | installer probe container port | 8080 |
installer.livenessProbe.enabled | Enable livenessProbe on installer containers | true |
installer.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
installer.livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
installer.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
installer.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
installer.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
installer.readinessProbe.enabled | Enable readinessProbe on installer containers | true |
installer.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
installer.readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
installer.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
installer.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
installer.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
installer.startupProbe.enabled | Enable startupProbe on installer containers | false |
installer.startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 5 |
installer.startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
installer.startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
installer.startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
installer.startupProbe.successThreshold | Success threshold for startupProbe | 1 |
installer.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
installer.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
installer.customStartupProbe | Custom startupProbe that overrides the default one | {} |
installer.resources.limits | The resources limits for the installer containers | {} |
installer.resources.requests | The requested resources for the installer containers | {} |
installer.podSecurityContext.enabled | Enabled installer pods' Security Context | false |
installer.podSecurityContext.fsGroup | Set installer pod's Security Context fsGroup | 1001 |
installer.containerSecurityContext.enabled | Enabled installer containers' Security Context | false |
installer.containerSecurityContext.runAsUser | Set installer containers' Security Context runAsUser | 1001 |
installer.containerSecurityContext.runAsNonRoot | Set installer containers' Security Context runAsNonRoot | true |
installer.leaderElection.enabled | Enable leader election | true |
installer.logLevel | Log level | debug |
installer.existingConfigmap | The name of an existing ConfigMap with your custom configuration for installer | "" |
installer.command | Override default container command (useful when using custom images) | [] |
installer.args | Override default container args (useful when using custom images) | [] |
installer.hostAliases | installer pods host aliases | [] |
installer.podLabels | Extra labels for installer pods | {} |
installer.podAnnotations | Annotations for installer pods | {} |
installer.podAffinityPreset | Pod affinity preset. Ignored if installer.affinity is set. Allowed values: soft or hard | "" |
installer.podAntiAffinityPreset | Pod anti-affinity preset. Ignored if installer.affinity is set. Allowed values: soft or hard | soft |
installer.nodeAffinityPreset.type | Node affinity preset type. Ignored if installer.affinity is set. Allowed values: soft or hard | "" |
installer.nodeAffinityPreset.key | Node label key to match. Ignored if installer.affinity is set | "" |
installer.nodeAffinityPreset.values | Node label values to match. Ignored if installer.affinity is set | [] |
installer.enableAffinity | If enabled Affinity for installer pods assignment | false |
installer.affinity | Affinity for installer pods assignment | {} |
installer.nodeSelector | Node labels for installer pods assignment | {} |
installer.tolerations | Tolerations for installer pods assignment | [] |
installer.updateStrategy.type | installer statefulset strategy type | RollingUpdate |
installer.priorityClassName | installer pods' priorityClassName | "" |
installer.schedulerName | Name of the k8s scheduler (other than default) for installer pods | "" |
installer.lifecycleHooks | for the installer container(s) to automate configuration before or after startup | {} |
installer.extraEnvVars | Array with extra environment variables to add to installer nodes | [] |
| `installer.extr |
Deploy kubegems-installer with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubegems-installer 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 chartkubegems-installer is pinned at v1.24.10 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