datacater
datacater copied to clipboard
Retrieve K8s Deployments from K8s Cluster
As of now, we store pipeline deployments in our internal postgres database. These are listed when GET /deployments is called. A desirable feature is the ability to check for the actually active deployments within the Kubernetes cluster.
To this end, we want to provide a query-parameter in-cluster: boolean, e.g. GET /deployments?in-cluster=true, which returns only active Kubernetes Deployments within the cluster. This query parameter defaults to false.
