Compare commits
3 Commits
b42f066cde
...
03875328a6
Author | SHA1 | Date | |
---|---|---|---|
03875328a6 | |||
d2d766696c | |||
1f096a8379 |
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user