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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| annotations | object | {} | Optional map of annotations to be applied to the Deployment |
| appVersion | string | "0.0.1" | |
| args | list | [] | |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| autoscaling.targetMemoryUtilizationPercentage | int | 80 | |
| command | list | [] | |
| config.annotations | object | {} | |
| config.application | object | {} | |
| config.labels | object | {} | |
| config.log4j | string | "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" | |
| envFrom | list | [] | |
| extraEnv | list | [] | |
| extraVolumeMounts | object | {} | |
| extraVolumes | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "amazoncorretto" | |
| image.tag | string | "17" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths | list | [] | |
| ingress.tls | list | [] | |
| 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" | |
| labels | object | {} | Optional labels to add to the Deployment |
| livenessProbe.failureThreshold | int | 3 | |
| livenessProbe.httpGet.path | string | "/actuator/health/liveness" | |
| livenessProbe.httpGet.port | string | "{{ .Values.service.managementPort }}" | |
| livenessProbe.periodSeconds | int | 15 | |
| metricsConfig.annotations | object | {} | |
| metricsConfig.enabled | bool | false | |
| metricsConfig.interval | string | "15s" | |
| metricsConfig.labels | object | {} | |
| metricsConfig.path | string | "/actuator/prometheus" | |
| metricsConfig.port | string | "http-management" | |
| metricsConfig.scrapeTimeout | string | "15s" | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | Optional map of annotations to be applied to the Pods |
| podLabels | object | {} | Optional labels to add to the pods |
| podSecurityContext | object | {} | |
| readinessProbe.failureThreshold | int | 10 | |
| readinessProbe.httpGet.path | string | "/actuator/health/readiness" | |
| readinessProbe.httpGet.port | string | "{{ .Values.service.managementPort }}" | |
| readinessProbe.periodSeconds | int | 15 | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext | object | {} | |
| service.enabled | bool | true | |
| service.httpNodePort | string | nil | |
| service.httpPort | int | 80 | |
| service.httpTargetPort | string | "8080" | |
| service.labels."prometheus.io/target" | string | "spring-boot-actuator-instance" | |
| service.managementNodePort | string | nil | |
| service.managementPort | int | 9090 | |
| service.managementTargetPort | string | "9090" | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| startupProbe.failureThreshold | int | 10 | |
| startupProbe.httpGet.path | string | "/actuator/health/readiness" | |
| startupProbe.httpGet.port | string | "{{ .Values.service.managementPort }}" | |
| startupProbe.initialDelaySeconds | int | 15 | |
| startupProbe.periodSeconds | int | 15 | |
| tolerations | object | {} |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspring-boot-microservice is pinned at v1.0.5 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