Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
994fef22
Commit
994fef22
authored
Sep 15, 2020
by
bravof
Browse files
fix(pod affinity): pods now are scheduled into the same node to allow file sharing
parent
86b4a768
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
...rts/eechart/charts/snmpexporter/templates/deployment.yaml
+10
-1
snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
+1
-1
No files found.
snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
View file @
994fef22
...
...
@@ -3,12 +3,21 @@ kind: Deployment
metadata
:
name
:
{{
include "snmpexporter.fullname" .
}}
labels
:
{{
- include "snmpexporter.labels" . | nindent 4
}}
vnf
:
{{
.Values.global.osm.vnf_id | lower
}}
spec
:
replicas
:
{{
.Values.replicaCount
}}
selector
:
matchLabels
:
{{
- include "snmpexporter.selectorLabels" . | nindent 6
}}
affinity
:
podAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
-
labelSelector
:
matchExpressions
:
-
key
:
vnf
operator
:
In
values
:
-
{{
.Values.global.osm.vnf_id | lower
}}
template
:
metadata
:
labels
:
...
...
snmp_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
View file @
994fef22
...
...
@@ -3,7 +3,7 @@ kind: StatefulSet
metadata
:
name
:
{{
include "eechart.fullname" .
}}
labels
:
{{
include "eechart.labels" . | indent 4
}}
vnf
:
{{
.Values.global.osm.vnf_id | lower
}}
spec
:
serviceName
:
{{
include "eechart.fullname" .
}}
replicas
:
{{
.Values.replicaCount
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment