squadron-server

by foomo

Helm chartv0.8.2App 0.8.2Verified publisher

Squadron General Server Chart

About this chart

squadron-server

Squadron General Server Chart

Homepage: https://www.foomo.org

Source Code

Values

General

KeyTypeDefaultDescription
argslist[]Server container command args
commandlist[]Container command
configMapobject{}Config map to be mounted
envobject{}Map of environment variables to add
extraObjectsobject{}Extra k8s manifests to deploy
portsobject{}Map of ports to expose
replicasint1Number of replications
revisionHistoryLimitint10Number of revisions to keep
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
updateStrategystring"RollingUpdate"Deployment update strategy

Autoscaling

KeyTypeDefaultDescription
autoscaling.additionalMetricsobject{}Additional scaling metrics
autoscaling.behaviorobject{}Autoscaling behavior settings
autoscaling.enabledboolfalseSpecifies whether a auto scaling should be enabled
autoscaling.maxReplicasint9Maximum replication number
autoscaling.maxUnavailableint1Maximum unavailablity
autoscaling.minAvailablestring""Minimum availablity
autoscaling.minReplicasint1Minimum replication number
autoscaling.targetCPUint75Target CPU utilization
autoscaling.targetMemorystringnilTarget Memory utilization

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

Image

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

Ingress

KeyTypeDefaultDescription
ingress.additionalLabelsobject{}Additional labels
ingress.annotationsobject{}Ingress annotations
ingress.classNamestring""Ingress class name
ingress.enabledboolfalseIndicates wether the ingress is enabled or not
ingress.hostslist[]List of hosts
ingress.pathslist[]List of hosts
ingress.tlslist[]TLS settings

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

Persistence

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

Routing

KeyTypeDefaultDescription
routing.enabledboolfalseIndicates wether routing is enabled or not
routing.hostnameslist[]Hostnames matched by the route; defaults to the listener hostname (supports tpl)
routing.parentRefslist[]Parent references
routing.pathslist[]Path matches

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[{"matchLabelKeys":["pod-template-hash"],"maxSkew":1,"topologyKey":"kubernetes.io/hostname","whenUnsatisfiable":"DoNotSchedule"},{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"ScheduleAnyway"}]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.seccompProfileobject{"type":"RuntimeDefault"}Restrict a Container's Syscalls with seccomp

Security context

KeyTypeDefaultDescription
securityContext.runAsUserint1001Run as user id

Server

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

Service

KeyTypeDefaultDescription
service.additionalLabelsobject{}Additional Service labels
service.annotationsobject{}Service annotations
service.typestring"ClusterIP"Service type

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.

Service Monitor

KeyTypeDefaultDescription
serviceMonitor.additionalLabelsobject{}Additional ServiceMonitor labels
serviceMonitor.annotationsobject{}ServiceMonitor annotations
serviceMonitor.enabledboolfalseIf enabled, ServiceMonitor resources for Prometheus Operator are created
serviceMonitor.intervalstring""ServiceMonitor scrape interval
serviceMonitor.metricRelabelingslist[]ServiceMonitor metric relabel configs to apply to samples before ingestion
serviceMonitor.pathstring"/metrics"Exposed metrics path
serviceMonitor.portint9200Exposed metrics port
serviceMonitor.relabelingslist[]ServiceMonitor relabel configs to apply to samples before scraping.
serviceMonitor.scrapeTimeoutstring""ServiceMonitor scrape timeout in Go duration format (e.g. 15s)
serviceMonitor.targetLabelslist[]ServiceMonitor will add labels from the service to the Prometheus metric

Deploy squadron-server with OpenTenant

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