system-upgrade-controller

by serge.logvinov

Helm chartv0.6.1App v0.19.2Verified publisher

System Upgrade Controller for Talos

About this chart

system-upgrade-controller

System Upgrade Controller for Talos

Homepage: https://github.com/sergelogvinov/helm-charts

Source Code

Example:

Values

KeyTypeDefaultDescription
replicaCountint1Replicaset count. ref: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
imageobject{"pullPolicy":"IfNotPresent","repository":"rancher/system-upgrade-controller","tag":""}Image details. ref: https://kubernetes.io/docs/concepts/containers/images/
imagePullSecretslist[]Secretes for pulling an image from a private repository. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
nameOverridestring""
fullnameOverridestring""
envsobject{"SYSTEM_UPGRADE_CONTROLLER_DEBUG":false,"SYSTEM_UPGRADE_CONTROLLER_THREADS":2,"SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS":1800,"SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT":1,"SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY":"IfNotPresent","SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE":"registry.k8s.io/kubectl:v1.31.3@sha256:f5735dae787c62a225536142b5eb0fbfd5515f7a80fcf2b3a5035401b681d1db","SYSTEM_UPGRADE_JOB_PRIVILEGED":false,"SYSTEM_UPGRADE_JOB_TTL_SECONDS_AFTER_FINISH":900,"SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL":"15m"}Environment variables
talosVersionstring"v1.8.3"
plan.kubernetes.enabledbooltrue
plan.kubernetes.versionstring"v1.31.2"
serviceAccountobject{"annotations":{},"automount":true,"create":true,"name":""}Pods Service Account. ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
podAnnotationsobject{}Annotations for pod. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}Labels for pod. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContextobject{"fsGroup":65534,"fsGroupChangePolicy":"OnRootMismatch"}Pod Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}Container Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
resourcesobject{"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
volumeslist[]Additional container volume mounts.
volumeMountslist[]Additional volumes.
updateStrategyobject{"rollingUpdate":{"maxUnavailable":1},"type":"RollingUpdate"}Deployment update strategy type. ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
nodeSelectorobject{"node-role.kubernetes.io/control-plane":""}Node labels for pod assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/
tolerationslist[{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane","operator":"Exists"}]Tolerations for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
affinityobject{}Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity

Deploy system-upgrade-controller with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has system-upgrade-controller 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 chartsystem-upgrade-controller is pinned at v0.6.1 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