Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp) add affinity to CP and Ingress PODs #3036

Merged
merged 4 commits into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,18 @@ spec:
app.kubernetes.io/instance: kuma
app: kuma-control-plane
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- kuma-control-plane
topologyKey: kubernetes.io/hostname
serviceAccountName: kuma-control-plane
nodeSelector:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,18 @@ spec:
app.kubernetes.io/instance: kuma
app: kuma-control-plane
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- kuma-control-plane
topologyKey: kubernetes.io/hostname
serviceAccountName: kuma-control-plane
nodeSelector:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,18 @@ spec:
app.kubernetes.io/instance: kuma
app: kuma-control-plane
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- kuma-control-plane
topologyKey: kubernetes.io/hostname
serviceAccountName: kuma-control-plane
nodeSelector:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,18 @@ spec:
app.kubernetes.io/instance: kuma
app: kuma-control-plane
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- kuma-control-plane
topologyKey: kubernetes.io/hostname
serviceAccountName: kuma-control-plane
nodeSelector:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,18 @@ spec:
app.kubernetes.io/instance: kuma
app: kuma-control-plane
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- kuma-control-plane
topologyKey: kubernetes.io/hostname
serviceAccountName: kuma-control-plane
nodeSelector:

Expand Down
Loading