Upgrade longhorn to 1.6.2

This commit is contained in:
Erki Aas 2024-07-07 14:38:02 +03:00
parent 9b4976450f
commit 71d968a815
2 changed files with 338 additions and 83 deletions

View File

@ -5,6 +5,20 @@ kind: Namespace
metadata:
name: longhorn-system
---
# Source: longhorn/templates/priorityclass.yaml
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: "longhorn-critical"
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.6.2
description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure"
globalDefault: false
preemptionPolicy: PreemptLowerPriority
value: 1000000000
---
# Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
@ -14,7 +28,18 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
---
# Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: longhorn-ui-service-account
namespace: longhorn-system
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.6.2
---
# Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1
@ -25,7 +50,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
---
# Source: longhorn/templates/default-setting.yaml
apiVersion: v1
@ -36,9 +61,10 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
data:
default-setting.yaml: |-
priority-class: longhorn-critical
---
# Source: longhorn/templates/storageclass.yaml
apiVersion: v1
@ -49,7 +75,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
data:
storageclass.yaml: |
kind: StorageClass
@ -80,7 +106,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backingimagedatasources.longhorn.io
spec:
@ -199,6 +225,7 @@ spec:
- download
- upload
- export-from-volume
- restore
type: string
uuid:
type: string
@ -251,7 +278,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backingimagemanagers.longhorn.io
spec:
@ -430,7 +457,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backingimages.longhorn.io
spec:
@ -537,6 +564,7 @@ spec:
- download
- upload
- export-from-volume
- restore
type: string
type: object
status:
@ -590,6 +618,147 @@ status:
# Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
labels:
longhorn-manager: ""
name: backupbackingimages.longhorn.io
spec:
group: longhorn.io
names:
kind: BackupBackingImage
listKind: BackupBackingImageList
plural: backupbackingimages
shortNames:
- lhbbi
singular: backupbackingimage
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: The backing image name
jsonPath: .status.backingImage
name: BackingImage
type: string
- description: The backing image size
jsonPath: .status.size
name: Size
type: string
- description: The backing image backup upload finished time
jsonPath: .status.backupCreatedAt
name: BackupCreatedAt
type: string
- description: The backing image backup state
jsonPath: .status.state
name: State
type: string
- description: The last synced time
jsonPath: .status.lastSyncedAt
name: LastSyncedAt
type: string
name: v1beta2
schema:
openAPIV3Schema:
description: BackupBackingImage is where Longhorn stores backing image backup object.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: BackupBackingImageSpec defines the desired state of the Longhorn backing image backup
properties:
labels:
additionalProperties:
type: string
description: The labels of backing image backup.
type: object
syncRequestedAt:
description: The time to request run sync the remote backing image backup.
format: date-time
nullable: true
type: string
userCreated:
description: Is this CR created by user through API or UI. Required
type: boolean
required:
- userCreated
type: object
status:
description: BackupBackingImageStatus defines the observed state of the Longhorn backing image backup
properties:
backingImage:
description: The backing image name.
type: string
backupCreatedAt:
description: The backing image backup upload finished time.
type: string
checksum:
description: The checksum of the backing image.
type: string
compressionMethod:
description: Compression method
type: string
error:
description: The error message when taking the backing image backup.
type: string
labels:
additionalProperties:
type: string
description: The labels of backing image backup.
nullable: true
type: object
lastSyncedAt:
description: The last time that the backing image backup was synced with the remote backup target.
format: date-time
nullable: true
type: string
managerAddress:
description: The address of the backing image manager that runs backing image backup.
type: string
messages:
additionalProperties:
type: string
description: The error messages when listing or inspecting backing image backup.
nullable: true
type: object
ownerID:
description: The node ID on which the controller is responsible to reconcile this CR.
type: string
progress:
description: The backing image backup progress.
type: integer
size:
description: The backing image size.
format: int64
type: integer
state:
description: The backing image backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown".
type: string
url:
description: The backing image backup URL.
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
# Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
@ -597,7 +766,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backups.longhorn.io
spec:
@ -793,7 +962,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backuptargets.longhorn.io
spec:
@ -976,7 +1145,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: backupvolumes.longhorn.io
spec:
@ -1143,7 +1312,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: engineimages.longhorn.io
spec:
@ -1213,6 +1382,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: Compatibility of the engine image
jsonPath: .status.incompatible
name: Incompatible
type: boolean
- description: State of the engine image
jsonPath: .status.state
name: State
@ -1297,6 +1470,8 @@ spec:
type: integer
gitCommit:
type: string
incompatible:
type: boolean
noRefSince:
type: string
nodeDeploymentMap:
@ -1334,7 +1509,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: engines.longhorn.io
spec:
@ -1392,6 +1567,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the engine
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the engine
jsonPath: .status.currentState
name: State
@ -1430,17 +1609,21 @@ spec:
active:
type: boolean
backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
backupVolume:
type: string
dataEngine:
enum:
- v1
- v2
type: string
backupVolume:
type: string
desireState:
type: string
disableFrontend:
type: boolean
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
frontend:
enum:
@ -1449,6 +1632,8 @@ spec:
- nvmf
- ""
type: string
image:
type: string
logRequested:
type: boolean
nodeID:
@ -1465,6 +1650,11 @@ spec:
type: boolean
salvageRequested:
type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
unmapMarkSnapChainRemovedEnabled:
type: boolean
upgradedReplicaAddressMap:
@ -1636,6 +1826,11 @@ spec:
type: object
salvageExecuted:
type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
snapshots:
additionalProperties:
properties:
@ -1694,7 +1889,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: instancemanagers.longhorn.io
spec:
@ -1748,6 +1943,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the instance manager
jsonPath: .status.currentState
name: State
@ -1777,8 +1976,10 @@ spec:
metadata:
type: object
spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
description: InstanceManagerSpec defines the desired state of the Longhorn instance manager
properties:
dataEngine:
type: string
image:
type: string
nodeID:
@ -1809,6 +2010,9 @@ spec:
spec:
properties:
backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string
name:
type: string
@ -1849,6 +2053,9 @@ spec:
spec:
properties:
backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string
name:
type: string
@ -1889,6 +2096,9 @@ spec:
spec:
properties:
backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string
name:
type: string
@ -1951,7 +2161,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: nodes.longhorn.io
spec:
@ -2049,12 +2259,18 @@ spec:
description: NodeSpec defines the desired state of the Longhorn node
properties:
allowScheduling:
description: Allow scheduling replicas on the node.
type: boolean
disks:
additionalProperties:
properties:
allowScheduling:
type: boolean
diskType:
enum:
- filesystem
- block
type: string
evictionRequested:
type: boolean
path:
@ -2066,11 +2282,6 @@ spec:
items:
type: string
type: array
diskType:
enum:
- filesystem
- block
type: string
type: object
type: object
evictionRequested:
@ -2162,19 +2373,21 @@ spec:
format: int64
type: integer
type: object
description: The status of the disks on the node.
nullable: true
type: object
region:
description: The Region of the node.
type: string
snapshotCheckStatus:
description: The status of the snapshot integrity check.
properties:
lastPeriodicCheckedAt:
format: date-time
type: string
snapshotCheckState:
type: string
type: object
zone:
description: The Zone of the node.
type: string
type: object
type: object
@ -2199,7 +2412,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: orphans.longhorn.io
spec:
@ -2469,7 +2682,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: replicas.longhorn.io
spec:
@ -2531,6 +2744,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the replica
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the replica
jsonPath: .status.currentState
name: State
@ -2573,14 +2790,17 @@ spec:
active:
type: boolean
backendStoreDriver:
enum:
- v1
- v2
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
backingImage:
type: string
dataDirectoryName:
type: string
dataEngine:
enum:
- v1
- v2
type: string
desireState:
type: string
diskID:
@ -2588,6 +2808,7 @@ spec:
diskPath:
type: string
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
engineName:
type: string
@ -2601,6 +2822,8 @@ spec:
healthyAt:
description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
type: string
image:
type: string
lastFailedAt:
description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
type: string
@ -2617,6 +2840,11 @@ spec:
type: boolean
salvageRequested:
type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
unmapMarkDiskChainRemovedEnabled:
type: boolean
volumeName:
@ -2697,7 +2925,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: settings.longhorn.io
spec:
@ -2764,6 +2992,7 @@ spec:
metadata:
type: object
value:
description: The value of the setting.
type: string
required:
- value
@ -2789,7 +3018,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: sharemanagers.longhorn.io
spec:
@ -2904,7 +3133,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: snapshots.longhorn.io
spec:
@ -3031,7 +3260,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: supportbundles.longhorn.io
spec:
@ -3157,7 +3386,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: systembackups.longhorn.io
spec:
@ -3285,7 +3514,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: systemrestores.longhorn.io
spec:
@ -3387,7 +3616,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: volumes.longhorn.io
spec:
@ -3461,6 +3690,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the volume
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the volume
jsonPath: .status.state
name: State
@ -3508,9 +3741,7 @@ spec:
- rwx
type: string
backendStoreDriver:
enum:
- v1
- v2
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
backingImage:
type: string
@ -3520,6 +3751,11 @@ spec:
- lz4
- gzip
type: string
dataEngine:
enum:
- v1
- v2
type: string
dataLocality:
enum:
- disabled
@ -3537,6 +3773,7 @@ spec:
encrypted:
type: boolean
engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string
fromBackup:
type: string
@ -3547,6 +3784,8 @@ spec:
- nvmf
- ""
type: string
image:
type: string
lastAttachedBy:
type: string
migratable:
@ -3575,15 +3814,22 @@ spec:
- least-effort
- best-effort
type: string
replicaDiskSoftAntiAffinity:
description: Replica disk soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same disk.
enum:
- ignored
- enabled
- disabled
type: string
replicaSoftAntiAffinity:
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node.
enum:
- ignored
- enabled
- disabled
type: string
replicaZoneSoftAntiAffinity:
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone.
enum:
- ignored
- enabled
@ -3607,6 +3853,11 @@ spec:
- enabled
- fast-check
type: string
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
staleReplicaTimeout:
type: integer
unmapMarkSnapChainRemoved:
@ -3749,7 +4000,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
longhorn-manager: ""
name: volumeattachments.longhorn.io
spec:
@ -3878,7 +4129,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
rules:
- apiGroups:
- apiextensions.k8s.io
@ -3918,7 +4169,7 @@ rules:
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status",
"supportbundles", "supportbundles/status", "systembackups", "systembackups/status", "systemrestores", "systemrestores/status",
"volumeattachments", "volumeattachments/status"]
"volumeattachments", "volumeattachments/status", "backupbackingimages", "backupbackingimages/status"]
verbs: ["*"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
@ -3944,7 +4195,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
@ -3962,7 +4213,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
@ -3979,7 +4230,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-manager
name: longhorn-backend
namespace: longhorn-system
@ -3999,7 +4250,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-ui
name: longhorn-frontend
namespace: longhorn-system
@ -4020,7 +4271,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-conversion-webhook
name: longhorn-conversion-webhook
namespace: longhorn-system
@ -4040,7 +4291,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-admission-webhook
name: longhorn-admission-webhook
namespace: longhorn-system
@ -4060,7 +4311,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-recovery-backend
name: longhorn-recovery-backend
namespace: longhorn-system
@ -4080,7 +4331,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
name: longhorn-engine-manager
namespace: longhorn-system
spec:
@ -4096,7 +4347,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
name: longhorn-replica-manager
namespace: longhorn-system
spec:
@ -4112,7 +4363,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-manager
name: longhorn-manager
namespace: longhorn-system
@ -4125,7 +4376,7 @@ spec:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-manager
spec:
tolerations:
@ -4139,7 +4390,7 @@ spec:
effect: NoSchedule
containers:
- name: longhorn-manager
image: longhornio/longhorn-manager:v1.5.5
image: longhornio/longhorn-manager:v1.6.2
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
@ -4148,19 +4399,20 @@ spec:
- -d
- daemon
- --engine-image
- "longhornio/longhorn-engine:v1.5.5"
- "longhornio/longhorn-engine:v1.6.2"
- --instance-manager-image
- "longhornio/longhorn-instance-manager:v1.5.5"
- "longhornio/longhorn-instance-manager:v1.6.2"
- --share-manager-image
- "longhornio/longhorn-share-manager:v1.5.5"
- "longhornio/longhorn-share-manager:v1.6.2"
- --backing-image-manager-image
- "longhornio/backing-image-manager:v1.5.5"
- "longhornio/backing-image-manager:v1.6.2"
- --support-bundle-manager-image
- "longhornio/support-bundle-kit:v0.0.37"
- --manager-image
- "longhornio/longhorn-manager:v1.5.5"
- "longhornio/longhorn-manager:v1.6.2"
- --service-account
- longhorn-service-account
- --upgrade-version-check
ports:
- containerPort: 9500
name: manager
@ -4212,6 +4464,7 @@ spec:
secret:
secretName: longhorn-grpc-tls
optional: true
priorityClassName: "longhorn-critical"
serviceAccountName: longhorn-service-account
updateStrategy:
rollingUpdate:
@ -4226,7 +4479,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
spec:
replicas: 1
selector:
@ -4237,7 +4490,7 @@ spec:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-driver-deployer
spec:
tolerations:
@ -4251,18 +4504,18 @@ spec:
effect: NoSchedule
initContainers:
- name: wait-longhorn-manager
image: longhornio/longhorn-manager:v1.5.5
image: longhornio/longhorn-manager:v1.6.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']
containers:
- name: longhorn-driver-deployer
image: longhornio/longhorn-manager:v1.5.5
image: longhornio/longhorn-manager:v1.6.2
imagePullPolicy: IfNotPresent
command:
- longhorn-manager
- -d
- deploy-driver
- --manager-image
- "longhornio/longhorn-manager:v1.5.5"
- "longhornio/longhorn-manager:v1.6.2"
- --manager-url
- http://longhorn-backend:9500/v1
env:
@ -4279,17 +4532,18 @@ spec:
fieldRef:
fieldPath: spec.serviceAccountName
- name: CSI_ATTACHER_IMAGE
value: "longhornio/csi-attacher:v4.4.2"
value: "longhornio/csi-attacher:v4.5.1"
- name: CSI_PROVISIONER_IMAGE
value: "longhornio/csi-provisioner:v3.6.2"
value: "longhornio/csi-provisioner:v3.6.4"
- name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
value: "longhornio/csi-node-driver-registrar:v2.9.2"
- name: CSI_RESIZER_IMAGE
value: "longhornio/csi-resizer:v1.9.2"
value: "longhornio/csi-resizer:v1.10.1"
- name: CSI_SNAPSHOTTER_IMAGE
value: "longhornio/csi-snapshotter:v6.3.2"
value: "longhornio/csi-snapshotter:v6.3.4"
- name: CSI_LIVENESS_PROBE_IMAGE
value: "longhornio/livenessprobe:v2.12.0"
priorityClassName: "longhorn-critical"
serviceAccountName: longhorn-service-account
securityContext:
runAsUser: 0
@ -4301,7 +4555,7 @@ metadata:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-ui
name: longhorn-ui
namespace: longhorn-system
@ -4315,9 +4569,10 @@ spec:
labels:
app.kubernetes.io/name: longhorn
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.5.5
app.kubernetes.io/version: v1.6.2
app: longhorn-ui
spec:
serviceAccountName: longhorn-ui-service-account
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
@ -4332,7 +4587,7 @@ spec:
topologyKey: kubernetes.io/hostname
containers:
- name: longhorn-ui
image: longhornio/longhorn-ui:v1.5.5
image: longhornio/longhorn-ui:v1.6.2
imagePullPolicy: IfNotPresent
volumeMounts:
- name : nginx-cache
@ -4356,6 +4611,7 @@ spec:
name: nginx-config
- emptyDir: {}
name: var-run
priorityClassName: "longhorn-critical"
---
# Source: longhorn/templates/validate-psp-install.yaml
#

View File

@ -1,6 +1,6 @@
--- application.yml 2023-07-25 22:20:02.300421340 +0300
+++ application.modded 2023-07-25 22:19:47.040360210 +0300
@@ -60,14 +60,14 @@
--- application.yml 2024-07-07 14:16:47.953593433 +0300
+++ application.modded 2024-07-07 14:18:51.103452617 +0300
@@ -86,14 +86,14 @@
storageclass.kubernetes.io/is-default-class: "true"
provisioner: driver.longhorn.io
allowVolumeExpansion: true
@ -19,9 +19,8 @@
unmapMarkSnapChainRemoved: "ignored"
---
# Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1
@@ -4085,6 +4085,15 @@
app.kubernetes.io/version: v1.5.1
@@ -4379,6 +4379,15 @@
app.kubernetes.io/version: v1.6.2
app: longhorn-manager
spec:
+ tolerations:
@ -35,9 +34,9 @@
+ effect: NoSchedule
containers:
- name: longhorn-manager
image: longhornio/longhorn-manager:v1.5.1
@@ -4188,6 +4197,15 @@
app.kubernetes.io/version: v1.5.1
image: longhornio/longhorn-manager:v1.6.2
@@ -4484,6 +4493,15 @@
app.kubernetes.io/version: v1.6.2
app: longhorn-driver-deployer
spec:
+ tolerations:
@ -51,4 +50,4 @@
+ effect: NoSchedule
initContainers:
- name: wait-longhorn-manager
image: longhornio/longhorn-manager:v1.5.1
image: longhornio/longhorn-manager:v1.6.2