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
|
.PHONY: diff
|
||||||
diff: $(PRODOUT)
|
diff: $(PRODOUT)
|
||||||
$(KUBECTL) $(KUBECTLFLAGS) diff $(KUBECTLDIFFFLAGS) -f $(PRODOUT) | $(KUBECTLDIFFCOLOR)
|
$(KUBECTL) $(KUBECTLFLAGS) diff $(KUBECTLDIFFFLAGS) -f $(PRODOUT) | $(KUBECTLDIFFPRINTER)
|
||||||
|
|
||||||
.PHONY: apply
|
.PHONY: apply
|
||||||
apply: $(PRODOUT)
|
apply: $(PRODOUT)
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
repo: https://charts.longhorn.io
|
repo: https://charts.longhorn.io
|
||||||
chart: longhorn
|
chart: longhorn
|
||||||
version: 1.3.0
|
version: 1.4.0
|
||||||
targetNamespace: longhorn-system
|
targetNamespace: longhorn-system
|
||||||
set:
|
set:
|
||||||
backupTargetCredentialSecret: s3-backupstore-credentials
|
backupTargetCredentialSecret: s3-backupstore-credentials
|
||||||
|
|
|
@ -21,14 +21,23 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
# TODO: eviction policy
|
||||||
- weight: 1
|
# preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
preference:
|
# - weight: 1
|
||||||
matchExpressions:
|
# 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
|
# prefer being on an x64 node, for the extra oomf
|
||||||
- key: kubernetes.io/arch
|
- key: kubernetes.io/arch
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- amd64
|
- amd64
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: kubernetes.io/arch
|
- key: kubernetes.io/arch
|
||||||
|
|
|
@ -37,8 +37,8 @@ spec:
|
||||||
fsGroup: 65534
|
fsGroup: 65534
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2000m
|
cpu: 1000m
|
||||||
memory: 2Gi
|
memory: 1Gi
|
||||||
limits:
|
limits:
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
|
|
|
@ -4,8 +4,6 @@ resources:
|
||||||
- traefik-helmchartconfig.yaml
|
- traefik-helmchartconfig.yaml
|
||||||
- traefik-ingress.yaml
|
- traefik-ingress.yaml
|
||||||
|
|
||||||
namePrefix: traefik-
|
|
||||||
|
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
|
|
|
@ -18,7 +18,7 @@ images:
|
||||||
- name: gitea/gitea
|
- name: gitea/gitea
|
||||||
newTag: 1.16.9
|
newTag: 1.16.9
|
||||||
- name: grafana/grafana
|
- name: grafana/grafana
|
||||||
newTag: 9.2.1
|
newTag: 9.4.3
|
||||||
# - name: prom/node-exporter
|
# - name: prom/node-exporter
|
||||||
# newTag: v0.18.1
|
# newTag: v0.18.1
|
||||||
- name: prom/blackbox-exporter
|
- name: prom/blackbox-exporter
|
||||||
|
|
|
@ -1,12 +1,24 @@
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/volumeMounts/0
|
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||||
value:
|
value:
|
||||||
name: share-bajdware-nfs
|
name: share-badjware-nfs
|
||||||
mountPath: /share/badjware
|
mountPath: /share/badjware
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/volumes/0
|
path: /spec/template/spec/volumes/-
|
||||||
value:
|
value:
|
||||||
name: share-bajdware-nfs
|
name: share-badjware-nfs
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.20.30
|
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