jsonnet: annotate default container for node-exporter DS
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
1 parent
617bcd2d25
commit
1a67ab3655
1 file changed
+6
-1
@@ -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: [{
|
||||
|
||||
Reference in new issue
Block a user