Skip to content

Commit

Permalink
chore(cloudflared): add topology spread constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
prehor committed May 27, 2024
1 parent 8a9b822 commit fcb92dc
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: cloudflared
name: &app cloudflared
spec:
interval: 30m
chart:
Expand Down Expand Up @@ -78,6 +78,13 @@ 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

0 comments on commit fcb92dc

Please sign in to comment.