Commit 6d0eadca authored by Sagar Arora's avatar Sagar Arora Committed by Robert Schmidt

(fix): Manually assign physim pods to nodes

The physim tests fail because, typically, the same tests gets assigned
to the same node which then is overloaded. This MR assigns pods to
different nodes to prevent this.
parent 12384bbe
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
{{- end }}
{{- if .Values.global.nodeName.dlsim100rbtm2}}
nodeName: {{ .Values.global.nodeName.dlsim100rbtm2 }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.dlsimbasic}}
nodeName: {{ .Values.global.nodeName.dlsimbasic }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.ldpctest}}
nodeName: {{ .Values.global.nodeName.ldpctest }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrdlschsim}}
nodeName: {{ .Values.global.nodeName.nrdlschsim }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrdlsimbasic}}
nodeName: {{ .Values.global.nodeName.nrdlsimbasic }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrdlsimdmrsptrs}}
nodeName: {{ .Values.global.nodeName.nrdlsimdmrsptrs }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrdlsimmcsmimo}}
nodeName: {{ .Values.global.nodeName.nrdlsimmcsmimo }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrdlsimoffset}}
nodeName: {{ .Values.global.nodeName.nrdlsimoffset }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrpbschsim106rb}}
nodeName: {{ .Values.global.nodeName.nrpbschsim106rb }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrpbchsim217rb}}
nodeName: {{ .Values.global.nodeName.nrpbchsim217rb }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrpbchsim273rb}}
nodeName: {{ .Values.global.nodeName.nrpbchsim273rb }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrprachsim}}
nodeName: {{ .Values.global.nodeName.nrprachsim }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrpucchsim}}
nodeName: {{ .Values.global.nodeName.nrpucchsim }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrulschsim}}
nodeName: {{ .Values.global.nodeName.nrulschsim }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrulsim3gpp}}
nodeName: {{ .Values.global.nodeName.nrulsim3gpp }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrulsimmimo}}
nodeName: {{ .Values.global.nodeName.nrulsimmimo }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrulsimmisc}}
nodeName: {{ .Values.global.nodeName.nrulsimmisc }}
{{- end }}
...@@ -35,5 +35,10 @@ spec: ...@@ -35,5 +35,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.nrulsimscfdma}}
nodeName: {{ .Values.global.nodeName.nrulsimscfdma }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.polartest}}
nodeName: {{ .Values.global.nodeName.polartest }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.smallblocktest}}
nodeName: {{ .Values.global.nodeName.smallblocktest }}
{{- end }}
...@@ -33,5 +33,10 @@ spec: ...@@ -33,5 +33,10 @@ spec:
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: {{ .Values.global.serviceAccountName }} serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
{{- if .Values.global.nodeSelector}}
nodeSelector: nodeSelector:
{{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- toYaml .Values.global.nodeSelector | nindent 12 }}
\ No newline at end of file {{- end }}
{{- if .Values.global.nodeName.ulsim}}
nodeName: {{ .Values.global.nodeName.ulsim }}
{{- end }}
...@@ -11,6 +11,29 @@ global: ...@@ -11,6 +11,29 @@ global:
version: TAG version: TAG
# pullPolicy: IfNotPresent or Never or Always # pullPolicy: IfNotPresent or Never or Always
pullPolicy: Always pullPolicy: Always
nodeSelector: # removing the node selector
worker: "telco" nodeSelector: {}
# It is not a good way of assigning pods to the nodes: this way we bypass the scheduler. At the moment we don't provide the resource information of these pods.
# Therefore, Openshift assigns the pods to the same node because it thinks the pods don't consume much resources. This isn't the case, they consume a lot of resources.
nodeName:
dlsim100rbtm2: acamas
dlsimbasic: acamas
ldpctest: acamas
nrdlschsim: acamas
nrdlsimbasic: acamas
nrdlsimdmrsptrs: acamas
nrdlsimmcsmimo: acamas
nrdlsimoffset: dedale
nrpbschsim106rb: dedale
nrpbchsim217rb: dedale
nrpbchsim273rb: dedale
nrprachsim: dedale
nrpucchsim: dedale
nrulschsim: theseus
nrulsim3gpp: theseus
nrulsimmimo: theseus
nrulsimmisc: theseus
nrulsimscfdma: theseus
polartest: theseus
smallblocktest: theseus
ulsim: theseus
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment