SDP Helm Deployer

The Helm Deployer is a component of the SDP, which is responsible for deploying helm charts requested by processing scripts.

It continuously monitors the configuration database for deployment entries, which will tell the Helm deployer whether a release needs to be installed, updated, or uninstalled.

It has direct access to a processing namespace, which does not hold the SDP control systems, but instead is used for deploying and running processing scripts.

Kubernetes event monitoring

The Helm Deployer has been set up to continuously monitor kubernetes (k8s) events in the processing namespace, especially focusing on the deployments it is responsible for. This feature uses the kubernetes python API and runs using threading.

It updates (or creates if it does not exist) the deployment state entry in the configuration database, and adds information about the status of each pod that belongs to the specific deployment. The pod statuses it provides are:

PENDING
RUNNING
FINISHED
CANCELLED
FAILED
UNSET

The values directly depend on the pod phase and its condition event values. A pod is set to RUNNING only if its phase is RUNNING and if at least one of its conditions has type READY and status True.

Indices and tables