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
10617ae6
Commit
10617ae6
authored
May 12, 2021
by
bravof
Browse files
bugfix(setcomm): affinity for snmp exporter and vnf label for chart statefulset
parent
0e56fe02
Pipeline
#662
passed with stage
in 1 minute and 21 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
snmp_setcomm_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
...rts/eechart/charts/snmpexporter/templates/deployment.yaml
+10
-0
snmp_setcomm_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
...omm_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
+1
-0
No files found.
snmp_setcomm_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
View file @
10617ae6
...
...
@@ -14,6 +14,16 @@ spec:
labels
:
{{
- include "snmpexporter.selectorLabels" . | nindent 8
}}
spec
:
affinity
:
podAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
-
labelSelector
:
matchExpressions
:
-
key
:
vnf
operator
:
In
values
:
-
{{
.Values.global.osm.vnf_id | lower
}}
topologyKey
:
"
kubernetes.io/hostname"
securityContext
:
runAsUser
:
0
initContainers
:
...
...
snmp_setcomm_ee_vnf/helm-charts/eechart/templates/statefulset.yaml
View file @
10617ae6
...
...
@@ -16,6 +16,7 @@ spec:
labels
:
app.kubernetes.io/name
:
{{
include "eechart.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
vnf
:
{{
.Values.global.osm.vnf_id | lower
}}
spec
:
imagePullSecrets
:
-
name
:
regcred
...
...
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