[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: node labels in openshift-ansible inventory

Thank you. Didn't realize that's kubernetes feature. I could now easily find:

"Each object can have a set of key/value labels defined. Each Key must be unique for a given object."

If this is correct (I bet it is), then that is not possible.

Thanks a lot for quick response.

Jason DeTiberus wrote on 11/15/2015 11:42 PM:
It is not possible in openshift-ansible, if it is possible in kube, we
can modify openshift-ansible to accommodate it.

On Nov 15, 2015 4:23 PM, "Aleksandar Kostadinov" <akostadi redhat com
<mailto:akostadi redhat com>> wrote:


    I was wondering if it is possible to set on a node multiple labels
    with same key, e.g.

    Perhaps region is not the best usage for that but anyway.

    I see format in inventory is given in example as:
     > myhost openshift_node_labels="{'region': 'primary', 'zone':

    If this is JSON, then it is definitely not possible. But it doesn't
    look like strict JSON so I thought there is some hope.

    Thank you,

    users mailing list
    users lists openshift redhat com
    <mailto:users lists openshift redhat com>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]