spring-boot-microservice

by olehrgf

Helm chartv1.0.5App 0.0.1Verified publisher

A common Helm chart for Spring boot application

About this chart

spring-boot-microservice

A common Helm chart for Spring boot application

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}Optional map of annotations to be applied to the Deployment
appVersionstring"0.0.1"
argslist[]
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
autoscaling.targetMemoryUtilizationPercentageint80
commandlist[]
config.annotationsobject{}
config.applicationobject{}
config.labelsobject{}
config.log4jstring"Configuration:\n Appenders:\n Console:\n name: Console\n target: SYSTEM_OUT\n JsonLayout:\n compact: true\n eventEol: true\n includeTimeMillis: true\n\n Loggers:\n Root:\n level: INFO\n AppenderRef:\n - ref: Console"
envFromlist[]
extraEnvlist[]
extraVolumeMountsobject{}
extraVolumesobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"amazoncorretto"
image.tagstring"17"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.tlslist[]
jvmOptions[0]string"-XX:+UseContainerSupport"
jvmOptions[1]string"-XX:MaxRAMPercentage=80.0"
jvmOptions[2]string"-Djava.net.preferIPv4Stack=true"
jvmOptions[3]string"-Djava.awt.headless=true"
jvmOptions[4]string"-Dspring.config.additional-location=/etc/config/app/application.yaml"
labelsobject{}Optional labels to add to the Deployment
livenessProbe.failureThresholdint3
livenessProbe.httpGet.pathstring"/actuator/health/liveness"
livenessProbe.httpGet.portstring"{{ .Values.service.managementPort }}"
livenessProbe.periodSecondsint15
metricsConfig.annotationsobject{}
metricsConfig.enabledboolfalse
metricsConfig.intervalstring"15s"
metricsConfig.labelsobject{}
metricsConfig.pathstring"/actuator/prometheus"
metricsConfig.portstring"http-management"
metricsConfig.scrapeTimeoutstring"15s"
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}Optional map of annotations to be applied to the Pods
podLabelsobject{}Optional labels to add to the pods
podSecurityContextobject{}
readinessProbe.failureThresholdint10
readinessProbe.httpGet.pathstring"/actuator/health/readiness"
readinessProbe.httpGet.portstring"{{ .Values.service.managementPort }}"
readinessProbe.periodSecondsint15
replicaCountint1
resourcesobject{}
securityContextobject{}
service.enabledbooltrue
service.httpNodePortstringnil
service.httpPortint80
service.httpTargetPortstring"8080"
service.labels."prometheus.io/target"string"spring-boot-actuator-instance"
service.managementNodePortstringnil
service.managementPortint9090
service.managementTargetPortstring"9090"
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
startupProbe.failureThresholdint10
startupProbe.httpGet.pathstring"/actuator/health/readiness"
startupProbe.httpGet.portstring"{{ .Values.service.managementPort }}"
startupProbe.initialDelaySecondsint15
startupProbe.periodSecondsint15
tolerationsobject{}

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy spring-boot-microservice with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spring-boot-microservice 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 chartspring-boot-microservice is pinned at v1.0.5 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