kubegems-models
by KubeGems
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
| 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) | "" |
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"] |
controller Parameters
| Name | Description | Value |
|---|---|---|
controller.image.registry | controller image registry | docker.io |
controller.image.repository | controller image repository | kubegems/kubegems |
controller.image.tag | controller image tag (immutable tags are recommended) | latest |
controller.image.pullPolicy | controller image pull policy | Always |
controller.image.pullSecrets | controller image pull secrets | [] |
controller.image.debug | Enable controller image debug mode | false |
controller.replicaCount | Number of controller replicas to deploy | 1 |
controller.containerPorts.probe | controller probe container port | 8080 |
controller.livenessProbe.enabled | Enable livenessProbe on controller containers | true |
controller.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
controller.livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
controller.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
controller.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
controller.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
controller.readinessProbe.enabled | Enable readinessProbe on controller containers | true |
controller.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
controller.readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
controller.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
controller.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
controller.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
controller.startupProbe.enabled | Enable startupProbe on controller containers | false |
controller.startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 5 |
controller.startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
controller.startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
controller.startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
controller.startupProbe.successThreshold | Success threshold for startupProbe | 1 |
controller.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
controller.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
controller.customStartupProbe | Custom startupProbe that overrides the default one | {} |
controller.resources.limits | The resources limits for the controller containers | {} |
controller.resources.requests | The requested resources for the controller containers | {} |
controller.podSecurityContext.enabled | Enabled controller pods' Security Context | false |
controller.podSecurityContext.fsGroup | Set controller pod's Security Context fsGroup | 1001 |
controller.containerSecurityContext.enabled | Enabled controller containers' Security Context | false |
controller.containerSecurityContext.runAsUser | Set controller containers' Security Context runAsUser | 1001 |
controller.containerSecurityContext.runAsNonRoot | Set controller containers' Security Context runAsNonRoot | true |
controller.leaderElection.enabled | Enable leader election | true |
controller.baseDomain | Models Ingress Base Domain | models.kubegems.io |
controller.logLevel | Log level | debug |
controller.existingConfigmap | The name of an existing ConfigMap with your custom configuration for controller | "" |
controller.command | Override default container command (useful when using custom images) | [] |
controller.args | Override default container args (useful when using custom images) | [] |
controller.hostAliases | controller pods host aliases | [] |
controller.podLabels | Extra labels for controller pods | {} |
controller.podAnnotations | Annotations for controller pods | {} |
controller.podAffinityPreset | Pod affinity preset. Ignored if controller.affinity is set. Allowed values: soft or hard | "" |
controller.podAntiAffinityPreset | Pod anti-affinity preset. Ignored if controller.affinity is set. Allowed values: soft or hard | soft |
controller.nodeAffinityPreset.type | Node affinity preset type. Ignored if controller.affinity is set. Allowed values: soft or hard | "" |
controller.nodeAffinityPreset.key | Node label key to match. Ignored if controller.affinity is set | "" |
controller.nodeAffinityPreset.values | Node label values to match. Ignored if controller.affinity is set | [] |
controller.enableAffinity | If enabled Affinity for controller pods assignment | false |
controller.affinity | Affinity for controller pods assignment | {} |
controller.nodeSelector | Node labels for controller pods assignment | {} |
controller.tolerations | Tolerations for controller pods assignment | [] |
controller.updateStrategy.type | controller statefulset strategy type | RollingUpdate |
controller.priorityClassName | controller pods' priorityClassName | "" |
controller.schedulerName | Name of the k8s scheduler (other than default) for controller pods | "" |
controller.lifecycleHooks | for 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubegems-models 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