-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.9
-
Component/s: helm-charts, onos
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:VOLTHA 2.9 - Sprint 5
By default ONOS is deployed with
podAntiAffinity:
enabled: true
which should deploy ONOS instances on different nodes in the cluster.
That doesn't always happen on the VOLTHA scale cluster:
voltha-infra-onos-classic-0 0/1 Terminating 0 35h 10.42.1.232 flex-cc7 <none> <none> voltha-infra-onos-classic-2 0/1 Terminating 0 35h 10.42.1.235 flex-cc7 <none> <none>
The reason for that is a mismatch between the app label and pod antiAffinity declaration in the chart:
# statefulset.yaml labels: app: "{{ .Values.app_label }}" ... podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: app operator: In values: - {{ template "fullname" . }}