Openshift: correct syntax for multiple nodes in blacklist

8/15/2019

I'm trying to define a list of nodes that are in the nodeSelectorLabelBlacklist

I have tried this way, in my .yaml

nodeSelectorLabelBlacklist:
     - kubernetes.io/hostname: node07.domain
     - kubernetes.io/hostname: node06.domain
     - kubernetes.io/hostname: node05.domain
     - kubernetes.io/hostname: node04.domain

But this does not work. I can't find the correct syntax for multiple values in the docs.

-- Christian Benseler
kubernetes
openshift
openshift-3
openshift-enterprise

0 Answers