kubegems-installer

by KubeGems

Helm chartv1.24.10App 1.24.10

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.kubegemsVersionKubegems version""

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{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

installer Parameters

NameDescriptionValue
installer.image.registryinstaller image registrydocker.io
installer.image.repositoryinstaller image repositorykubegems/kubegems
installer.image.taginstaller image tag (immutable tags are recommended)latest
installer.image.pullPolicyinstaller image pull policyIfNotPresent
installer.image.pullSecretsinstaller image pull secrets[]
installer.image.debugEnable installer image debug modefalse
installer.replicaCountNumber of installer replicas to deploy1
installer.containerPorts.probeinstaller probe container port8080
installer.livenessProbe.enabledEnable livenessProbe on installer containerstrue
installer.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
installer.livenessProbe.periodSecondsPeriod seconds for livenessProbe10
installer.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
installer.livenessProbe.failureThresholdFailure threshold for livenessProbe6
installer.livenessProbe.successThresholdSuccess threshold for livenessProbe1
installer.readinessProbe.enabledEnable readinessProbe on installer containerstrue
installer.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
installer.readinessProbe.periodSecondsPeriod seconds for readinessProbe10
installer.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
installer.readinessProbe.failureThresholdFailure threshold for readinessProbe6
installer.readinessProbe.successThresholdSuccess threshold for readinessProbe1
installer.startupProbe.enabledEnable startupProbe on installer containersfalse
installer.startupProbe.initialDelaySecondsInitial delay seconds for startupProbe5
installer.startupProbe.periodSecondsPeriod seconds for startupProbe10
installer.startupProbe.timeoutSecondsTimeout seconds for startupProbe5
installer.startupProbe.failureThresholdFailure threshold for startupProbe6
installer.startupProbe.successThresholdSuccess threshold for startupProbe1
installer.customLivenessProbeCustom livenessProbe that overrides the default one{}
installer.customReadinessProbeCustom readinessProbe that overrides the default one{}
installer.customStartupProbeCustom startupProbe that overrides the default one{}
installer.resources.limitsThe resources limits for the installer containers{}
installer.resources.requestsThe requested resources for the installer containers{}
installer.podSecurityContext.enabledEnabled installer pods' Security Contextfalse
installer.podSecurityContext.fsGroupSet installer pod's Security Context fsGroup1001
installer.containerSecurityContext.enabledEnabled installer containers' Security Contextfalse
installer.containerSecurityContext.runAsUserSet installer containers' Security Context runAsUser1001
installer.containerSecurityContext.runAsNonRootSet installer containers' Security Context runAsNonRoottrue
installer.leaderElection.enabledEnable leader electiontrue
installer.logLevelLog leveldebug
installer.existingConfigmapThe name of an existing ConfigMap with your custom configuration for installer""
installer.commandOverride default container command (useful when using custom images)[]
installer.argsOverride default container args (useful when using custom images)[]
installer.hostAliasesinstaller pods host aliases[]
installer.podLabelsExtra labels for installer pods{}
installer.podAnnotationsAnnotations for installer pods{}
installer.podAffinityPresetPod affinity preset. Ignored if installer.affinity is set. Allowed values: soft or hard""
installer.podAntiAffinityPresetPod anti-affinity preset. Ignored if installer.affinity is set. Allowed values: soft or hardsoft
installer.nodeAffinityPreset.typeNode affinity preset type. Ignored if installer.affinity is set. Allowed values: soft or hard""
installer.nodeAffinityPreset.keyNode label key to match. Ignored if installer.affinity is set""
installer.nodeAffinityPreset.valuesNode label values to match. Ignored if installer.affinity is set[]
installer.enableAffinityIf enabled Affinity for installer pods assignmentfalse
installer.affinityAffinity for installer pods assignment{}
installer.nodeSelectorNode labels for installer pods assignment{}
installer.tolerationsTolerations for installer pods assignment[]
installer.updateStrategy.typeinstaller statefulset strategy typeRollingUpdate
installer.priorityClassNameinstaller pods' priorityClassName""
installer.schedulerNameName of the k8s scheduler (other than default) for installer pods""
installer.lifecycleHooksfor the installer container(s) to automate configuration before or after startup{}
installer.extraEnvVarsArray 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubegems-installer is pinned at v1.24.10 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