fake-job
by stand-sure
Helm chartv1.0.4App 1.16.0Apache-2.0Verified publisher
Innago Helm Chart for deploying a long-running background job worker as a Deployment
About this chart
fake-job
Innago Helm Chart for deploying a long-running background job worker as a Deployment
Homepage: https://innago-property-management.github.io/helm-charts/fake-job
Maintainers
| Name | Url | |
|---|---|---|
| Innago | [email protected] |
Source Code
Installation
helm repo add innago https://innago-property-management.github.io/helm-charts/
helm repo update
helm install my-fake-job innago/fake-job
Or from the OCI registry:
helm install my-fake-job oci://ghcr.io/innago-property-management/helm-charts/fake-job --version 1.0.4
Resources Created
Deployment— single replica running the configured imageServiceAccount— created whenserviceAccount.createistrue
No Service is created; the container port is declared for liveness/readiness probes only.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity rules for pod scheduling |
| containerEnvFrom | list | [] | envFrom sources (ConfigMaps/Secrets) for the main container |
| extraEnv | list | [] | Environment variables for the main container |
| fullnameOverride | string | "" | Override the fully qualified name of the released resources |
| httpContainerPort | int | 80 | Container port exposed by the workload, named "http" |
| image | object | {"pullPolicy":"IfNotPresent","repository":"nginx","tag":""} | Container image configuration |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy (Always, IfNotPresent, Never) |
| image.repository | string | "nginx" | Container registry and repository |
| image.tag | string | "" | Image tag override (defaults to Chart.appVersion) IMPORTANT: Do not use "latest" in production |
| imagePullSecrets | list | [] | Image pull secrets for private registries |
| jobPodLabels | object | {} | Additional labels for the job pod |
| livenessProbe | object | {"httpGet":{"path":"/","port":"http"}} | Liveness probe for the container |
| nameOverride | string | "" | Override the chart name used in resource names and labels |
| nodeSelector | object | {} | Node selector for pod scheduling |
| podAnnotations | object | {} | Additional annotations for the job pod |
| podSecurityContext | object | {} | Pod-level security context See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| readinessProbe | object | {"httpGet":{"path":"/","port":"http"}} | Readiness probe for the container |
| replicaCount | int | 1 | Number of pod replicas. This chart runs at most a single instance: only 0 or 1 are meaningful. 0 scales the deployment to zero; values above 1 are clamped to 1. When the release shares a values file with the webapp chart, the count follows the webapp - autoscaling.minReplicas governs when autoscaling.enabled is true, otherwise replicaCount does |
| resources | object | {} | Resource requests and limits See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| revisionHistoryLimit | int | 3 | Number of old ReplicaSets to retain for rollback. Kubernetes keeps 10 by default |
| securityContext | object | {} | Container-level security context See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| serviceAccount.annotations | object | {} | Additional annotations for the ServiceAccount (e.g. IRSA role ARN) |
| serviceAccount.automount | bool | true | Automount the ServiceAccount token into the pod |
| serviceAccount.create | bool | true | Create a ServiceAccount for the workload |
| serviceAccount.name | string | "" | ServiceAccount name (defaults to the fullname when create is true, otherwise "default") |
| tolerations | list | [] | Tolerations for pod scheduling |
| volumeMounts | list | [] | Volume mounts for the main container See https://kubernetes.io/docs/concepts/storage/volumes/ |
| volumes | list | [] | Volumes to mount in the job pod See https://kubernetes.io/docs/concepts/storage/volumes/ |
Deploy fake-job with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fake-job 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 chartfake-job is pinned at v1.0.4 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