Compare commits
2 Commits
0e018aac82
...
f98182e9c0
Author | SHA1 | Date |
---|---|---|
Massaki Archambault | f98182e9c0 | |
Massaki Archambault | ffaff09a89 |
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -37,8 +37,8 @@ spec:
|
|||
fsGroup: 65534
|
||||
resources:
|
||||
requests:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
|
|
|
@ -4,8 +4,6 @@ resources:
|
|||
- traefik-helmchartconfig.yaml
|
||||
- traefik-ingress.yaml
|
||||
|
||||
namePrefix: traefik-
|
||||
|
||||
namespace: kube-system
|
||||
|
||||
commonLabels:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue