Excerpt |
---|
A helm chart is needed for installing an application on the eHealth Platform in a docker container ( Intro to charts https://helm.sh/docs/developing_charts/ ). |
This helm chart will be supplied by the Platform and will among other things define:
Containers
How to deploy a container to the Kubernetes environment
How to monitor if the container is ready to receive requests and if it is still alive
Which ports to send requests to
How much resources the container is expected to use, and how much it is allowed to use in total
Service Discovery
Which
dnsDNS name to reach the application on (internally on the cluster)
Which version of the application to send requests to
Ingress
Which
dnsDNS name and path to reach the application
onfrom the internet (if any)
Which port to receive requests on
Rewrite paths if needed
Configuration
The chart can be configured with a values file in yaml
format. This file can be used to override the default configuration from the chart or to enable/disable feature features in the chart.
The values in the values file , is are dependent on the chart. But an example could be the following:
Code Block | ||
---|---|---|
| ||
image: "my-new-service"
imageTag: "v1.0.2"
component: "my-new-service"
appVersion: "1.0.0"
containerPort: 80
ingress:
hostname: myservice.$ENV_BASEURL
livenessProbe:
httpPath: "/"
readinessProbe:
httpPath: "/"
|
See also
Child pages (Children Display) | ||
---|---|---|
|