-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
79 lines (77 loc) · 2.17 KB
/
helmrelease.yaml
File metadata and controls
79 lines (77 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
# yaml-language-server: $schema=https://kube-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: longhorn
spec:
interval: 30m
chart:
spec:
chart: longhorn
version: 1.10.1
sourceRef:
kind: HelmRepository
name: longhorn
namespace: flux-system
install:
crds: Create
remediation:
retries: 3
upgrade:
cleanupOnFail: true
crds: CreateReplace
remediation:
strategy: rollback
retries: 4
driftDetection:
mode: enabled
values:
# Regression in 1.10.0, see https://github.com/longhorn/longhorn/releases/tag/v1.10.0
image:
longhorn:
manager:
tag: "v1.10.0-hotfix-1"
persistence:
defaultClass: true
defaultClassReplicaCount: 2
defaultSettings:
defaultReplicaCount: "2"
defaultDataPath: /var/lib/longhorn
priorityClass: system-cluster-critical
createDefaultDiskLabeledNodes: true
defaultDataLocality: "best-effort"
replicaAutoBalance: "best-effort"
storageMinimalAvailablePercentage: "1"
storageReservedPercentageForDefaultDisk: "10"
defaultLonghornStaticStorageClass: longhorn
nodeDownPodDeletionPolicy: delete-both-statefulset-and-deployment-pod
concurrentAutomaticEngineUpgradePerNodeLimit: "3"
orphanAutoDeletion: true
taintToleration: "martin.com/gpu=nvidia:NoSchedule"
v1DataEngine: true
v2DataEngine: false
defaultBackupStore:
backupTarget: "${SECRET_BACKUP_TARGET}"
longhornManager:
priorityClass: system-cluster-critical
tolerations: &tolerations
- key: martin.com/gpu
operator: Equal
value: nvidia
effect: NoSchedule
longhornDriver:
priorityClass: system-cluster-critical
tolerations: *tolerations
global:
tolerations: *tolerations
ingress:
enabled: true
annotations:
external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
ingressClassName: internal
host: longhorn.${SECRET_DOMAIN}
pathType: Prefix
metrics:
serviceMonitor:
enabled: true