Skip to content

Commit

Permalink
feat(helm): remove pod anti affinity
Browse files Browse the repository at this point in the history
Signed-off-by: Abhilash Shetty <[email protected]>
  • Loading branch information
abhilashshetty04 committed Jul 4, 2024
1 parent bf7dc05 commit f447a27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions deploy/helm/charts/templates/lvm-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ spec:
{{ toYaml . | nindent 8 }}
{{- end}}
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- openebs-lvm-controller
topologyKey: "kubernetes.io/hostname"
{{- if .Values.lvmController.priorityClass.create }}
priorityClassName: {{ template "lvmlocalpv.lvmController.priorityClassName" . }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion tests/lvm_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func extendVg(name string, device string) {
gomega.Expect(err_vg).To(gomega.BeNil(), "vg extend failed")
}

// Does vgremove on specified vg with -y flag if vg isnt empty after fer retires.
// Does vgremove on specified vg with -y flag if vg isnt empty after few retires.
func removeVg(name string) {
ginkgo.By("Removing vg")
retries := 3
Expand Down

0 comments on commit f447a27

Please sign in to comment.