add nodeAffinity rules
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-09-08 20:04:24 +05:30
parent c17a09e105
commit 1cdf209085

View File

@@ -17,14 +17,17 @@ spec:
spec:
hostNetwork: true
affinity:
nodeAntiAffinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kube-01
- kube-02
- kube-03
- kube-04
- kube-05
containers:
- name: pihole
image: pihole/pihole@sha256:90a1412b3d3037d1c22131402bde19180d898255b584d685c84d943cf9c14821