Compare commits

...

3 Commits

3 changed files with 18 additions and 7 deletions

View File

@ -12,13 +12,25 @@ spec:
labels: labels:
app: grafana app: grafana
spec: spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: cnpg.io/cluster
operator: In
values:
- grafana-db
topologyKey: "kubernetes.io/hostname"
securityContext: securityContext:
fsGroup: 472 fsGroup: 472
supplementalGroups: supplementalGroups:
- 0 - 0
containers: containers:
- name: grafana - name: grafana
image: grafana/grafana:11.6.0 image: grafana/grafana:12.0.0
ports: ports:
- containerPort: 3000 - containerPort: 3000
readinessProbe: readinessProbe:

View File

@ -24,7 +24,6 @@ spec:
requests: requests:
storage: 50Gi storage: 50Gi
securityContext: securityContext:
runAsNonRoot: true
fsGroup: 2000 fsGroup: 2000
runAsUser: 1000 runAsUser: 1000
alerting: alerting:

View File

@ -31,11 +31,11 @@ spec:
- mountPath: /var/lib/docker/containers - mountPath: /var/lib/docker/containers
name: varlibdockercontainers name: varlibdockercontainers
readOnly: true readOnly: true
tolerations: #tolerations:
- key: type # - key: type
operator: Equal # operator: Equal
value: services # value: services
effect: NoSchedule # effect: NoSchedule
volumes: volumes:
- name: logs - name: logs
hostPath: hostPath: