Commit 8e1c965
committed
Add support for optional node selector labels for kube-ovn OVS/OVN pods
This change introduces a new Helm value ovsNodesLabels that allows
adding custom node selector labels to ovs-ovn pods. For example:
ovsNodesLabels:
kube-ovn/role: ovs
This is useful in environments such as OpenStack-Helm, where operators
may want to schedule OVS/OVN pods only on specific nodes (e.g., compute
nodes) instead of deploying them cluster-wide. When ovsNodesLabels is
empty, only the default selector kubernetes.io/os: linux is applied.
Signed-off-by: Saeed Padari <sam137115@gmail.com>1 parent 49aa35d commit 8e1c965
File tree
4 files changed
+10
-0
lines changed- charts/kube-ovn-v2
- templates
- agent
- ovs-ovn
- pinger
4 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
0 commit comments