mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-26 08:51:33 +02:00
jsonnet: annotate default container for node-exporter DS
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
parent
617bcd2d25
commit
1a67ab3655
@ -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: [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user