Set Node Selectors
Kubemqctl
Helm
kubectl

Flags

Flag
Type/Options
Default
Description
--node-selectors-keys
string map
""
set node selectors key-value (map)

Example

Set node selectors
1
kubemqctl create cluster --node-selectors-keys key1=value1,key2=value2
Copied!

Values

Flag
Type/Options
Default
Description
nodeSelectors.keys
string map
""
set node selectors key-value (map)

Example

Set node selectors
1
helm install kubemq-cluster --set nodeSelectors.keys "key1=value1,key2=value2" kubemq-charts/kubemq
Copied!

Fields

Field
Type/Options
Default
Description
keys
string map
""
set node selectors key-value (map)

Example

Set node selectors
Run:
1
kubectl apply -f {below-yaml-file}
Copied!
1
apiVersion: core.k8s.kubemq.io/v1alpha1
2
kind: KubemqCluster
3
metadata:
4
name: kubemq-cluster
5
namesapce: kubemq
6
labels:
7
app: kubemq-cluster
8
spec:
9
replicas: 3
10
nodeSelectors:
11
keys:
12
key: value
13
key2: value2
Copied!
Last modified 1yr ago
Copy link