Merge pull request #1462 from paulfantom/node-exporter-default-container

This commit is contained in:
Paweł Krupa
2021-10-25 20:12:18 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -233,7 +233,12 @@ function(params) {
rollingUpdate: { maxUnavailable: '10%' },
},
template: {
metadata: { labels: ne._config.commonLabels },
metadata: {
annotations: {
'kubectl.kubernetes.io/default-container': nodeExporter.name,
},
labels: ne._config.commonLabels,
},
spec: {
nodeSelector: { 'kubernetes.io/os': 'linux' },
tolerations: [{