1
0
Fork 0

update longhorn and grafana, add new share to nextcloud

This commit is contained in:
Massaki Archambault 2023-03-13 16:20:30 -04:00
parent ffaff09a89
commit f98182e9c0
6 changed files with 37 additions and 16 deletions

View File

@ -19,7 +19,7 @@ prod: diff
.PHONY: diff
diff: $(PRODOUT)
$(KUBECTL) $(KUBECTLFLAGS) diff $(KUBECTLDIFFFLAGS) -f $(PRODOUT) | $(KUBECTLDIFFCOLOR)
$(KUBECTL) $(KUBECTLFLAGS) diff $(KUBECTLDIFFFLAGS) -f $(PRODOUT) | $(KUBECTLDIFFPRINTER)
.PHONY: apply
apply: $(PRODOUT)

View File

@ -6,7 +6,7 @@ metadata:
spec:
repo: https://charts.longhorn.io
chart: longhorn
version: 1.3.0
version: 1.4.0
targetNamespace: longhorn-system
set:
backupTargetCredentialSecret: s3-backupstore-credentials

View File

@ -21,14 +21,23 @@ spec:
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
# TODO: eviction policy
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 1
# preference:
# matchExpressions:
# # prefer being on an x64 node, for the extra oomf
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
# prefer being on an x64 node, for the extra oomf
- key: kubernetes.io/arch
- key: kubernetes.io/arch
operator: In
values:
values:
- amd64
tolerations:
- key: kubernetes.io/arch

View File

@ -37,8 +37,8 @@ spec:
fsGroup: 65534
resources:
requests:
cpu: 2000m
memory: 2Gi
cpu: 1000m
memory: 1Gi
limits:
cpu: 2000m
memory: 2Gi

View File

@ -18,7 +18,7 @@ images:
- name: gitea/gitea
newTag: 1.16.9
- name: grafana/grafana
newTag: 9.2.1
newTag: 9.4.3
# - name: prom/node-exporter
# newTag: v0.18.1
- name: prom/blackbox-exporter

View File

@ -1,12 +1,24 @@
- op: add
path: /spec/template/spec/containers/0/volumeMounts/0
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: share-bajdware-nfs
name: share-badjware-nfs
mountPath: /share/badjware
- op: add
path: /spec/template/spec/volumes/0
path: /spec/template/spec/volumes/-
value:
name: share-bajdware-nfs
name: share-badjware-nfs
nfs:
server: 192.168.20.30
path: /mnt/pool0/badjware
path: /mnt/pool0/badjware
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: share-media-nfs
mountPath: /share/media
- op: add
path: /spec/template/spec/volumes/-
value:
name: share-media-nfs
nfs:
server: 192.168.20.30
path: /mnt/pool0/media