Skip to content

Commit

Permalink
fix: remove topo contraints due to global policy
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Oct 28, 2024
1 parent d00540a commit d73096c
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 63 deletions.
7 changes: 0 additions & 7 deletions kubernetes/main/apps/default/smtp-relay/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ spec:
runAsUser: 65534
runAsGroup: 65534
seccompProfile: { type: RuntimeDefault }
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
service:
app:
controller: smtp-relay
Expand Down
7 changes: 0 additions & 7 deletions kubernetes/main/apps/kube-system/coredns/app/helm-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,3 @@ tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/instance: coredns
7 changes: 0 additions & 7 deletions kubernetes/main/apps/kube-system/fstrim/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ spec:
defaultPodOptions:
hostNetwork: true
hostPID: true
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
persistence:
procfs:
type: hostPath
Expand Down
8 changes: 0 additions & 8 deletions kubernetes/main/apps/kyverno/kyverno/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ spec:
- create
- update
- delete
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/instance: *app
app.kubernetes.io/component: admission-controller
serviceMonitor:
enabled: true
backgroundController:
Expand Down
7 changes: 0 additions & 7 deletions kubernetes/main/apps/network/cloudflared/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ spec:
runAsUser: 65534
runAsGroup: 65534
seccompProfile: { type: RuntimeDefault }
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
service:
app:
controller: cloudflared
Expand Down
9 changes: 0 additions & 9 deletions kubernetes/main/apps/network/nginx/external/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ spec:
extraArgs:
default-ssl-certificate: network/devbu-io-tls
terminationGracePeriodSeconds: 120
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: nginx-external
app.kubernetes.io/component: controller
resources:
requests:
cpu: 100m
Expand Down
9 changes: 0 additions & 9 deletions kubernetes/main/apps/network/nginx/internal/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ spec:
extraArgs:
default-ssl-certificate: network/devbu-io-tls
terminationGracePeriodSeconds: 120
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: nginx-internal
app.kubernetes.io/component: controller
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,6 @@ spec:
activeCount: 1
activeStandby: true
priorityClassName: system-cluster-critical
placement:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: ceph-mds
app.kubernetes.io/part-of: *cephFileSystemName
resources:
requests:
cpu: 100m
Expand Down

0 comments on commit d73096c

Please sign in to comment.