Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
qrnvttrl committed Aug 20, 2024
1 parent 0fb2ced commit 30a6ba3
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions charts/metal-control-plane/templates/ipam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@ spec:
selector:
matchLabels:
app: ipam
---
apiVersion: v1
kind: Pod
metadata:
name: with-pod-affinity
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- ipam
topologyKey: topology.kubernetes.io/zone
containers:
- name: with-pod-affinity
image: registry.k8s.io/pause:2.0
#---
#apiVersion: v1
#kind: Pod
#metadata:
# name: with-pod-affinity
#spec:
# affinity:
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - ipam
# topologyKey: topology.kubernetes.io/zone
# containers:
# - name: with-pod-affinity
# image: registry.k8s.io/pause:2.0

0 comments on commit 30a6ba3

Please sign in to comment.