Merge pull request #16 from dgarson/add-hostnetwork-config
Add support for hostNetwork override
This commit is contained in:
commit
5c20089278
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
description: A chart for a Cadvisor deployment
|
description: A chart for a Cadvisor deployment
|
||||||
name: cadvisor
|
name: cadvisor
|
||||||
version: 1.1.2
|
version: 1.1.3
|
||||||
appVersion: 0.36.0
|
appVersion: 0.36.0
|
||||||
home: https://github.com/google/cadvisor
|
home: https://github.com/google/cadvisor
|
||||||
sources:
|
sources:
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
||||||
|
{{ if .Values.hostNetwork }}
|
||||||
|
hostNetwork: true
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ template "cadvisor.name" . }}
|
- name: {{ template "cadvisor.name" . }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,9 @@ resources: {}
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
# sometimes errors are encountered when using the cpu load reader without being on the host network
|
||||||
|
hostNetwork: false
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# Specifies whether a service account should be created
|
# Specifies whether a service account should be created
|
||||||
create: true
|
create: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue