From a074a933defa2c7f967357c7e31b6ddf6fd54078 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Tue, 13 Mar 2018 14:19:27 -0700 Subject: [PATCH] Update longhorn-manager to rancher/longhorn-manager:aa8b454 Also add example-storageclass.yaml to use with dynamic provisioner --- deploy/example-storageclass.yaml | 9 +++++++++ deploy/example.yaml | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 deploy/example-storageclass.yaml diff --git a/deploy/example-storageclass.yaml b/deploy/example-storageclass.yaml new file mode 100644 index 0000000..a7e813d --- /dev/null +++ b/deploy/example-storageclass.yaml @@ -0,0 +1,9 @@ +kind: StorageClass +apiVersion: storage.k8s.io/v1 +metadata: + name: longhorn +provisioner: rancher.io/longhorn +parameters: + numberOfReplicas: "3" + staleReplicaTimeout: "30" + fromBackup: "" diff --git a/deploy/example.yaml b/deploy/example.yaml index 84648b3..e9aa4ed 100644 --- a/deploy/example.yaml +++ b/deploy/example.yaml @@ -155,7 +155,7 @@ spec: mountPath: /data/ containers: - name: longhorn-manager - image: rancher/longhorn-manager:7d61273 + image: rancher/longhorn-manager:aa8b454 imagePullPolicy: Always securityContext: privileged: true @@ -166,7 +166,7 @@ spec: - --engine-image - rancher/longhorn-engine:de88734 - --manager-image - - rancher/longhorn-manager:7d61273 + - rancher/longhorn-manager:aa8b454 - --service-account - longhorn-service-account ports: @@ -283,14 +283,14 @@ spec: spec: containers: - name: longhorn-flexvolume-driver-deployer - image: rancher/longhorn-manager:7d61273 + image: rancher/longhorn-manager:aa8b454 imagePullPolicy: Always command: - longhorn-manager - -d - deploy-flexvolume-driver - --manager-image - - rancher/longhorn-manager:7d61273 + - rancher/longhorn-manager:aa8b454 env: - name: POD_NAMESPACE valueFrom: