Skip to content
Snippets Groups Projects
Commit 1a67ab36 authored by paulfantom's avatar paulfantom
Browse files

jsonnet: annotate default container for node-exporter DS


Signed-off-by: default avatarpaulfantom <pawel@krupa.net.pl>
parent 617bcd2d
No related branches found
No related tags found
No related merge requests found
...@@ -233,7 +233,12 @@ function(params) { ...@@ -233,7 +233,12 @@ function(params) {
rollingUpdate: { maxUnavailable: '10%' }, rollingUpdate: { maxUnavailable: '10%' },
}, },
template: { template: {
metadata: { labels: ne._config.commonLabels }, metadata: {
annotations: {
'kubectl.kubernetes.io/default-container': nodeExporter.name,
},
labels: ne._config.commonLabels,
},
spec: { spec: {
nodeSelector: { 'kubernetes.io/os': 'linux' }, nodeSelector: { 'kubernetes.io/os': 'linux' },
tolerations: [{ tolerations: [{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment