1
0
forked from k-space/kube

Upgrade to Longhorn 1.4.2

This commit is contained in:
Lauri Võsandi 2023-05-18 22:46:54 +03:00
parent b415b8ca56
commit f14d2933d0
3 changed files with 99 additions and 89 deletions

View File

@ -1,10 +1,13 @@
# Longhorn distributed block storage system # Longhorn distributed block storage system
The manifest was fetched from Pull the manifest and apply changes
https://raw.githubusercontent.com/longhorn/longhorn/v1.4.0/deploy/longhorn.yaml
and then heavily modified as per `changes.diff`
To deploy Longhorn use following: ```
wget https://raw.githubusercontent.com/longhorn/longhorn/v1.4.2/deploy/longhorn.yaml -O application.yml
patch -p0 < changes.diff
```
To upgrade use following:
``` ```
kubectl -n longhorn-system apply -f application.yml -f application-extras.yml kubectl -n longhorn-system apply -f application.yml -f application-extras.yml
@ -14,7 +17,3 @@ After deploying specify `dedicated=storage:NoSchedule`
for `Kubernetes Taint Toleration` under `Setting -> General` on for `Kubernetes Taint Toleration` under `Setting -> General` on
[Longhorn Dashboard](https://longhorn.k-space.ee/). [Longhorn Dashboard](https://longhorn.k-space.ee/).
Proceed to tag suitable nodes with `storage` and disable Longhorn scheduling on others. Proceed to tag suitable nodes with `storage` and disable Longhorn scheduling on others.
# Known issues
* Longhorn does not support [trim](https://github.com/longhorn/longhorn/issues/836)

View File

@ -14,7 +14,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
--- ---
# Source: longhorn/templates/serviceaccount.yaml # Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1 apiVersion: v1
@ -25,7 +25,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
--- ---
# Source: longhorn/templates/default-setting.yaml # Source: longhorn/templates/default-setting.yaml
apiVersion: v1 apiVersion: v1
@ -36,7 +36,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
data: data:
default-setting.yaml: |- default-setting.yaml: |-
--- ---
@ -49,7 +49,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
data: data:
storageclass.yaml: | storageclass.yaml: |
kind: StorageClass kind: StorageClass
@ -79,7 +79,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backingimagedatasources.longhorn.io name: backingimagedatasources.longhorn.io
spec: spec:
@ -250,7 +250,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backingimagemanagers.longhorn.io name: backingimagemanagers.longhorn.io
spec: spec:
@ -435,7 +435,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backingimages.longhorn.io name: backingimages.longhorn.io
spec: spec:
@ -610,7 +610,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backups.longhorn.io name: backups.longhorn.io
spec: spec:
@ -803,7 +803,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backuptargets.longhorn.io name: backuptargets.longhorn.io
spec: spec:
@ -986,7 +986,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: backupvolumes.longhorn.io name: backupvolumes.longhorn.io
spec: spec:
@ -1150,7 +1150,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: engineimages.longhorn.io name: engineimages.longhorn.io
spec: spec:
@ -1342,7 +1342,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: engines.longhorn.io name: engines.longhorn.io
spec: spec:
@ -1691,7 +1691,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: instancemanagers.longhorn.io name: instancemanagers.longhorn.io
spec: spec:
@ -1776,7 +1776,7 @@ spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
properties: properties:
engineImage: engineImage:
description: 'TODO: deprecate this field' description: 'Deprecated: This field is useless.'
type: string type: string
image: image:
type: string type: string
@ -1861,7 +1861,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: nodes.longhorn.io name: nodes.longhorn.io
spec: spec:
@ -2100,7 +2100,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: orphans.longhorn.io name: orphans.longhorn.io
spec: spec:
@ -2269,7 +2269,7 @@ spec:
jsonPath: .spec.groups jsonPath: .spec.groups
name: Groups name: Groups
type: string type: string
- description: Should be one of "backup" or "snapshot" - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup" or "backup-force-create"
jsonPath: .spec.task jsonPath: .spec.task
name: Task name: Task
type: string type: string
@ -2331,10 +2331,14 @@ spec:
description: The retain count of the snapshot/backup. description: The retain count of the snapshot/backup.
type: integer type: integer
task: task:
description: The recurring job type. Can be "snapshot" or "backup". description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup" or "backup-force-create".
enum: enum:
- snapshot - snapshot
- snapshot-force-create
- snapshot-cleanup
- snapshot-delete
- backup - backup
- backup-force-create
type: string type: string
type: object type: object
status: status:
@ -2366,7 +2370,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: replicas.longhorn.io name: replicas.longhorn.io
spec: spec:
@ -2584,7 +2588,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: settings.longhorn.io name: settings.longhorn.io
spec: spec:
@ -2675,7 +2679,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: sharemanagers.longhorn.io name: sharemanagers.longhorn.io
spec: spec:
@ -2786,7 +2790,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: snapshots.longhorn.io name: snapshots.longhorn.io
spec: spec:
@ -2913,7 +2917,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: supportbundles.longhorn.io name: supportbundles.longhorn.io
spec: spec:
@ -3039,7 +3043,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: systembackups.longhorn.io name: systembackups.longhorn.io
spec: spec:
@ -3162,7 +3166,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: systemrestores.longhorn.io name: systemrestores.longhorn.io
spec: spec:
@ -3264,7 +3268,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
longhorn-manager: "" longhorn-manager: ""
name: volumes.longhorn.io name: volumes.longhorn.io
spec: spec:
@ -3438,7 +3442,7 @@ spec:
recurringJobs: recurringJobs:
description: Deprecated. Replaced by a separate resource named "RecurringJob" description: Deprecated. Replaced by a separate resource named "RecurringJob"
items: items:
description: 'VolumeRecurringJobSpec is a deprecated struct. TODO: Should be removed when recurringJobs gets removed from the volume spec.' description: 'Deprecated: This field is useless and has been replaced by the RecurringJob CRD'
properties: properties:
concurrency: concurrency:
type: integer type: integer
@ -3459,7 +3463,11 @@ spec:
task: task:
enum: enum:
- snapshot - snapshot
- snapshot-force-create
- snapshot-cleanup
- snapshot-delete
- backup - backup
- backup-force-create
type: string type: string
type: object type: object
type: array type: array
@ -3616,7 +3624,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
rules: rules:
- apiGroups: - apiGroups:
- apiextensions.k8s.io - apiextensions.k8s.io
@ -3681,7 +3689,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -3699,7 +3707,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -3716,7 +3724,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-manager app: longhorn-manager
name: longhorn-backend name: longhorn-backend
namespace: longhorn-system namespace: longhorn-system
@ -3737,7 +3745,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-ui app: longhorn-ui
name: longhorn-frontend name: longhorn-frontend
namespace: longhorn-system namespace: longhorn-system
@ -3758,7 +3766,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-conversion-webhook app: longhorn-conversion-webhook
name: longhorn-conversion-webhook name: longhorn-conversion-webhook
namespace: longhorn-system namespace: longhorn-system
@ -3779,7 +3787,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-admission-webhook app: longhorn-admission-webhook
name: longhorn-admission-webhook name: longhorn-admission-webhook
namespace: longhorn-system namespace: longhorn-system
@ -3800,7 +3808,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-recovery-backend app: longhorn-recovery-backend
name: longhorn-recovery-backend name: longhorn-recovery-backend
namespace: longhorn-system namespace: longhorn-system
@ -3821,7 +3829,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
name: longhorn-engine-manager name: longhorn-engine-manager
namespace: longhorn-system namespace: longhorn-system
spec: spec:
@ -3837,7 +3845,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
name: longhorn-replica-manager name: longhorn-replica-manager
namespace: longhorn-system namespace: longhorn-system
spec: spec:
@ -3853,7 +3861,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-manager app: longhorn-manager
name: longhorn-manager name: longhorn-manager
namespace: longhorn-system namespace: longhorn-system
@ -3866,7 +3874,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-manager app: longhorn-manager
spec: spec:
tolerations: tolerations:
@ -3876,11 +3884,11 @@ spec:
effect: NoSchedule effect: NoSchedule
initContainers: initContainers:
- name: wait-longhorn-admission-webhook - name: wait-longhorn-admission-webhook
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-admission-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done'] command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-admission-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done']
containers: containers:
- name: longhorn-manager - name: longhorn-manager
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
privileged: true privileged: true
@ -3889,17 +3897,17 @@ spec:
- -d - -d
- daemon - daemon
- --engine-image - --engine-image
- "longhornio/longhorn-engine:v1.4.0" - "longhornio/longhorn-engine:v1.4.2"
- --instance-manager-image - --instance-manager-image
- "longhornio/longhorn-instance-manager:v1.4.0" - "longhornio/longhorn-instance-manager:v1.4.2"
- --share-manager-image - --share-manager-image
- "longhornio/longhorn-share-manager:v1.4.0" - "longhornio/longhorn-share-manager:v1.4.2"
- --backing-image-manager-image - --backing-image-manager-image
- "longhornio/backing-image-manager:v1.4.0" - "longhornio/backing-image-manager:v1.4.2"
- --support-bundle-manager-image - --support-bundle-manager-image
- "longhornio/support-bundle-kit:v0.0.17" - "longhornio/support-bundle-kit:v0.0.24"
- --manager-image - --manager-image
- "longhornio/longhorn-manager:v1.4.0" - "longhornio/longhorn-manager:v1.4.2"
- --service-account - --service-account
- longhorn-service-account - longhorn-service-account
ports: ports:
@ -3959,7 +3967,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@ -3970,7 +3978,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-driver-deployer app: longhorn-driver-deployer
spec: spec:
tolerations: tolerations:
@ -3979,18 +3987,18 @@ spec:
value: storage value: storage
initContainers: initContainers:
- name: wait-longhorn-manager - name: wait-longhorn-manager
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done']
containers: containers:
- name: longhorn-driver-deployer - name: longhorn-driver-deployer
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- longhorn-manager - longhorn-manager
- -d - -d
- deploy-driver - deploy-driver
- --manager-image - --manager-image
- "longhornio/longhorn-manager:v1.4.0" - "longhornio/longhorn-manager:v1.4.2"
- --manager-url - --manager-url
- http://longhorn-backend:9500/v1 - http://longhorn-backend:9500/v1
env: env:
@ -4029,7 +4037,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-recovery-backend app: longhorn-recovery-backend
name: longhorn-recovery-backend name: longhorn-recovery-backend
namespace: longhorn-system namespace: longhorn-system
@ -4043,7 +4051,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-recovery-backend app: longhorn-recovery-backend
spec: spec:
tolerations: tolerations:
@ -4065,7 +4073,7 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
containers: containers:
- name: longhorn-recovery-backend - name: longhorn-recovery-backend
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 2000 runAsUser: 2000
@ -4100,7 +4108,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-ui app: longhorn-ui
name: longhorn-ui name: longhorn-ui
namespace: longhorn-system namespace: longhorn-system
@ -4114,7 +4122,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-ui app: longhorn-ui
spec: spec:
tolerations: tolerations:
@ -4136,7 +4144,7 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
containers: containers:
- name: longhorn-ui - name: longhorn-ui
image: longhornio/longhorn-ui:v1.4.0 image: longhornio/longhorn-ui:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name : nginx-cache - name : nginx-cache
@ -4168,7 +4176,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-conversion-webhook app: longhorn-conversion-webhook
name: longhorn-conversion-webhook name: longhorn-conversion-webhook
namespace: longhorn-system namespace: longhorn-system
@ -4182,7 +4190,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-conversion-webhook app: longhorn-conversion-webhook
spec: spec:
tolerations: tolerations:
@ -4204,7 +4212,7 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
containers: containers:
- name: longhorn-conversion-webhook - name: longhorn-conversion-webhook
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 2000 runAsUser: 2000
@ -4233,7 +4241,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-admission-webhook app: longhorn-admission-webhook
name: longhorn-admission-webhook name: longhorn-admission-webhook
namespace: longhorn-system namespace: longhorn-system
@ -4247,7 +4255,7 @@ spec:
labels: labels:
app.kubernetes.io/name: longhorn app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-admission-webhook app: longhorn-admission-webhook
spec: spec:
tolerations: tolerations:
@ -4269,14 +4277,14 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
initContainers: initContainers:
- name: wait-longhorn-conversion-webhook - name: wait-longhorn-conversion-webhook
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-conversion-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done'] command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-conversion-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done']
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 2000 runAsUser: 2000
containers: containers:
- name: longhorn-admission-webhook - name: longhorn-admission-webhook
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 2000 runAsUser: 2000
@ -4301,3 +4309,6 @@ spec:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
serviceAccountName: longhorn-service-account serviceAccountName: longhorn-service-account
---
# Source: longhorn/templates/validate-psp-install.yaml
#

View File

@ -1,5 +1,5 @@
--- ref 2023-02-20 11:15:07.340650467 +0200 --- application.yml2 2023-05-18 22:19:47.918873914 +0300
+++ application.yml 2023-02-19 18:38:05.059234209 +0200 +++ application.yml 2023-05-18 22:19:40.226773807 +0300
@@ -60,14 +60,14 @@ @@ -60,14 +60,14 @@
storageclass.kubernetes.io/is-default-class: "true" storageclass.kubernetes.io/is-default-class: "true"
provisioner: driver.longhorn.io provisioner: driver.longhorn.io
@ -19,8 +19,8 @@
--- ---
# Source: longhorn/templates/crds.yaml # Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
@@ -3869,6 +3869,11 @@ @@ -3877,6 +3877,11 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-manager app: longhorn-manager
spec: spec:
+ tolerations: + tolerations:
@ -30,9 +30,9 @@
+ effect: NoSchedule + effect: NoSchedule
initContainers: initContainers:
- name: wait-longhorn-admission-webhook - name: wait-longhorn-admission-webhook
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
@@ -3968,6 +3973,10 @@ @@ -3976,6 +3981,10 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-driver-deployer app: longhorn-driver-deployer
spec: spec:
+ tolerations: + tolerations:
@ -41,9 +41,9 @@
+ value: storage + value: storage
initContainers: initContainers:
- name: wait-longhorn-manager - name: wait-longhorn-manager
image: longhornio/longhorn-manager:v1.4.0 image: longhornio/longhorn-manager:v1.4.2
@@ -4037,6 +4046,11 @@ @@ -4045,6 +4054,11 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-recovery-backend app: longhorn-recovery-backend
spec: spec:
+ tolerations: + tolerations:
@ -54,8 +54,8 @@
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
@@ -4103,6 +4117,11 @@ @@ -4111,6 +4125,11 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-ui app: longhorn-ui
spec: spec:
+ tolerations: + tolerations:
@ -66,8 +66,8 @@
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
@@ -4166,6 +4185,11 @@ @@ -4174,6 +4193,11 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-conversion-webhook app: longhorn-conversion-webhook
spec: spec:
+ tolerations: + tolerations:
@ -78,8 +78,8 @@
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
@@ -4226,6 +4250,11 @@ @@ -4234,6 +4258,11 @@
app.kubernetes.io/version: v1.4.0 app.kubernetes.io/version: v1.4.2
app: longhorn-admission-webhook app: longhorn-admission-webhook
spec: spec:
+ tolerations: + tolerations: