Spring is a modern Java framework for developing Cloud Native Applications.
This chart is designed to be a general purpose chart for running Spring based applications, most simple Spring applications should run with little to no modification of this Chart. For the sake of example this chart is configured to deploy the Spring Petclinic example application, but simply changing the image and tag should be enough to run a different app.
To install the chart with the release name my-release
:
$ helm install --name my-release stable/spring
To uninstall/delete the my-release
deployment:
helm delete --purge my-release
The command removes nearly all the Kubernetes components associated with the chart and deletes the release.
The following table lists the configurable parameters of the drone charts and their default values.
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install --name my-release -f values.yaml stable/spring
Tip: You can use the default values.yaml
Parameter | Description | Default |
---|---|---|
replicaCount |
The number of replicas | 1 |
image.repository |
location of image to run | paulczar/petclinic |
image.tag |
server image tag | 2.1.0.BUILD-SNAPSHOT |
image.pullPolicy |
server image pull policy | IfNotPresent |
serviceAccount.create |
If true, create and use service account | false |
serviceAccount.name |
If set override the name of the service account | |
rbac.create |
If true, create and use RBAC resources | false |
resources |
Resource requests and limits | {} |
tolerations |
List of node taints to tolerate | [] |
nodeSelector |
Node labels for pod assignment | {} |
podAnnotations |
Annotations to apploy to the pod | {} |
container.debug.shellAtStartup |
Start container in shell waiting mode instead of running Spring Boot app | false |
spring.debug |
Debug Spring Boot | false |
spring.profile |
The spring profile to activate | nil |
spring.trustKubernetesCertificates |
ensure spring trusts kubernetes certs | true |
spring.config |
YAML to be placed in /config/application.yml |
nil |
spring.secrets.names |
Names of a secrets | nil |
containerPort |
the port your application listens on | 8080 |
extraEnv |
extra environment variables to pass to your application | {} |
liveness.enabled |
Enable liveness | { true } |
liveness.probe |
Values to enable livenessProbe suitable for your application | see values.yaml |
readiness.enabled |
Values to enable readinessProbe suitable for your application | { true } |
readiness.probe |
Values to enable readinessProbe suitable for your application | see values.yaml |
service.enabled |
Enable creating a service | true |
service.type |
Kubernetes Service type | ClusterIP |
service.httpPort |
Service HTTP port | 8080 |
service.nodePort |
Kubernetes http node port | nil |
service.externalTrafficPolicy |
Enable client source IP preservation | Cluster |
service.loadBalancerIP |
LoadBalancerIP for the App | nil |
service.annotations |
Service annotations | {} |
ingress.enabled |
Enable ingress controller resource | false |
ingress.annotations |
Ingress annotations | [] |
ingress.certManager |
Add annotations for cert-manager | false |
ingress.hosts |
Hostname(s) to your spring app | [] |
ingress.tls.secretName |
Name of secret holding TLS certs | nil |
ingress.tls.hosts |
Hostname(s) to your spring app behind TLS | [] |