Skip to content

Commit

Permalink
Make sure dns-default pods run on all nodes for 4.18+ clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
mmazur committed Dec 6, 2024
1 parent 60f2262 commit bb3f9df
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/osd-26887-deamonset-tolerations/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
deploymentMode: "SelectorSyncSet"
selectorSyncSet:
matchExpressions:
- key: hive.openshift.io/version-major-minor
operator: NotIn
values: ["4.6", "4.7", "4.8", "4.9", "4.10", "4.11", "4.12", "4.13", "4.14", "4.15", "4.16", "4.17"]
23 changes: 23 additions & 0 deletions deploy/osd-26887-deamonset-tolerations/default.DNS.patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: operator.openshift.io/v1
kind: DNS
name: default
applyMode: AlwaysApply
patch: >
{
"spec": {
"nodePlacement": {
"tolerations": [
{
"effect": "NoSchedule",
"key": "node-role.kubernetes.io/infra",
"operator": "Exists"
},
{
"effect": "NoSchedule",
"key": "node-role.kubernetes.io/master",
"operator": "Exists"
}
]
}
}
patchType: merge

0 comments on commit bb3f9df

Please sign in to comment.