Merge pull request #13444 from rook/mergify/bp/release-1.13/pr-13411
csi: update the CSI-Addons sidecar to v0.8.0 (backport #13411)
This commit is contained in:
11 files changed
+28
-20
No files matched your search
@@ -64,7 +64,7 @@ The following table lists the configurable parameters of the rook-operator chart
|
||||
| `csi.cephfsPodLabels` | Labels to add to the CSI CephFS Deployments and DaemonSets Pods | `nil` |
|
||||
| `csi.clusterName` | Cluster name identifier to set as metadata on the CephFS subvolume and RBD images. This will be useful in cases like for example, when two container orchestrator clusters (Kubernetes/OCP) are using a single ceph cluster | `nil` |
|
||||
| `csi.csiAddons.enabled` | Enable CSIAddons | `false` |
|
||||
| `csi.csiAddons.image` | CSIAddons Sidecar image | `"quay.io/csiaddons/k8s-sidecar:v0.7.0"` |
|
||||
| `csi.csiAddons.image` | CSIAddons Sidecar image | `"quay.io/csiaddons/k8s-sidecar:v0.8.0"` |
|
||||
| `csi.csiAddonsPort` | CSI Addons server port | `9070` |
|
||||
| `csi.csiCephFSPluginResource` | CEPH CSI CephFS plugin resource requirement list | see values.yaml |
|
||||
| `csi.csiCephFSPluginVolume` | The volume of the CephCSI CephFS plugin DaemonSet | `nil` |
|
||||
|
||||
@@ -204,9 +204,9 @@ If a node goes down where a pod is running where a RBD RWO volume is mounted, th
|
||||
Deploy the csi-addons manifests:
|
||||
|
||||
```console
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/crds.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/rbac.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/setup-controller.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/crds.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/rbac.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/setup-controller.yaml
|
||||
```
|
||||
|
||||
Enable the `csi-addons` sidecar in the Rook operator configuration.
|
||||
|
||||
@@ -127,9 +127,9 @@ that the controller inspects and forwards to one or more CSI-Addons sidecars for
|
||||
Deploy the controller by running the following commands:
|
||||
|
||||
```console
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/crds.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/rbac.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.7.0/deploy/controller/setup-controller.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/crds.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/rbac.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/v0.8.0/deploy/controller/setup-controller.yaml
|
||||
```
|
||||
|
||||
This creates the required CRDs and configures permissions.
|
||||
@@ -157,15 +157,15 @@ will start automatically in the RBD CSI provisioner and nodeplugin pods.
|
||||
CSI-Addons supports the following operations:
|
||||
|
||||
* Reclaim Space
|
||||
* [Creating a ReclaimSpaceJob](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/reclaimspace.md#reclaimspacejob)
|
||||
* [Creating a ReclaimSpaceCronJob](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/reclaimspace.md#reclaimspacecronjob)
|
||||
* [Annotating PersistentVolumeClaims](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/reclaimspace.md#annotating-perstentvolumeclaims)
|
||||
* [Annotating Namespace](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/reclaimspace.md#annotating-namespace)
|
||||
* [Creating a ReclaimSpaceJob](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/reclaimspace.md#reclaimspacejob)
|
||||
* [Creating a ReclaimSpaceCronJob](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/reclaimspace.md#reclaimspacecronjob)
|
||||
* [Annotating PersistentVolumeClaims](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/reclaimspace.md#annotating-perstentvolumeclaims)
|
||||
* [Annotating Namespace](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/reclaimspace.md#annotating-namespace)
|
||||
* Network Fencing
|
||||
* [Creating a NetworkFence](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/networkfence.md)
|
||||
* [Creating a NetworkFence](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/networkfence.md)
|
||||
* Volume Replication
|
||||
* [Creating VolumeReplicationClass](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/volumereplicationclass.md)
|
||||
* [Creating VolumeReplication CR](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/volumereplication.md)
|
||||
* [Creating VolumeReplicationClass](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/volumereplicationclass.md)
|
||||
* [Creating VolumeReplication CR](https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.8.0/docs/volumereplication.md)
|
||||
|
||||
## Enable RBD Encryption Support
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v3.6.2"
|
||||
ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.4.2"
|
||||
ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.9.2"
|
||||
ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2"
|
||||
ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.7.0"
|
||||
ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.8.0"
|
||||
```
|
||||
|
||||
### **Use private repository**
|
||||
|
||||
@@ -523,7 +523,7 @@ csi:
|
||||
# -- Enable CSIAddons
|
||||
enabled: false
|
||||
# -- CSIAddons Sidecar image
|
||||
image: "quay.io/csiaddons/k8s-sidecar:v0.7.0"
|
||||
image: "quay.io/csiaddons/k8s-sidecar:v0.8.0"
|
||||
|
||||
nfs:
|
||||
# -- Enable the nfs csi driver
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
quay.io/ceph/ceph:v18.2.1
|
||||
quay.io/ceph/cosi:v0.1.1
|
||||
quay.io/cephcsi/cephcsi:v3.10.0
|
||||
quay.io/csiaddons/k8s-sidecar:v0.7.0
|
||||
quay.io/csiaddons/k8s-sidecar:v0.8.0
|
||||
registry.k8s.io/sig-storage/csi-attacher:v4.4.2
|
||||
registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1
|
||||
registry.k8s.io/sig-storage/csi-provisioner:v3.6.2
|
||||
|
||||
@@ -572,7 +572,7 @@ data:
|
||||
CSI_ENABLE_CSIADDONS: "false"
|
||||
# Enable watch for faster recovery from rbd rwo node loss
|
||||
ROOK_WATCH_FOR_NODE_FAILURE: "true"
|
||||
# ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.5.0"
|
||||
# ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.8.0"
|
||||
# The GCSI RPC timeout value (in seconds). It should be >= 120. If this variable is not set or is an invalid value, it's default to 150.
|
||||
CSI_GRPC_TIMEOUT_SECONDS: "150"
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ data:
|
||||
CSI_ENABLE_CSIADDONS: "false"
|
||||
# Enable watch for faster recovery from rbd rwo node loss
|
||||
ROOK_WATCH_FOR_NODE_FAILURE: "true"
|
||||
# ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.7.0"
|
||||
# ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.8.0"
|
||||
# The CSI GRPC timeout value (in seconds). It should be >= 120. If this variable is not set or is an invalid value, it's default to 150.
|
||||
CSI_GRPC_TIMEOUT_SECONDS: "150"
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ var (
|
||||
DefaultAttacherImage = "registry.k8s.io/sig-storage/csi-attacher:v4.4.2"
|
||||
DefaultSnapshotterImage = "registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2"
|
||||
DefaultResizerImage = "registry.k8s.io/sig-storage/csi-resizer:v1.9.2"
|
||||
DefaultCSIAddonsImage = "quay.io/csiaddons/k8s-sidecar:v0.7.0"
|
||||
DefaultCSIAddonsImage = "quay.io/csiaddons/k8s-sidecar:v0.8.0"
|
||||
|
||||
// image pull policy
|
||||
DefaultCSIImagePullPolicy = string(corev1.PullIfNotPresent)
|
||||
|
||||
@@ -173,6 +173,10 @@ spec:
|
||||
- "--namespace=$(POD_NAMESPACE)"
|
||||
- "--pod-uid=$(POD_UID)"
|
||||
- "--stagingpath={{ .KubeletDirPath }}/plugins/kubernetes.io/csi/"
|
||||
- "--leader-election-namespace={{ .Namespace }}"
|
||||
- "--leader-election-lease-duration=137s"
|
||||
- "--leader-election-renew-deadline=107s"
|
||||
- "--leader-election-retry-period=26s"
|
||||
ports:
|
||||
- containerPort: {{ .CSIAddonsPort }}
|
||||
env:
|
||||
|
||||
@@ -145,6 +145,10 @@ spec:
|
||||
- "--namespace=$(POD_NAMESPACE)"
|
||||
- "--pod-uid=$(POD_UID)"
|
||||
- "--stagingpath={{ .KubeletDirPath }}/plugins/kubernetes.io/csi/"
|
||||
- "--leader-election-namespace={{ .Namespace }}"
|
||||
- "--leader-election-lease-duration=137s"
|
||||
- "--leader-election-renew-deadline=107s"
|
||||
- "--leader-election-retry-period=26s"
|
||||
ports:
|
||||
- containerPort: {{ .CSIAddonsPort }}
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user