hello-world

by Giant Swarm

Helm chartv3.2.5-rbaf160f8t20261123215141h4b9b0c2App 3.2.5-rbaf160f8t20261123215141h4b9b0c2Apache-2.0Verified publisher

A chart that deploys a basic hello world site and lets you test values merging of user values configmap and secrets.

About this chart

hello-world

A chart that deploys a basic hello world site and lets you test values merging of user values configmap and secrets.

Homepage: https://github.com/giantswarm/hello-world-app

Maintainers

NameEmailUrl
Giant Swarmhttps://github.com/giantswarm

Source Code

Values

KeyTypeDefaultDescription
replicaCountint1This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
imageobject{"name":"giantswarm/helloworld","pullPolicy":"IfNotPresent","registry":"gsoci.azurecr.io","tag":"0.7.0"}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image.registrystring"gsoci.azurecr.io"Container image registry
image.namestring"giantswarm/helloworld"Container image repository
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.tagstring"0.7.0"Container image tag.
imagePullSecretslist[]This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
nameOverridestring""This is to override the chart name.
fullnameOverridestring""Override the full name of the chart
serviceAccountobject{"annotations":{},"automount":false,"create":true,"name":""}This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContextobject{}Pod security context configuration
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}}Container security context configuration
securityContext.runAsNonRootbooltrueRun container as non-root user
securityContext.runAsUserint1000User ID to run the container
securityContext.allowPrivilegeEscalationboolfalseAllow privilege escalation
securityContext.seccompProfileobject{"type":"RuntimeDefault"}Seccomp profile configuration
securityContext.seccompProfile.typestring"RuntimeDefault"Seccomp profile type
securityContext.capabilitiesobject{"drop":["ALL"]}Capabilities configuration
securityContext.capabilities.droplist["ALL"]Capabilities to drop
securityContext.readOnlyRootFilesystembooltrueMount root filesystem as read-only
serviceobject{"annotations":{},"labels":{},"port":80,"type":"ClusterIP"}This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service.typestring"ClusterIP"This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
service.portint80This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
service.labelsobject{}Service labels
service.annotationsobject{}Service annotations
ingressobject{"annotations":{"cert-manager.io/cluster-issuer":"letsencrypt-giantswarm"},"className":"nginx","enabled":true,"hosts":[{"host":"hello.cluster.provider.gigantic.io","paths":[{"path":"/","pathType":"Prefix"}]}],"tls":[{"hosts":["hello.cluster.provider.gigantic.io"],"secretName":"hello-world-tls"}]}This block is for setting up the ingress more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
ingress.enabledbooltrueEnable ingress
ingress.classNamestring"nginx"Ingress class name
ingress.annotationsobject{"cert-manager.io/cluster-issuer":"letsencrypt-giantswarm"}Ingress annotations
ingress.hostslist[{"host":"hello.cluster.provider.gigantic.io","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress hosts configuration
ingress.tlslist[{"hosts":["hello.cluster.provider.gigantic.io"],"secretName":"hello-world-tls"}]TLS configuration for ingress
routeobject{"additionalRules":[],"annotations":{},"enabled":false,"filters":[],"hostnames":[],"kind":"HTTPRoute","labels":{},"matches":[{"path":{"type":"PathPrefix","value":"/"}}],"name":"","parentRefs":[],"securityPolicy":{"annotations":{},"enabled":false,"labels":{}}}This block is for setting up Gateway API routes. More information can be found here: https://gateway-api.sigs.k8s.io/
route.enabledboolfalseEnable Gateway API route
route.kindstring"HTTPRoute"Set the route kind. Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute
route.namestring""Override the route name (defaults to fullname)
route.annotationsobject{}Route annotations
route.labelsobject{}Route labels
route.hostnameslist[]Hostnames that the route should match. Supports templating with {{ .Values.xxx }}
route.parentRefslist[]Parent gateway references
route.matcheslist[{"path":{"type":"PathPrefix","value":"/"}}]Request matching rules
route.filterslist[]Filters define the filters that are applied to requests that match this rule
route.additionalRuleslist[]Additional custom rules that can be added to the route. Supports templating
route.securityPolicyobject{"annotations":{},"enabled":false,"labels":{}}Envoy Gateway SecurityPolicy configuration
route.securityPolicy.enabledboolfalseEnable security policy
route.securityPolicy.annotationsobject{}Security policy annotations
route.securityPolicy.labelsobject{}Security policy labels
resourcesobject{"limits":{"cpu":"400m","memory":"100Mi"},"requests":{"cpu":"200m","memory":"50Mi"}}Resource requests and limits for the container
resources.requests.cpustring"200m"CPU request
resources.requests.memorystring"50Mi"Memory request
resources.limits.cpustring"400m"CPU limit
resources.limits.memorystring"100Mi"Memory limit
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe.httpGet.pathstring"/"Probe path
livenessProbe.httpGet.portstring"http"Probe port
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}Readiness probe configuration
readinessProbe.httpGet.pathstring"/"Probe path
readinessProbe.httpGet.portstring"http"Probe port
autoscalingobject{"enabled":true,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80,"targetMemoryUtilizationPercentage":80}This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling.enabledbooltrueEnable autoscaling
autoscaling.minReplicasint1Minimum number of replicas
autoscaling.maxReplicasint100Maximum number of replicas
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage
autoscaling.targetMemoryUtilizationPercentageint80Target memory utilization percentage
strategyobject{"rollingUpdate":{"maxSurge":1,"maxUnavailable":1},"type":"RollingUpdate"}Deployment strategy configuration
strategy.typestring"RollingUpdate"Deployment strategy type
strategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":1}Rolling update configuration
strategy.rollingUpdate.maxUnavailableint1Maximum number of unavailable pods during update
strategy.rollingUpdate.maxSurgeint1Maximum number of pods that can be created above the desired replica count
volumeslist[]Additional volumes on the output Deployment definition.
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
extraEnvlist[]Additional environment variables to inject into the container.
crashobject{"enabled":false,"gracePeriod":"30s","rateBytesPerSec":1048576}Staged, deliberate failure injection for demos and testing. When enabled the container leaks memory until the kubelet OOMKills it, on a loop. This is off by default and must not be enabled in production.
crash.enabledboolfalseEnable crash mode: a deliberate memory leak that drives a repeating OOMKill. Off by default.
crash.rateBytesPerSecint1048576Memory leak rate in bytes per second (default 1 MiB/s).
crash.gracePeriodstring"30s"Grace period before leaking starts, so the pod reaches Ready first. Any Go duration.
architecturestring""Target CPU architecture for this workload. Empty imposes no constraint. arm64 pins the pod to arm64 nodes, adding both the kubernetes.io/arch node selector and the toleration for the kubernetes.io/arch=arm64:NoSchedule taint that Giant Swarm arm64 node pools carry. Both are required, so this single value sets both. Requires a multi-arch container image; an amd64-only image will crash-loop with exec format error on an arm64 node. Do not also constrain kubernetes.io/arch through affinity: a nodeAffinity is ANDed with the node selector and is not visible to this value, so a contradicting one leaves the pod Pending.
nodeSelectorobject{}Node selector for pod scheduling. Merged with architecture. Pinning to arm64 here rather than through architecture also adds the arm64 taint toleration, so either route is safe. A value that contradicts architecture fails the render.
tolerationslist[]Tolerations for pod scheduling
affinityobject{}Affinity rules for pod scheduling
topologySpreadConstraintslist[{"labelSelector":{"matchLabels":{"app.kubernetes.io/instance":"{{ .Release.Name }}","app.kubernetes.io/name":"{{ include \"hello-world.name\" . }}"}},"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"ScheduleAnyway"},{"labelSelector":{"matchLabels":{"app.kubernetes.io/instance":"{{ .Release.Name }}","app.kubernetes.io/name":"{{ include \"hello-world.name\" . }}"}},"maxSkew":1,"topologyKey":"kubernetes.io/hostname","whenUnsatisfiable":"ScheduleAnyway"}]Topology spread constraints for pod distribution
podDisruptionBudgetobject{"maxUnavailable":1}Pod disruption budget configuration
podDisruptionBudget.maxUnavailableint1PodDisruptionBudget specification. Define either 'minAvailable' or 'maxUnavailable', never both. minAvailable: 1
serviceMonitorobject{"enabled":false}ServiceMonitor configuration for Prometheus
serviceMonitor.enabledboolfalseEnable ServiceMonitor

Deploy hello-world with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hello-world 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 charthello-world is pinned at v3.2.5-rbaf160f8t20261123215141h4b9b0c2 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