@ -53,6 +53,8 @@ spec:
|
|||||||
app.kubernetes.io/version: {{ $.Chart.Version }}
|
app.kubernetes.io/version: {{ $.Chart.Version }}
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
{{- toYaml .Values.nfc_monitoring.grafana.affinity | nindent 12 }}
|
||||||
containers:
|
containers:
|
||||||
- name: grafana
|
- name: grafana
|
||||||
image: "{{ .Values.nfc_monitoring.grafana.image.name }}:{{ .Values.nfc_monitoring.grafana.image.tag }}"
|
image: "{{ .Values.nfc_monitoring.grafana.image.name }}:{{ .Values.nfc_monitoring.grafana.image.tag }}"
|
||||||
|
38
values.yaml
38
values.yaml
@ -19,15 +19,43 @@ nfc_monitoring:
|
|||||||
|
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image:
|
|
||||||
name: grafana/grafana
|
|
||||||
tag: '10.1.2' # '10.0.5'
|
|
||||||
namespace: grafana
|
|
||||||
replicas: 1
|
|
||||||
|
|
||||||
admin_user: admin
|
admin_user: admin
|
||||||
admin_password: admin
|
admin_password: admin
|
||||||
|
|
||||||
|
image:
|
||||||
|
name: grafana/grafana
|
||||||
|
tag: '10.1.2' # '10.0.5'
|
||||||
|
|
||||||
|
namespace: grafana
|
||||||
|
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- preference:
|
||||||
|
matchExpressions:
|
||||||
|
- key: node-role.kubernetes.io/worker
|
||||||
|
operator: Exists
|
||||||
|
weight: 100
|
||||||
|
- preference:
|
||||||
|
matchExpressions:
|
||||||
|
- key: node-role.kubernetes.io/storage
|
||||||
|
operator: DoesNotExist
|
||||||
|
weight: 100
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- prometheus
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
weight: 10
|
||||||
|
|
||||||
|
|
||||||
grafana_agent:
|
grafana_agent:
|
||||||
image:
|
image:
|
||||||
|
Reference in New Issue
Block a user