Merge pull request #1462 from paulfantom/node-exporter-default-container
This commit is contained in:
@@ -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: [{
|
||||
|
||||
@@ -16,6 +16,8 @@ spec:
|
||||
app.kubernetes.io/part-of: kube-prometheus
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/default-container: node-exporter
|
||||
labels:
|
||||
app.kubernetes.io/component: exporter
|
||||
app.kubernetes.io/name: node-exporter
|
||||
|
||||
Reference in New Issue
Block a user