Skip to content

Commit

Permalink
Merge branch 'main' into nuc-nginx-anti-affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-vex authored Apr 7, 2024
2 parents c171581 + 5453d82 commit 7fc3c80
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions apps/kubenuc/nginx-ingress/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,23 @@ spec:
values:
controller:
replicaCount: 3
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- ingress-nginx
- key: app.kubernetes.io/instance
operator: In
values:
- ingress-nginx
- key: app.kubernetes.io/component
operator: In
values:
- controller
topologyKey: "kubernetes.io/hostname"
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
Expand Down Expand Up @@ -84,21 +101,3 @@ spec:
##
udp:
"3478": "unifi/unifi:3478"

podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- ingress-nginx
- key: app.kubernetes.io/instance
operator: In
values:
- ingress-nginx
- key: app.kubernetes.io/component
operator: In
values:
- controller
topologyKey: "kubernetes.io/hostname"

0 comments on commit 7fc3c80

Please sign in to comment.