1
0
forked from k-space/kube
kube/longhorn-system/changes.diff

93 lines
2.6 KiB
Diff
Raw Normal View History

2023-05-18 19:46:54 +00:00
--- application.yml2 2023-05-18 22:19:47.918873914 +0300
+++ application.yml 2023-05-18 22:19:40.226773807 +0300
@@ -60,14 +60,14 @@
storageclass.kubernetes.io/is-default-class: "true"
provisioner: driver.longhorn.io
allowVolumeExpansion: true
- reclaimPolicy: "Delete"
+ reclaimPolicy: "Retain"
volumeBindingMode: Immediate
parameters:
- numberOfReplicas: "3"
+ numberOfReplicas: "2"
staleReplicaTimeout: "30"
fromBackup: ""
- fsType: "ext4"
- dataLocality: "disabled"
+ fsType: "xfs"
+ dataLocality: "best-effort"
---
# Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1
2023-05-18 19:46:54 +00:00
@@ -3877,6 +3877,11 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-manager
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
initContainers:
- name: wait-longhorn-admission-webhook
2023-05-18 19:46:54 +00:00
image: longhornio/longhorn-manager:v1.4.2
@@ -3976,6 +3981,10 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-driver-deployer
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
initContainers:
- name: wait-longhorn-manager
2023-05-18 19:46:54 +00:00
image: longhornio/longhorn-manager:v1.4.2
@@ -4045,6 +4054,11 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-recovery-backend
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
2023-05-18 19:46:54 +00:00
@@ -4111,6 +4125,11 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-ui
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
2023-05-18 19:46:54 +00:00
@@ -4174,6 +4193,11 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-conversion-webhook
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
2023-05-18 19:46:54 +00:00
@@ -4234,6 +4258,11 @@
app.kubernetes.io/version: v1.4.2
app: longhorn-admission-webhook
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: