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: metadata:
name: longhorn-system 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 # Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
@ -14,7 +28,18 @@ 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.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 # Source: longhorn/templates/serviceaccount.yaml
apiVersion: v1 apiVersion: v1
@ -25,7 +50,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.5.5 app.kubernetes.io/version: v1.6.2
--- ---
# Source: longhorn/templates/default-setting.yaml # Source: longhorn/templates/default-setting.yaml
apiVersion: v1 apiVersion: v1
@ -36,9 +61,10 @@ 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.5.5 app.kubernetes.io/version: v1.6.2
data: data:
default-setting.yaml: |- default-setting.yaml: |-
priority-class: longhorn-critical
--- ---
# Source: longhorn/templates/storageclass.yaml # Source: longhorn/templates/storageclass.yaml
apiVersion: v1 apiVersion: v1
@ -49,7 +75,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.5.5 app.kubernetes.io/version: v1.6.2
data: data:
storageclass.yaml: | storageclass.yaml: |
kind: StorageClass kind: StorageClass
@ -80,7 +106,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backingimagedatasources.longhorn.io name: backingimagedatasources.longhorn.io
spec: spec:
@ -199,6 +225,7 @@ spec:
- download - download
- upload - upload
- export-from-volume - export-from-volume
- restore
type: string type: string
uuid: uuid:
type: string type: string
@ -251,7 +278,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backingimagemanagers.longhorn.io name: backingimagemanagers.longhorn.io
spec: spec:
@ -430,7 +457,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backingimages.longhorn.io name: backingimages.longhorn.io
spec: spec:
@ -537,6 +564,7 @@ spec:
- download - download
- upload - upload
- export-from-volume - export-from-volume
- restore
type: string type: string
type: object type: object
status: status:
@ -590,6 +618,147 @@ status:
# Source: longhorn/templates/crds.yaml # Source: longhorn/templates/crds.yaml
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition 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: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.7.0 controller-gen.kubebuilder.io/version: v0.7.0
@ -597,7 +766,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backups.longhorn.io name: backups.longhorn.io
spec: spec:
@ -793,7 +962,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backuptargets.longhorn.io name: backuptargets.longhorn.io
spec: spec:
@ -976,7 +1145,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: backupvolumes.longhorn.io name: backupvolumes.longhorn.io
spec: spec:
@ -1143,7 +1312,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: engineimages.longhorn.io name: engineimages.longhorn.io
spec: spec:
@ -1213,6 +1382,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: Compatibility of the engine image
jsonPath: .status.incompatible
name: Incompatible
type: boolean
- description: State of the engine image - description: State of the engine image
jsonPath: .status.state jsonPath: .status.state
name: State name: State
@ -1297,6 +1470,8 @@ spec:
type: integer type: integer
gitCommit: gitCommit:
type: string type: string
incompatible:
type: boolean
noRefSince: noRefSince:
type: string type: string
nodeDeploymentMap: nodeDeploymentMap:
@ -1334,7 +1509,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: engines.longhorn.io name: engines.longhorn.io
spec: spec:
@ -1392,6 +1567,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The data engine of the engine
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the engine - description: The current state of the engine
jsonPath: .status.currentState jsonPath: .status.currentState
name: State name: State
@ -1430,17 +1609,21 @@ spec:
active: active:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
backupVolume:
type: string
dataEngine:
enum: enum:
- v1 - v1
- v2 - v2
type: string type: string
backupVolume:
type: string
desireState: desireState:
type: string type: string
disableFrontend: disableFrontend:
type: boolean type: boolean
engineImage: engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string type: string
frontend: frontend:
enum: enum:
@ -1449,6 +1632,8 @@ spec:
- nvmf - nvmf
- "" - ""
type: string type: string
image:
type: string
logRequested: logRequested:
type: boolean type: boolean
nodeID: nodeID:
@ -1465,6 +1650,11 @@ spec:
type: boolean type: boolean
salvageRequested: salvageRequested:
type: boolean type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
unmapMarkSnapChainRemovedEnabled: unmapMarkSnapChainRemovedEnabled:
type: boolean type: boolean
upgradedReplicaAddressMap: upgradedReplicaAddressMap:
@ -1636,6 +1826,11 @@ spec:
type: object type: object
salvageExecuted: salvageExecuted:
type: boolean type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
snapshots: snapshots:
additionalProperties: additionalProperties:
properties: properties:
@ -1694,7 +1889,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: instancemanagers.longhorn.io name: instancemanagers.longhorn.io
spec: spec:
@ -1748,6 +1943,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the instance manager - description: The state of the instance manager
jsonPath: .status.currentState jsonPath: .status.currentState
name: State name: State
@ -1777,8 +1976,10 @@ spec:
metadata: metadata:
type: object type: object
spec: spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager description: InstanceManagerSpec defines the desired state of the Longhorn instance manager
properties: properties:
dataEngine:
type: string
image: image:
type: string type: string
nodeID: nodeID:
@ -1809,6 +2010,9 @@ spec:
spec: spec:
properties: properties:
backendStoreDriver: backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string type: string
name: name:
type: string type: string
@ -1849,6 +2053,9 @@ spec:
spec: spec:
properties: properties:
backendStoreDriver: backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string type: string
name: name:
type: string type: string
@ -1889,6 +2096,9 @@ spec:
spec: spec:
properties: properties:
backendStoreDriver: backendStoreDriver:
description: 'Deprecated: Replaced by field `dataEngine`.'
type: string
dataEngine:
type: string type: string
name: name:
type: string type: string
@ -1951,7 +2161,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: nodes.longhorn.io name: nodes.longhorn.io
spec: spec:
@ -2049,12 +2259,18 @@ spec:
description: NodeSpec defines the desired state of the Longhorn node description: NodeSpec defines the desired state of the Longhorn node
properties: properties:
allowScheduling: allowScheduling:
description: Allow scheduling replicas on the node.
type: boolean type: boolean
disks: disks:
additionalProperties: additionalProperties:
properties: properties:
allowScheduling: allowScheduling:
type: boolean type: boolean
diskType:
enum:
- filesystem
- block
type: string
evictionRequested: evictionRequested:
type: boolean type: boolean
path: path:
@ -2066,11 +2282,6 @@ spec:
items: items:
type: string type: string
type: array type: array
diskType:
enum:
- filesystem
- block
type: string
type: object type: object
type: object type: object
evictionRequested: evictionRequested:
@ -2162,19 +2373,21 @@ spec:
format: int64 format: int64
type: integer type: integer
type: object type: object
description: The status of the disks on the node.
nullable: true nullable: true
type: object type: object
region: region:
description: The Region of the node.
type: string type: string
snapshotCheckStatus: snapshotCheckStatus:
description: The status of the snapshot integrity check.
properties: properties:
lastPeriodicCheckedAt: lastPeriodicCheckedAt:
format: date-time format: date-time
type: string type: string
snapshotCheckState:
type: string
type: object type: object
zone: zone:
description: The Zone of the node.
type: string type: string
type: object type: object
type: object type: object
@ -2199,7 +2412,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: orphans.longhorn.io name: orphans.longhorn.io
spec: spec:
@ -2469,7 +2682,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: replicas.longhorn.io name: replicas.longhorn.io
spec: spec:
@ -2531,6 +2744,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The data engine of the replica
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the replica - description: The current state of the replica
jsonPath: .status.currentState jsonPath: .status.currentState
name: State name: State
@ -2573,14 +2790,17 @@ spec:
active: active:
type: boolean type: boolean
backendStoreDriver: backendStoreDriver:
enum: description: 'Deprecated: Replaced by field `dataEngine`.'
- v1
- v2
type: string type: string
backingImage: backingImage:
type: string type: string
dataDirectoryName: dataDirectoryName:
type: string type: string
dataEngine:
enum:
- v1
- v2
type: string
desireState: desireState:
type: string type: string
diskID: diskID:
@ -2588,6 +2808,7 @@ spec:
diskPath: diskPath:
type: string type: string
engineImage: engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string type: string
engineName: engineName:
type: string type: string
@ -2601,6 +2822,8 @@ spec:
healthyAt: 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. 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 type: string
image:
type: string
lastFailedAt: 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. 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 type: string
@ -2617,6 +2840,11 @@ spec:
type: boolean type: boolean
salvageRequested: salvageRequested:
type: boolean type: boolean
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
unmapMarkDiskChainRemovedEnabled: unmapMarkDiskChainRemovedEnabled:
type: boolean type: boolean
volumeName: volumeName:
@ -2697,7 +2925,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: settings.longhorn.io name: settings.longhorn.io
spec: spec:
@ -2764,6 +2992,7 @@ spec:
metadata: metadata:
type: object type: object
value: value:
description: The value of the setting.
type: string type: string
required: required:
- value - value
@ -2789,7 +3018,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: sharemanagers.longhorn.io name: sharemanagers.longhorn.io
spec: spec:
@ -2904,7 +3133,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: snapshots.longhorn.io name: snapshots.longhorn.io
spec: spec:
@ -3031,7 +3260,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: supportbundles.longhorn.io name: supportbundles.longhorn.io
spec: spec:
@ -3157,7 +3386,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: systembackups.longhorn.io name: systembackups.longhorn.io
spec: spec:
@ -3285,7 +3514,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: systemrestores.longhorn.io name: systemrestores.longhorn.io
spec: spec:
@ -3387,7 +3616,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: volumes.longhorn.io name: volumes.longhorn.io
spec: spec:
@ -3461,6 +3690,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The data engine of the volume
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the volume - description: The state of the volume
jsonPath: .status.state jsonPath: .status.state
name: State name: State
@ -3508,9 +3741,7 @@ spec:
- rwx - rwx
type: string type: string
backendStoreDriver: backendStoreDriver:
enum: description: 'Deprecated: Replaced by field `dataEngine`.'
- v1
- v2
type: string type: string
backingImage: backingImage:
type: string type: string
@ -3520,6 +3751,11 @@ spec:
- lz4 - lz4
- gzip - gzip
type: string type: string
dataEngine:
enum:
- v1
- v2
type: string
dataLocality: dataLocality:
enum: enum:
- disabled - disabled
@ -3537,6 +3773,7 @@ spec:
encrypted: encrypted:
type: boolean type: boolean
engineImage: engineImage:
description: 'Deprecated: Replaced by field `image`.'
type: string type: string
fromBackup: fromBackup:
type: string type: string
@ -3547,6 +3784,8 @@ spec:
- nvmf - nvmf
- "" - ""
type: string type: string
image:
type: string
lastAttachedBy: lastAttachedBy:
type: string type: string
migratable: migratable:
@ -3575,15 +3814,22 @@ spec:
- least-effort - least-effort
- best-effort - best-effort
type: string 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: 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: enum:
- ignored - ignored
- enabled - enabled
- disabled - disabled
type: string type: string
replicaZoneSoftAntiAffinity: 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: enum:
- ignored - ignored
- enabled - enabled
@ -3607,6 +3853,11 @@ spec:
- enabled - enabled
- fast-check - fast-check
type: string type: string
snapshotMaxCount:
type: integer
snapshotMaxSize:
format: int64
type: string
staleReplicaTimeout: staleReplicaTimeout:
type: integer type: integer
unmapMarkSnapChainRemoved: unmapMarkSnapChainRemoved:
@ -3749,7 +4000,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.5.5 app.kubernetes.io/version: v1.6.2
longhorn-manager: "" longhorn-manager: ""
name: volumeattachments.longhorn.io name: volumeattachments.longhorn.io
spec: spec:
@ -3878,7 +4129,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.5.5 app.kubernetes.io/version: v1.6.2
rules: rules:
- apiGroups: - apiGroups:
- apiextensions.k8s.io - apiextensions.k8s.io
@ -3918,7 +4169,7 @@ rules:
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status", "backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status", "recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status",
"supportbundles", "supportbundles/status", "systembackups", "systembackups/status", "systemrestores", "systemrestores/status", "supportbundles", "supportbundles/status", "systembackups", "systembackups/status", "systemrestores", "systemrestores/status",
"volumeattachments", "volumeattachments/status"] "volumeattachments", "volumeattachments/status", "backupbackingimages", "backupbackingimages/status"]
verbs: ["*"] verbs: ["*"]
- apiGroups: ["coordination.k8s.io"] - apiGroups: ["coordination.k8s.io"]
resources: ["leases"] resources: ["leases"]
@ -3944,7 +4195,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.5.5 app.kubernetes.io/version: v1.6.2
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -3962,7 +4213,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.5.5 app.kubernetes.io/version: v1.6.2
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -3979,7 +4230,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-manager app: longhorn-manager
name: longhorn-backend name: longhorn-backend
namespace: longhorn-system namespace: longhorn-system
@ -3999,7 +4250,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-ui app: longhorn-ui
name: longhorn-frontend name: longhorn-frontend
namespace: longhorn-system namespace: longhorn-system
@ -4020,7 +4271,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-conversion-webhook app: longhorn-conversion-webhook
name: longhorn-conversion-webhook name: longhorn-conversion-webhook
namespace: longhorn-system namespace: longhorn-system
@ -4040,7 +4291,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-admission-webhook app: longhorn-admission-webhook
name: longhorn-admission-webhook name: longhorn-admission-webhook
namespace: longhorn-system namespace: longhorn-system
@ -4060,7 +4311,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-recovery-backend app: longhorn-recovery-backend
name: longhorn-recovery-backend name: longhorn-recovery-backend
namespace: longhorn-system namespace: longhorn-system
@ -4080,7 +4331,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.5.5 app.kubernetes.io/version: v1.6.2
name: longhorn-engine-manager name: longhorn-engine-manager
namespace: longhorn-system namespace: longhorn-system
spec: spec:
@ -4096,7 +4347,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.5.5 app.kubernetes.io/version: v1.6.2
name: longhorn-replica-manager name: longhorn-replica-manager
namespace: longhorn-system namespace: longhorn-system
spec: spec:
@ -4112,7 +4363,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-manager app: longhorn-manager
name: longhorn-manager name: longhorn-manager
namespace: longhorn-system namespace: longhorn-system
@ -4125,7 +4376,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-manager app: longhorn-manager
spec: spec:
tolerations: tolerations:
@ -4139,7 +4390,7 @@ spec:
effect: NoSchedule effect: NoSchedule
containers: containers:
- name: longhorn-manager - name: longhorn-manager
image: longhornio/longhorn-manager:v1.5.5 image: longhornio/longhorn-manager:v1.6.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
privileged: true privileged: true
@ -4148,19 +4399,20 @@ spec:
- -d - -d
- daemon - daemon
- --engine-image - --engine-image
- "longhornio/longhorn-engine:v1.5.5" - "longhornio/longhorn-engine:v1.6.2"
- --instance-manager-image - --instance-manager-image
- "longhornio/longhorn-instance-manager:v1.5.5" - "longhornio/longhorn-instance-manager:v1.6.2"
- --share-manager-image - --share-manager-image
- "longhornio/longhorn-share-manager:v1.5.5" - "longhornio/longhorn-share-manager:v1.6.2"
- --backing-image-manager-image - --backing-image-manager-image
- "longhornio/backing-image-manager:v1.5.5" - "longhornio/backing-image-manager:v1.6.2"
- --support-bundle-manager-image - --support-bundle-manager-image
- "longhornio/support-bundle-kit:v0.0.37" - "longhornio/support-bundle-kit:v0.0.37"
- --manager-image - --manager-image
- "longhornio/longhorn-manager:v1.5.5" - "longhornio/longhorn-manager:v1.6.2"
- --service-account - --service-account
- longhorn-service-account - longhorn-service-account
- --upgrade-version-check
ports: ports:
- containerPort: 9500 - containerPort: 9500
name: manager name: manager
@ -4212,6 +4464,7 @@ spec:
secret: secret:
secretName: longhorn-grpc-tls secretName: longhorn-grpc-tls
optional: true optional: true
priorityClassName: "longhorn-critical"
serviceAccountName: longhorn-service-account serviceAccountName: longhorn-service-account
updateStrategy: updateStrategy:
rollingUpdate: rollingUpdate:
@ -4226,7 +4479,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.5.5 app.kubernetes.io/version: v1.6.2
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@ -4237,7 +4490,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-driver-deployer app: longhorn-driver-deployer
spec: spec:
tolerations: tolerations:
@ -4251,18 +4504,18 @@ spec:
effect: NoSchedule effect: NoSchedule
initContainers: initContainers:
- name: wait-longhorn-manager - 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'] 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.5.5 image: longhornio/longhorn-manager:v1.6.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.5.5" - "longhornio/longhorn-manager:v1.6.2"
- --manager-url - --manager-url
- http://longhorn-backend:9500/v1 - http://longhorn-backend:9500/v1
env: env:
@ -4279,17 +4532,18 @@ spec:
fieldRef: fieldRef:
fieldPath: spec.serviceAccountName fieldPath: spec.serviceAccountName
- name: CSI_ATTACHER_IMAGE - name: CSI_ATTACHER_IMAGE
value: "longhornio/csi-attacher:v4.4.2" value: "longhornio/csi-attacher:v4.5.1"
- name: CSI_PROVISIONER_IMAGE - name: CSI_PROVISIONER_IMAGE
value: "longhornio/csi-provisioner:v3.6.2" value: "longhornio/csi-provisioner:v3.6.4"
- name: CSI_NODE_DRIVER_REGISTRAR_IMAGE - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
value: "longhornio/csi-node-driver-registrar:v2.9.2" value: "longhornio/csi-node-driver-registrar:v2.9.2"
- name: CSI_RESIZER_IMAGE - name: CSI_RESIZER_IMAGE
value: "longhornio/csi-resizer:v1.9.2" value: "longhornio/csi-resizer:v1.10.1"
- name: CSI_SNAPSHOTTER_IMAGE - name: CSI_SNAPSHOTTER_IMAGE
value: "longhornio/csi-snapshotter:v6.3.2" value: "longhornio/csi-snapshotter:v6.3.4"
- name: CSI_LIVENESS_PROBE_IMAGE - name: CSI_LIVENESS_PROBE_IMAGE
value: "longhornio/livenessprobe:v2.12.0" value: "longhornio/livenessprobe:v2.12.0"
priorityClassName: "longhorn-critical"
serviceAccountName: longhorn-service-account serviceAccountName: longhorn-service-account
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@ -4301,7 +4555,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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-ui app: longhorn-ui
name: longhorn-ui name: longhorn-ui
namespace: longhorn-system namespace: longhorn-system
@ -4315,9 +4569,10 @@ 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.5.5 app.kubernetes.io/version: v1.6.2
app: longhorn-ui app: longhorn-ui
spec: spec:
serviceAccountName: longhorn-ui-service-account
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
@ -4332,7 +4587,7 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
containers: containers:
- name: longhorn-ui - name: longhorn-ui
image: longhornio/longhorn-ui:v1.5.5 image: longhornio/longhorn-ui:v1.6.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name : nginx-cache - name : nginx-cache
@ -4356,6 +4611,7 @@ spec:
name: nginx-config name: nginx-config
- emptyDir: {} - emptyDir: {}
name: var-run name: var-run
priorityClassName: "longhorn-critical"
--- ---
# Source: longhorn/templates/validate-psp-install.yaml # Source: longhorn/templates/validate-psp-install.yaml
# #

View File

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