kubegems-models

by KubeGems

Helm chartv1.24.10App 1.24.10

KubeGems 模型商店.

About this chart

kubegems-models

%%DESCRIPTION%% (check existing examples)

TL;DR

$ helm repo add kubegems https://charts.kubegems.io/kubegems
$ helm install my-release kubegems/kubegems-models

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-models

The command deploys kubegems-models 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)""

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"]

controller Parameters

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

Deploy kubegems-models with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubegems-models 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-models 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