squadron-keel-cronjob

by foomo

Helm chartv0.8.1App 0.8.1Verified publisher

Squadron Keel CronJob Chart

About this chart

squadron-keel-cronjob

Squadron Keel CronJob Chart

Homepage: https://www.foomo.org

Source Code

Values

General

KeyTypeDefaultDescription
configMapobject{}Config map to be mounted
envobject{}Map of environment variables to add
extraObjectsobject{}Extra k8s manifests to deploy
revisionHistoryLimitint10Number of revisions to keep
schedulestring""Cron job schedule
secretEnvobject{}Map of environment variables to add as a secret
secretMountslist[]List of existing secrets to be mounted
secretsobject{}Map of secrets to be mounted
timeZonestring"Europe/Berlin"Cron job time zone

CronJob

KeyTypeDefaultDescription
cronjob.additionalEnvlist[]Additional environment variables
cronjob.additionalEnvFromlist[]Additional env from
cronjob.additionalLabelsobject{}Additional labels
cronjob.additionalVolumeMountslist[]Additional volume mounts
cronjob.additionalVolumeslist[]Additional volumes
cronjob.annotationsobject{}Deployment annotations
cronjob.backoffLimitint0Successful history item to keep
cronjob.concurrencystring"Forbid"Concurency policy
cronjob.historyLimitint1Max history item to keep
cronjob.hostAliaseslist[]Host aliases
cronjob.initContainerslist[]Additional init containers
cronjob.jobAnnotationsobject{}Pod annotations
cronjob.jobLabelsobject{}Job labels
cronjob.livenessProbeobject{}Liveness probe settings
cronjob.podAnnotationsobject{}Pod annotations
cronjob.podLabelsobject{}Pod labels
cronjob.readinessProbeobject{}Readiness probe settings
cronjob.resourcesobject{}Resource settings
cronjob.restartstring"Never"Restart policy
cronjob.securityContext.allowPrivilegeEscalationboolfalseControls whether a process can gain more privileges than its parent process
cronjob.securityContext.capabilitiesobject{"drop":["ALL"]}Grant certain privileges to a process without granting all the privileges of the root user
cronjob.securityContext.readOnlyRootFilesystembooltrueMounts the container's root filesystem as read-only
cronjob.selectorLabelsOverridestringnilSelector labels override
cronjob.sidecarContainerslist[]Additional sidecar containers
cronjob.startupProbeobject{}Startup probe settings

Server

KeyTypeDefaultDescription
cronjob.labelsOverridestringnilLabels override

Overrides

KeyTypeDefaultDescription
fullnameOverridestring""Overrides the chart's computed fullname
nameOverridestring""Overrides the chart's name
namespaceOverridestring""The name of the Namespace to deploy

Global

KeyTypeDefaultDescription
global.foomo.squadron.fleetstring""Will be automatically injected (optional)
global.foomo.squadron.namestring""Will be automatically injected
global.foomo.squadron.unitstring""Will be automatically injected
global.foomo.withDeprecatedSelectorLabelsboolfalseEnable for backward compatibility
global.foomo.withDeprecatedSelectorLabelsV2boolfalseEnable for backward compatibility

Graceful Shutdown

KeyTypeDefaultDescription
graceful.delaySecondsint15Seconds to wait for kubernetes to deregister
graceful.enabledboolfalseIndicates wether graceful shutdown is enabled
graceful.periodSecondsint45Total seconds for the grace period

Image

KeyTypeDefaultDescription
image.pullPolicystring"IfNotPresent"Image tag
image.pullSecretslist[]Image pull secrets
image.repositorystring""Image repository
image.tagstring""Image tag

Logging

KeyTypeDefaultDescription
log.disableCallerboolfalseLog caller
log.levelstring"info"Log level
log.modestring"prod"Log mode

Network Policy

KeyTypeDefaultDescription
networkPolicy.egress.additionalRuleslist[]Additional egress rules
networkPolicy.egress.allowExternalbooltrueAllow ingress through labels
networkPolicy.egress.enabledbooltrueSpecifies whether egress should be enabled
networkPolicy.enabledboolfalseSpecifies whether Network Policies should be created
networkPolicy.ingress.additionalRuleslist[]Additional ingress rules
networkPolicy.ingress.allowExternalbooltrueAllow ingress through labels
networkPolicy.ingress.enabledbooltrueSpecifies whether ingress should be enabled
networkPolicy.ruleslist[]List of rules to apply via labels

OpenTelemetry

KeyTypeDefaultDescription
otel.enabledboolfalseIndicates wether to enable it or not
otel.gorm.enabledbooltrueIndicates wether to enable it or not
otel.gorm.sqlParametersDisabledbooltrueIndicates wether to trace sql attributes
otel.gotsrpc.enabledbooltrueIndicates wether to enable it or not
otel.gotsrpc.payloadAttributeDisabledbooltrueIndicates wether to trace payload attributes
otel.mongo.commandAttributeDisabledbooltrueIndicates wether to trace command attributes
otel.mongo.enabledbooltrueIndicates wether to enable it or not
otel.otlpobject{"endpoint":"http://alloy:4317","insecure":true}OTLP exporter settings
otel.otlp.endpointstring"http://alloy:4317"Enpoint uri
otel.otlp.insecurebooltrueIndicates wether to use insecure connection
otel.profileobject{"block":{"enabled":false},"endpoint":"http://pyroscope:4040","mutex":{"enabled":false}}OTLP profile settings
otel.profile.blockobject{"enabled":false}OTLP profile block settings
otel.profile.block.enabledboolfalseIndicates wether to enable it or not
otel.profile.endpointstring"http://pyroscope:4040"Enpoint uri
otel.profile.mutexobject{"enabled":false}OTLP profile mutex settings
otel.profile.mutex.enabledboolfalseIndicates wether to enable it or not
otel.ratioint1Trace ratio

Persistence

KeyTypeDefaultDescription
persistence.accessModestring"ReadWriteOnce"Access mode
persistence.enabledboolfalseIndicates wether a pv should be attached or not
persistence.mountPathstring"/var/lib/cronjob/data"Storage mount path
persistence.sizestring"1Gi"Storage size
persistence.storageClassstring""Storage class name

Scheduling

KeyTypeDefaultDescription
scheduling.affinityobject{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"node-role.kubernetes.io/control-plane","operator":"In","values":[""]}]}]}}Affinity for pod assignment
scheduling.enabledboolfalseIndicates wether scheduling is enabled or not
scheduling.nodeSelectorobject{}Node labels for pod assignment
scheduling.priorityClassstringnilPriority class name
scheduling.tolerationslist[]Tolerations for pod assignment
scheduling.topologySpreadConstraintslist[]Tolerations for pod assignment

Security Context

KeyTypeDefaultDescription
securityContext.fsGroupint1001File system group id
securityContext.runAsGroupint1001Run as group id
securityContext.runAsNonRootbooltrueIndicates wether to run as non root user
securityContext.runAsUserint1001Run as user id
securityContext.seccompProfileobject{"type":"RuntimeDefault"}Restrict a Container's Syscalls with seccomp

Service Account

KeyTypeDefaultDescription
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createboolfalseSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use.

Deploy squadron-keel-cronjob with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has squadron-keel-cronjob 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 chartsquadron-keel-cronjob is pinned at v0.8.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