A multi-tenant server for securely deploying and managing Dask clusters.
BSD 3-Clause "New" or "Revised" License
136
stars
88
forks
source link
How to configure labels in metadata of pod template for Dask Gateway Kubernetes workers non-invasively #686
Open
monarchofsage opened 1 year ago
Is there any way to configure labels in metadata of pod template for Dask Gateway Kubernetes workers non-invasively?
For example, in spec->template->metadata->lablels:
apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers:
I think it can be directly added to the "common_labels".
https://github.com/dask/dask-gateway/blob/5771a3ff3734d487f3114ea3ce408dd5fa9133b0/dask-gateway-server/dask_gateway_server/backends/kubernetes/backend.py#L321
Is there any way to do that non-invasively through values.yaml?