Set WN flavor with ClassAds
Requirements
- A working HTCondor clusters instatiated either with DODAS (this guide) or with plain HELM (this other guide).
- Working kubectl for the cluster
- either logging on the k8s master node or having a valid one on you computer
Configure a machine ClassAd
Using the k8s context of the master cluster, edit its schedd configmap:
kubectl edit configmap wnconfigd
Then add the following lines to the content:
Group = "fermi"
STARTD_ATTRS = $(STARTD_ATTRS) Group
START = ( $(START) ) && ifThenElse(Group==fermi)
N.B: after the change you have to restart the wn pods
Users can now select their WN flavor by following the indications here