Skip to content

Commit

Permalink
Remove affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
dbelev committed Feb 12, 2020
1 parent 7340c4a commit 2981928
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions helm/upp-aggregate-healthcheck/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ spec:
app: {{ .Values.service.name }}
visualize: "true"
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- {{ .Values.service.name }}
topologyKey: "kubernetes.io/hostname"
containers:
- name: {{ .Values.service.name }}
image: "{{ .Values.image.repository }}:{{ .Chart.Version }}"
Expand Down Expand Up @@ -112,4 +102,4 @@ spec:
initialDelaySeconds: 30
resources:
{{ toYaml .Values.resources | indent 12 }}
{{ end }}
{{ end }}

0 comments on commit 2981928

Please sign in to comment.