Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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

      dns

      DNS name to reach the application on (internally on the cluster)

    • Which version of the application to send requests to

  • Ingress

    • Which

      dns

      DNS name and path to reach the application

      on

      from 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
languageyaml
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: "/"


...