Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): update longhorn ( 1.5.3 → 1.6.0 ) #1614

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

smurf-bot[bot]
Copy link
Contributor

@smurf-bot smurf-bot bot commented Feb 1, 2024

This PR contains the following updates:

Package Update Change
longhorn (source) minor 1.5.3 -> 1.6.0

Release Notes

longhorn/charts (longhorn)

v1.6.0

Compare Source

Longhorn is a distributed block storage system for Kubernetes.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| helm       | longhorn | 1.5.3 | 1.6.0 |
@smurf-bot smurf-bot bot requested a review from joryirving as a code owner February 1, 2024 14:03
@smurf-bot smurf-bot bot added type/minor area/kubernetes Changes made in the kubernetes directory cluster/pi labels Feb 1, 2024
@smurf-bot
Copy link
Contributor Author

smurf-bot bot commented Feb 1, 2024

--- kubernetes/pi/apps/storage/longhorn/app Kustomization: flux-system/longhorn HelmRelease: storage/longhorn

+++ kubernetes/pi/apps/storage/longhorn/app Kustomization: flux-system/longhorn HelmRelease: storage/longhorn

@@ -13,13 +13,13 @@

     spec:
       chart: longhorn
       sourceRef:
         kind: HelmRepository
         name: longhorn
         namespace: flux-system
-      version: 1.5.3
+      version: 1.6.0
   install:
     remediation:
       retries: 3
   interval: 30m
   maxHistory: 3
   uninstall:

@smurf-bot
Copy link
Contributor Author

smurf-bot bot commented Feb 1, 2024

--- HelmRelease: storage/longhorn ConfigMap: storage/longhorn-default-setting

+++ HelmRelease: storage/longhorn ConfigMap: storage/longhorn-default-setting

@@ -6,48 +6,19 @@

   namespace: storage
   labels:
     app.kubernetes.io/name: longhorn
     app.kubernetes.io/managed-by: Helm
     app.kubernetes.io/instance: longhorn
 data:
-  default-setting.yaml: |2-
-
-
-
+  default-setting.yaml: |-
     create-default-disk-labeled-nodes: true
-
-
-
     storage-over-provisioning-percentage: 100
     storage-minimal-available-percentage: 1
-
-
     default-replica-count: 3
-
     default-longhorn-static-storage-class: longhorn
     backupstore-poll-interval: 0
-
     restore-volume-recurring-jobs: true
-
-
-
-
-
-
-
-
+    priority-class: longhorn-critical
     node-down-pod-deletion-policy: delete-both-statefulset-and-deployment-pod
-
-
-
-
-
-
-
-
     concurrent-automatic-engine-upgrade-per-node-limit: 3
-
-
-
-
     orphan-auto-deletion: true
 
--- HelmRelease: storage/longhorn ClusterRole: storage/longhorn-role

+++ HelmRelease: storage/longhorn ClusterRole: storage/longhorn-role

@@ -128,12 +128,14 @@

   - systembackups
   - systembackups/status
   - systemrestores
   - systemrestores/status
   - volumeattachments
   - volumeattachments/status
+  - backupbackingimages
+  - backupbackingimages/status
   verbs:
   - '*'
 - apiGroups:
   - coordination.k8s.io
   resources:
   - leases
--- HelmRelease: storage/longhorn Service: storage/longhorn-backend

+++ HelmRelease: storage/longhorn Service: storage/longhorn-backend

@@ -8,13 +8,12 @@

     app.kubernetes.io/instance: longhorn
     app: longhorn-manager
   name: longhorn-backend
   namespace: storage
 spec:
   type: ClusterIP
-  sessionAffinity: ClientIP
   selector:
     app: longhorn-manager
   ports:
   - name: manager
     port: 9500
     targetPort: manager
--- HelmRelease: storage/longhorn Service: storage/longhorn-conversion-webhook

+++ HelmRelease: storage/longhorn Service: storage/longhorn-conversion-webhook

@@ -8,13 +8,12 @@

     app.kubernetes.io/instance: longhorn
     app: longhorn-conversion-webhook
   name: longhorn-conversion-webhook
   namespace: storage
 spec:
   type: ClusterIP
-  sessionAffinity: ClientIP
   selector:
     app: longhorn-manager
   ports:
   - name: conversion-webhook
     port: 9501
     targetPort: conversion-wh
--- HelmRelease: storage/longhorn Service: storage/longhorn-admission-webhook

+++ HelmRelease: storage/longhorn Service: storage/longhorn-admission-webhook

@@ -8,13 +8,12 @@

     app.kubernetes.io/instance: longhorn
     app: longhorn-admission-webhook
   name: longhorn-admission-webhook
   namespace: storage
 spec:
   type: ClusterIP
-  sessionAffinity: ClientIP
   selector:
     app: longhorn-manager
   ports:
   - name: admission-webhook
     port: 9502
     targetPort: admission-wh
--- HelmRelease: storage/longhorn Service: storage/longhorn-recovery-backend

+++ HelmRelease: storage/longhorn Service: storage/longhorn-recovery-backend

@@ -8,13 +8,12 @@

     app.kubernetes.io/instance: longhorn
     app: longhorn-recovery-backend
   name: longhorn-recovery-backend
   namespace: storage
 spec:
   type: ClusterIP
-  sessionAffinity: ClientIP
   selector:
     app: longhorn-manager
   ports:
   - name: recovery-backend
     port: 9503
     targetPort: recov-backend
--- HelmRelease: storage/longhorn DaemonSet: storage/longhorn-manager

+++ HelmRelease: storage/longhorn DaemonSet: storage/longhorn-manager

@@ -20,34 +20,35 @@

         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-manager
     spec:
       containers:
       - name: longhorn-manager
-        image: longhornio/longhorn-manager:v1.5.3
+        image: longhornio/longhorn-manager:v1.6.0
         imagePullPolicy: IfNotPresent
         securityContext:
           privileged: true
         command:
         - longhorn-manager
         - -d
         - daemon
         - --engine-image
-        - longhornio/longhorn-engine:v1.5.3
+        - longhornio/longhorn-engine:v1.6.0
         - --instance-manager-image
-        - longhornio/longhorn-instance-manager:v1.5.3
+        - longhornio/longhorn-instance-manager:v1.6.0
         - --share-manager-image
-        - longhornio/longhorn-share-manager:v1.5.3
+        - longhornio/longhorn-share-manager:v1.6.0
         - --backing-image-manager-image
-        - longhornio/backing-image-manager:v1.5.3
+        - longhornio/backing-image-manager:v1.6.0
         - --support-bundle-manager-image
-        - longhornio/support-bundle-kit:v0.0.27
+        - longhornio/support-bundle-kit:v0.0.33
         - --manager-image
-        - longhornio/longhorn-manager:v1.5.3
+        - longhornio/longhorn-manager:v1.6.0
         - --service-account
         - longhorn-service-account
+        - --upgrade-version-check
         ports:
         - containerPort: 9500
           name: manager
         - containerPort: 9501
           name: conversion-wh
         - containerPort: 9502
@@ -93,11 +94,12 @@

         hostPath:
           path: /var/lib/longhorn/
       - name: longhorn-grpc-tls
         secret:
           secretName: longhorn-grpc-tls
           optional: true
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
   updateStrategy:
     rollingUpdate:
       maxUnavailable: 100%
 
--- HelmRelease: storage/longhorn Deployment: storage/longhorn-driver-deployer

+++ HelmRelease: storage/longhorn Deployment: storage/longhorn-driver-deployer

@@ -20,28 +20,28 @@

         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-driver-deployer
     spec:
       initContainers:
       - name: wait-longhorn-manager
-        image: longhornio/longhorn-manager:v1.5.3
+        image: longhornio/longhorn-manager:v1.6.0
         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.3
+        image: longhornio/longhorn-manager:v1.6.0
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - -d
         - deploy-driver
         - --manager-image
-        - longhornio/longhorn-manager:v1.5.3
+        - longhornio/longhorn-manager:v1.6.0
         - --manager-url
         - http://longhorn-backend:9500/v1
         env:
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
@@ -52,21 +52,22 @@

               fieldPath: spec.nodeName
         - name: SERVICE_ACCOUNT
           valueFrom:
             fieldRef:
               fieldPath: spec.serviceAccountName
         - name: CSI_ATTACHER_IMAGE
-          value: longhornio/csi-attacher:v4.2.0
+          value: longhornio/csi-attacher:v4.4.2
         - name: CSI_PROVISIONER_IMAGE
-          value: longhornio/csi-provisioner:v3.4.1
+          value: longhornio/csi-provisioner:v3.6.2
         - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
-          value: longhornio/csi-node-driver-registrar:v2.7.0
+          value: longhornio/csi-node-driver-registrar:v2.9.2
         - name: CSI_RESIZER_IMAGE
-          value: longhornio/csi-resizer:v1.7.0
+          value: longhornio/csi-resizer:v1.9.2
         - name: CSI_SNAPSHOTTER_IMAGE
-          value: longhornio/csi-snapshotter:v6.2.1
+          value: longhornio/csi-snapshotter:v6.3.2
         - name: CSI_LIVENESS_PROBE_IMAGE
-          value: longhornio/livenessprobe:v2.9.0
+          value: longhornio/livenessprobe:v2.11.0
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
       securityContext:
         runAsUser: 0
 
--- HelmRelease: storage/longhorn Deployment: storage/longhorn-ui

+++ HelmRelease: storage/longhorn Deployment: storage/longhorn-ui

@@ -19,12 +19,13 @@

       labels:
         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
         app: longhorn-ui
     spec:
+      serviceAccountName: longhorn-ui-service-account
       affinity:
         podAntiAffinity:
           preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 1
             podAffinityTerm:
               labelSelector:
@@ -33,13 +34,13 @@

                   operator: In
                   values:
                   - longhorn-ui
               topologyKey: kubernetes.io/hostname
       containers:
       - name: longhorn-ui
-        image: longhornio/longhorn-ui:v1.5.3
+        image: longhornio/longhorn-ui:v1.6.0
         imagePullPolicy: IfNotPresent
         volumeMounts:
         - name: nginx-cache
           mountPath: /var/cache/nginx/
         - name: nginx-config
           mountPath: /var/config/nginx/
@@ -57,7 +58,8 @@

       - emptyDir: {}
         name: nginx-cache
       - emptyDir: {}
         name: nginx-config
       - emptyDir: {}
         name: var-run
+      priorityClassName: longhorn-critical
 
--- HelmRelease: storage/longhorn Job: storage/longhorn-post-upgrade

+++ HelmRelease: storage/longhorn Job: storage/longhorn-post-upgrade

@@ -21,19 +21,20 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-post-upgrade
-        image: longhornio/longhorn-manager:v1.5.3
+        image: longhornio/longhorn-manager:v1.6.0
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - post-upgrade
         env:
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
       restartPolicy: OnFailure
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
 
--- HelmRelease: storage/longhorn Job: storage/longhorn-pre-upgrade

+++ HelmRelease: storage/longhorn Job: storage/longhorn-pre-upgrade

@@ -21,13 +21,13 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-pre-upgrade
-        image: longhornio/longhorn-manager:v1.5.3
+        image: longhornio/longhorn-manager:v1.6.0
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - pre-upgrade
         env:
         - name: POD_NAMESPACE
--- HelmRelease: storage/longhorn Job: storage/longhorn-uninstall

+++ HelmRelease: storage/longhorn Job: storage/longhorn-uninstall

@@ -21,20 +21,21 @@

         app.kubernetes.io/name: longhorn
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/instance: longhorn
     spec:
       containers:
       - name: longhorn-uninstall
-        image: longhornio/longhorn-manager:v1.5.3
+        image: longhornio/longhorn-manager:v1.6.0
         imagePullPolicy: IfNotPresent
         command:
         - longhorn-manager
         - uninstall
         - --force
         env:
         - name: LONGHORN_NAMESPACE
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
       restartPolicy: Never
+      priorityClassName: longhorn-critical
       serviceAccountName: longhorn-service-account
 
--- HelmRelease: storage/longhorn PriorityClass: storage/longhorn-critical

+++ HelmRelease: storage/longhorn PriorityClass: storage/longhorn-critical

@@ -0,0 +1,15 @@

+---
+apiVersion: scheduling.k8s.io/v1
+kind: PriorityClass
+metadata:
+  name: longhorn-critical
+  labels:
+    app.kubernetes.io/name: longhorn
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/instance: longhorn
+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
+
--- HelmRelease: storage/longhorn ServiceAccount: storage/longhorn-ui-service-account

+++ HelmRelease: storage/longhorn ServiceAccount: storage/longhorn-ui-service-account

@@ -0,0 +1,11 @@

+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+  name: longhorn-ui-service-account
+  namespace: storage
+  labels:
+    app.kubernetes.io/name: longhorn
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/instance: longhorn
+

@joryirving joryirving merged commit f5d56d2 into main Feb 1, 2024
11 checks passed
@joryirving joryirving deleted the renovate/pi-longhorn-1.x branch February 1, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory renovate/helm type/minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant