Open kolia opened 3 years ago
Maybe even set a label by default, maybe
name: <driver-pod-id>
?
Some default labels would be nice. We should probably have a label that is used for the manager and worker pods (e.g. cluster: <driver-pod-id>
) and a label just for the worker pods (e.g. worker: <driver-pod-id>
).
The later already has a PR: https://github.com/beacon-biosignals/K8sClusterManagers.jl/pull/38
Workers now automatically have a worker-id
label which is the same as there worker ID (myid
) as of #48
Right now
labels
can be set by passing in aconfigure
closure, which is clunky.Users should be able to pass in
labels
as kwargs, the same way asmemory
,cpu
, etc.Maybe even set a label by default, maybe
name: <driver-pod-id>
?