Upgrade to Longhorn 1.5.1

This commit is contained in:
Lauri Võsandi 2023-07-25 22:33:43 +03:00
parent 0b5c14903a
commit 5d8670104a
3 changed files with 396 additions and 431 deletions

View File

@ -3,7 +3,7 @@
Pull the manifest and apply changes
```
wget https://raw.githubusercontent.com/longhorn/longhorn/v1.4.2/deploy/longhorn.yaml -O application.yml
wget https://raw.githubusercontent.com/longhorn/longhorn/v1.5.1/deploy/longhorn.yaml -O application.yml
patch -p0 < changes.diff
```

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
--- application.yml2 2023-05-18 22:19:47.918873914 +0300
+++ application.yml 2023-05-18 22:19:40.226773807 +0300
--- application.yml 2023-07-25 22:20:02.300421340 +0300
+++ application.modded 2023-07-25 22:19:47.040360210 +0300
@@ -60,14 +60,14 @@
storageclass.kubernetes.io/is-default-class: "true"
provisioner: driver.longhorn.io
@ -19,8 +19,8 @@
---
# Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1
@@ -3877,6 +3877,11 @@
app.kubernetes.io/version: v1.4.2
@@ -4085,6 +4085,15 @@
app.kubernetes.io/version: v1.5.1
app: longhorn-manager
spec:
+ tolerations:
@ -28,65 +28,26 @@
+ operator: Equal
+ value: storage
+ effect: NoSchedule
initContainers:
- name: wait-longhorn-admission-webhook
image: longhornio/longhorn-manager:v1.4.2
@@ -3976,6 +3981,10 @@
app.kubernetes.io/version: v1.4.2
+ - key: arch
+ operator: Equal
+ value: arm64
+ effect: NoSchedule
containers:
- name: longhorn-manager
image: longhornio/longhorn-manager:v1.5.1
@@ -4188,6 +4197,15 @@
app.kubernetes.io/version: v1.5.1
app: longhorn-driver-deployer
spec:
+ tolerations:
+ - key: dedicated
+ operator: Equal
+ value: storage
+ effect: NoSchedule
+ - key: arch
+ operator: Equal
+ value: arm64
+ effect: NoSchedule
initContainers:
- name: wait-longhorn-manager
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:
@@ -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:
@@ -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:
@@ -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:
image: longhornio/longhorn-manager:v1.5.1