2020-01-02 08:26:59 +00:00
|
|
|
# Ceph-csi Upgrade
|
|
|
|
|
|
|
|
- [Ceph-csi Upgrade](#ceph-csi-upgrade)
|
2022-11-09 13:37:26 +00:00
|
|
|
- [Pre-upgrade considerations](#pre-upgrade-considerations)
|
|
|
|
- [Snapshot-controller and snapshot crd](#snapshot-controller-and-snapshot-crd)
|
2023-06-26 05:46:24 +00:00
|
|
|
- [Upgrading from previous releases](#upgrading-from-previous-releases)
|
2024-04-01 09:22:04 +00:00
|
|
|
- [Upgrading from v3.10 to v3.11](#upgrading-from-v310-to-v311)
|
2022-11-09 13:37:26 +00:00
|
|
|
- [Upgrading CephFS](#upgrading-cephfs)
|
|
|
|
- [1. Upgrade CephFS Provisioner resources](#1-upgrade-cephfs-provisioner-resources)
|
|
|
|
- [1.1 Update the CephFS Provisioner RBAC](#11-update-the-cephfs-provisioner-rbac)
|
|
|
|
- [1.2 Update the CephFS Provisioner deployment](#12-update-the-cephfs-provisioner-deployment)
|
|
|
|
- [2. Upgrade CephFS Nodeplugin resources](#2-upgrade-cephfs-nodeplugin-resources)
|
|
|
|
- [2.1 Update the CephFS Nodeplugin RBAC](#21-update-the-cephfs-nodeplugin-rbac)
|
|
|
|
- [2.2 Update the CephFS Nodeplugin daemonset](#22-update-the-cephfs-nodeplugin-daemonset)
|
|
|
|
- [2.3 Manual deletion of CephFS Nodeplugin daemonset pods](#23-manual-deletion-of-cephfs-nodeplugin-daemonset-pods)
|
|
|
|
- [Upgrading RBD](#upgrading-rbd)
|
|
|
|
- [3. Upgrade RBD Provisioner resources](#3-upgrade-rbd-provisioner-resources)
|
|
|
|
- [3.1 Update the RBD Provisioner RBAC](#31-update-the-rbd-provisioner-rbac)
|
|
|
|
- [3.2 Update the RBD Provisioner deployment](#32-update-the-rbd-provisioner-deployment)
|
|
|
|
- [4. Upgrade RBD Nodeplugin resources](#4-upgrade-rbd-nodeplugin-resources)
|
|
|
|
- [4.1 Update the RBD Nodeplugin RBAC](#41-update-the-rbd-nodeplugin-rbac)
|
|
|
|
- [4.2 Update the RBD Nodeplugin daemonset](#42-update-the-rbd-nodeplugin-daemonset)
|
|
|
|
- [Upgrading NFS](#upgrading-nfs)
|
|
|
|
- [5. Upgrade NFS Provisioner resources](#5-upgrade-nfs-provisioner-resources)
|
|
|
|
- [5.1 Update the NFS Provisioner RBAC](#51-update-the-nfs-provisioner-rbac)
|
|
|
|
- [5.2 Update the NFS Provisioner deployment](#52-update-the-nfs-provisioner-deployment)
|
|
|
|
- [6. Upgrade NFS Nodeplugin resources](#6-upgrade-nfs-nodeplugin-resources)
|
|
|
|
- [6.1 Update the NFS Nodeplugin RBAC](#61-update-the-nfs-nodeplugin-rbac)
|
|
|
|
- [6.2 Update the NFS Nodeplugin daemonset](#62-update-the-nfs-nodeplugin-daemonset)
|
|
|
|
- [CSI Sidecar containers consideration](#csi-sidecar-containers-consideration)
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
## Pre-upgrade considerations
|
|
|
|
|
|
|
|
In some scenarios there is an issue in the CSI driver that will cause
|
|
|
|
application pods to be disconnected from their mounts when the CSI driver is
|
|
|
|
restarted. Since the upgrade would cause the CSI driver to restart if it is
|
|
|
|
updated, you need to be aware of whether this affects your applications. This
|
2021-07-28 08:40:46 +00:00
|
|
|
issue will happen when using the Ceph fuse client.
|
2020-01-02 08:26:59 +00:00
|
|
|
|
2021-07-28 08:40:46 +00:00
|
|
|
If you provision volumes for CephFS and have a kernel less than version 4.17,
|
|
|
|
the CSI driver will fall back to use the FUSE client.
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
If you are affected by this issue, you will need to proceed carefully during
|
|
|
|
the upgrade to restart your application pods. The recommended step is to modify
|
|
|
|
the update strategy of the CSI nodeplugin daemonsets to OnDelete so that you
|
|
|
|
can control when the CSI driver pods are restarted on each node.
|
|
|
|
|
|
|
|
To avoid this issue in future upgrades, we recommend that you do not use the
|
2021-07-28 08:40:46 +00:00
|
|
|
fuse client as of now.
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
This guide will walk you through the steps to upgrade the software in a cluster
|
2024-04-01 09:22:04 +00:00
|
|
|
from v3.10 to v3.11
|
2020-01-02 08:26:59 +00:00
|
|
|
|
2021-03-29 12:47:26 +00:00
|
|
|
### Snapshot-controller and snapshot crd
|
2020-07-03 07:10:45 +00:00
|
|
|
|
2020-08-12 05:45:21 +00:00
|
|
|
Its kubernetes distributor responsibility to install new snapshot
|
2021-03-15 07:17:21 +00:00
|
|
|
controller and snapshot CRD. more info can be found
|
2020-08-12 05:45:21 +00:00
|
|
|
[here](https://github.com/kubernetes-csi/external-snapshotter/tree/master#usage)
|
2020-07-03 07:10:45 +00:00
|
|
|
|
2021-03-15 07:17:21 +00:00
|
|
|
**Note:** We recommend to use {sidecar, controller, crds} of same version
|
|
|
|
|
2023-06-26 05:46:24 +00:00
|
|
|
## Upgrading from previous releases
|
2021-04-20 11:21:24 +00:00
|
|
|
|
2023-06-26 05:46:24 +00:00
|
|
|
To upgrade from previous releases, refer to the following:
|
2021-07-28 08:40:46 +00:00
|
|
|
|
2023-06-26 05:46:24 +00:00
|
|
|
- [upgrade-from-v3.2-v3.3](https://github.com/ceph/ceph-csi/blob/v3.3.1/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.2 to v3.3
|
|
|
|
- [upgrade-from-v3.3-v3.4](https://github.com/ceph/ceph-csi/blob/v3.4.0/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.3 to v3.4
|
|
|
|
- [upgrade-from-v3.4-v3.5](https://github.com/ceph/ceph-csi/blob/v3.5.1/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.4 to v3.5
|
|
|
|
- [upgrade-from-v3.5-v3.6](https://github.com/ceph/ceph-csi/blob/v3.6.1/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.5 to v3.6
|
|
|
|
- [upgrade-from-v3.6-v3.7](https://github.com/ceph/ceph-csi/blob/v3.7.2/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.6 to v3.7
|
|
|
|
- [upgrade-from-v3.7-v3.8](https://github.com/ceph/ceph-csi/blob/v3.8.0/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.7 to v3.8
|
2023-11-27 09:45:12 +00:00
|
|
|
- [upgrade-from-v3.8-v3.9](https://github.com/ceph/ceph-csi/blob/v3.9.0/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.8 to v3.9
|
2024-04-01 09:22:04 +00:00
|
|
|
- [upgrade-from-v3.9-v3.10](https://github.com/ceph/ceph-csi/blob/v3.10.0/docs/ceph-csi-upgrade.md)
|
|
|
|
to upgrade from cephcsi v3.9 to v3.10
|
2021-07-28 08:40:46 +00:00
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
## Upgrading from v3.10 to v3.11
|
2023-02-22 07:31:35 +00:00
|
|
|
|
2021-02-25 08:19:23 +00:00
|
|
|
**Ceph-csi releases from devel are expressly unsupported.** It is strongly
|
2020-01-02 08:26:59 +00:00
|
|
|
recommended that you use [official
|
|
|
|
releases](https://github.com/ceph/ceph-csi/releases) of Ceph-csi. Unreleased
|
2021-02-25 08:19:23 +00:00
|
|
|
versions from the devel branch are subject to changes and incompatibilities
|
|
|
|
that will not be supported in the official releases. Builds from the devel
|
2020-01-02 08:26:59 +00:00
|
|
|
branch can have functionality changed and even removed at any time without
|
|
|
|
compatibility support and without prior notice.
|
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
**Also, we do not recommend any direct upgrades to 3.11 except from 3.10 to 3.11.**
|
|
|
|
For example, upgrading from 3.8 to 3.11 is not recommended.
|
2021-07-28 08:40:46 +00:00
|
|
|
|
2023-11-27 09:45:12 +00:00
|
|
|
**Refer to the Breaking Changes Section in the
|
2024-04-01 09:22:04 +00:00
|
|
|
[release notes](https://github.com/ceph/ceph-csi/releases/tag/v3.11.0) before
|
2023-11-27 09:45:12 +00:00
|
|
|
proceeding further.**
|
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
git checkout v3.11.0 tag
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
git clone https://github.com/ceph/ceph-csi.git
|
|
|
|
cd ./ceph-csi
|
2024-04-01 09:22:04 +00:00
|
|
|
git checkout v3.11.0
|
2020-01-02 08:26:59 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```console
|
|
|
|
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
|
|
|
|
```
|
|
|
|
|
2022-01-13 05:37:42 +00:00
|
|
|
**Note:** While upgrading please Ignore above warning messages from kubectl output
|
|
|
|
|
2020-01-02 08:26:59 +00:00
|
|
|
### Upgrading CephFS
|
|
|
|
|
|
|
|
Upgrading cephfs csi includes upgrade of cephfs driver and as well as
|
|
|
|
kubernetes sidecar containers and also the permissions required for the
|
|
|
|
kubernetes sidecar containers, lets upgrade the things one by one
|
|
|
|
|
|
|
|
#### 1. Upgrade CephFS Provisioner resources
|
|
|
|
|
|
|
|
Upgrade provisioner resources include updating the provisioner RBAC and
|
|
|
|
Provisioner deployment
|
|
|
|
|
|
|
|
##### 1.1 Update the CephFS Provisioner RBAC
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/cephfs/kubernetes/csi-provisioner-rbac.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
serviceaccount/cephfs-csi-provisioner configured
|
|
|
|
clusterrole.rbac.authorization.k8s.io/cephfs-external-provisioner-runner configured
|
|
|
|
clusterrole.rbac.authorization.k8s.io/cephfs-external-provisioner-runner-rules configured
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/cephfs-csi-provisioner-role configured
|
|
|
|
role.rbac.authorization.k8s.io/cephfs-external-provisioner-cfg configured
|
|
|
|
rolebinding.rbac.authorization.k8s.io/cephfs-csi-provisioner-role-cfg configured
|
|
|
|
```
|
|
|
|
|
2019-12-19 15:35:58 +00:00
|
|
|
##### 1.2 Update the CephFS Provisioner deployment
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/cephfs/kubernetes/csi-cephfsplugin-provisioner.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
service/csi-cephfsplugin-provisioner configured
|
|
|
|
deployment.apps/csi-cephfsplugin-provisioner configured
|
|
|
|
```
|
|
|
|
|
|
|
|
wait for the deployment to complete
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl get deployment
|
2020-01-02 08:26:59 +00:00
|
|
|
NAME READY UP-TO-DATE AVAILABLE AGE
|
|
|
|
csi-cephfsplugin-provisioner 3/3 1 3 104m
|
|
|
|
```
|
|
|
|
|
|
|
|
deployment UP-TO-DATE value must be same as READY
|
|
|
|
|
|
|
|
#### 2. Upgrade CephFS Nodeplugin resources
|
|
|
|
|
|
|
|
Upgrading nodeplugin resources include updating the nodeplugin RBAC and
|
|
|
|
nodeplugin daemonset
|
|
|
|
|
|
|
|
##### 2.1 Update the CephFS Nodeplugin RBAC
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/cephfs/kubernetes/csi-nodeplugin-rbac.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
serviceaccount/cephfs-csi-nodeplugin configured
|
|
|
|
```
|
|
|
|
|
|
|
|
If you determined in [Pre-upgrade considerations](#pre-upgrade-considerations)
|
|
|
|
that you were affected by the CSI driver restart issue that disconnects the
|
2021-07-28 08:40:46 +00:00
|
|
|
application pods from their mounts, continue with this section. Otherwise, you
|
2020-01-02 08:26:59 +00:00
|
|
|
can skip to step 2.2
|
|
|
|
|
|
|
|
```console
|
2019-12-19 15:35:58 +00:00
|
|
|
vi deploy/cephfs/kubernetes/csi-cephfsplugin.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
kind: DaemonSet
|
|
|
|
apiVersion: apps/v1
|
|
|
|
metadata:
|
|
|
|
name: csi-cephfsplugin
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: csi-cephfsplugin
|
|
|
|
updateStrategy:
|
|
|
|
type: OnDelete
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: csi-cephfsplugin
|
|
|
|
spec:
|
2021-04-05 11:43:45 +00:00
|
|
|
serviceAccountName: cephfs-csi-nodeplugin
|
2020-01-02 08:26:59 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
in the above template we have added `updateStrategy` and its `type` to the
|
|
|
|
daemonset spec
|
|
|
|
|
|
|
|
##### 2.2 Update the CephFS Nodeplugin daemonset
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/cephfs/kubernetes/csi-cephfsplugin.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
daemonset.apps/csi-cephfsplugin configured
|
|
|
|
service/csi-metrics-cephfsplugin configured
|
|
|
|
```
|
|
|
|
|
|
|
|
##### 2.3 Manual deletion of CephFS Nodeplugin daemonset pods
|
|
|
|
|
|
|
|
If you determined in [Pre-upgrade considerations](#pre-upgrade-considerations)
|
|
|
|
that you were affected by the CSI driver restart issue that disconnects the
|
|
|
|
application pods from their mounts, continue with this section. Otherwise, you
|
|
|
|
can skip this section.
|
|
|
|
|
|
|
|
As we have set the updateStrategy to OnDelete the CSI driver pods will not be
|
|
|
|
updated until you delete them manually. This allows you to control when your
|
|
|
|
application pods will be affected by the CSI driver restart.
|
|
|
|
|
|
|
|
For each node:
|
|
|
|
|
|
|
|
- Drain your application pods from the node
|
|
|
|
- Delete the CSI driver pods on the node
|
2022-11-09 13:37:26 +00:00
|
|
|
- The pods to delete will be named with a csi-cephfsplugin prefix and have a
|
2023-06-26 05:46:24 +00:00
|
|
|
random suffix on each node. However, no need to delete the provisioner
|
|
|
|
pods: csi-cephfsplugin-provisioner-* .
|
2022-11-09 13:37:26 +00:00
|
|
|
- The pod deletion causes the pods to be restarted and updated automatically
|
2023-06-26 05:46:24 +00:00
|
|
|
on the node.
|
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
we have successfully upgraded cephfs csi from v3.10 to v3.11
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
### Upgrading RBD
|
|
|
|
|
|
|
|
Upgrading rbd csi includes upgrade of rbd driver and as well as kubernetes
|
|
|
|
sidecar containers and also the permissions required for the kubernetes sidecar
|
|
|
|
containers, lets upgrade the things one by one
|
|
|
|
|
|
|
|
#### 3. Upgrade RBD Provisioner resources
|
|
|
|
|
|
|
|
Upgrading provisioner resources include updating the provisioner RBAC and
|
|
|
|
Provisioner deployment
|
|
|
|
|
|
|
|
##### 3.1 Update the RBD Provisioner RBAC
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/rbd/kubernetes/csi-provisioner-rbac.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
serviceaccount/rbd-csi-provisioner configured
|
|
|
|
clusterrole.rbac.authorization.k8s.io/rbd-external-provisioner-runner configured
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/rbd-csi-provisioner-role configured
|
|
|
|
role.rbac.authorization.k8s.io/rbd-external-provisioner-cfg configured
|
|
|
|
rolebinding.rbac.authorization.k8s.io/rbd-csi-provisioner-role-cfg configured
|
|
|
|
```
|
|
|
|
|
2019-12-19 15:35:58 +00:00
|
|
|
##### 3.2 Update the RBD Provisioner deployment
|
2020-01-02 08:26:59 +00:00
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
service/csi-rbdplugin-provisioner configured
|
|
|
|
deployment.apps/csi-rbdplugin-provisioner configured
|
|
|
|
```
|
|
|
|
|
|
|
|
wait for the deployment to complete
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl get deployments
|
2020-01-02 08:26:59 +00:00
|
|
|
NAME READY UP-TO-DATE AVAILABLE AGE
|
|
|
|
csi-rbdplugin-provisioner 3/3 3 3 139m
|
|
|
|
```
|
|
|
|
|
|
|
|
deployment UP-TO-DATE value must be same as READY
|
|
|
|
|
|
|
|
#### 4. Upgrade RBD Nodeplugin resources
|
|
|
|
|
|
|
|
Upgrading nodeplugin resources include updating the nodeplugin RBAC and
|
|
|
|
nodeplugin daemonset
|
|
|
|
|
|
|
|
##### 4.1 Update the RBD Nodeplugin RBAC
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/rbd/kubernetes/csi-nodeplugin-rbac.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
serviceaccount/rbd-csi-nodeplugin configured
|
|
|
|
clusterrole.rbac.authorization.k8s.io/rbd-csi-nodeplugin configured
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/rbd-csi-nodeplugin configured
|
|
|
|
```
|
|
|
|
|
|
|
|
##### 4.2 Update the RBD Nodeplugin daemonset
|
|
|
|
|
|
|
|
```bash
|
2020-11-11 07:22:54 +00:00
|
|
|
$ kubectl apply -f deploy/rbd/kubernetes/csi-rbdplugin.yaml
|
2020-01-02 08:26:59 +00:00
|
|
|
daemonset.apps/csi-rbdplugin configured
|
|
|
|
service/csi-metrics-rbdplugin configured
|
|
|
|
```
|
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
we have successfully upgraded RBD csi from v3.10 to v3.11
|
2020-12-07 11:10:56 +00:00
|
|
|
|
2022-08-19 04:17:41 +00:00
|
|
|
### Upgrading NFS
|
|
|
|
|
|
|
|
Upgrading nfs csi includes upgrade of nfs driver and as well as
|
|
|
|
kubernetes sidecar containers and also the permissions required for the
|
|
|
|
kubernetes sidecar containers, lets upgrade the things one by one
|
|
|
|
|
|
|
|
#### 5. Upgrade NFS Provisioner resources
|
|
|
|
|
|
|
|
Upgrade provisioner resources include updating the provisioner RBAC and
|
|
|
|
Provisioner deployment
|
|
|
|
|
|
|
|
##### 5.1 Update the NFS Provisioner RBAC
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ kubectl apply -f deploy/nfs/kubernetes/csi-provisioner-rbac.yaml
|
|
|
|
serviceaccount/nfs-csi-provisioner configured
|
|
|
|
clusterrole.rbac.authorization.k8s.io/nfs-external-provisioner-runner configured
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/nfs-csi-provisioner-role configured
|
|
|
|
role.rbac.authorization.k8s.io/nfs-external-provisioner-cfg configured
|
|
|
|
rolebinding.rbac.authorization.k8s.io/nfs-csi-provisioner-role-cfg configured
|
|
|
|
```
|
|
|
|
|
|
|
|
##### 5.2 Update the NFS Provisioner deployment
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ kubectl apply -f deploy/nfs/kubernetes/csi-nfsplugin-provisioner.yaml
|
|
|
|
service/csi-nfsplugin-provisioner configured
|
|
|
|
deployment.apps/csi-nfsplugin-provisioner configured
|
|
|
|
```
|
|
|
|
|
|
|
|
wait for the deployment to complete
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ kubectl get deployment
|
|
|
|
NAME READY UP-TO-DATE AVAILABLE AGE
|
|
|
|
csi-nfsplugin-provisioner 5/5 1 5 104m
|
|
|
|
```
|
|
|
|
|
|
|
|
deployment UP-TO-DATE value must be same as READY
|
|
|
|
|
|
|
|
#### 6. Upgrade NFS Nodeplugin resources
|
|
|
|
|
|
|
|
Upgrading nodeplugin resources include updating the nodeplugin RBAC and
|
|
|
|
nodeplugin daemonset
|
|
|
|
|
|
|
|
##### 6.1 Update the NFS Nodeplugin RBAC
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ kubectl apply -f deploy/nfs/kubernetes/csi-nodeplugin-rbac.yaml
|
|
|
|
serviceaccount/nfs-csi-nodeplugin configured
|
|
|
|
```
|
|
|
|
|
|
|
|
##### 6.2 Update the NFS Nodeplugin daemonset
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ kubectl apply -f deploy/nfs/kubernetes/csi-nfsplugin.yaml
|
|
|
|
daemonset.apps/csi-nfsplugin configured
|
|
|
|
service/csi-metrics-nfsplugin configured
|
|
|
|
```
|
|
|
|
|
2024-04-01 09:22:04 +00:00
|
|
|
we have successfully upgraded nfs csi from v3.10 to v3.11
|
2022-08-19 04:17:41 +00:00
|
|
|
|
2020-12-07 11:10:56 +00:00
|
|
|
### CSI Sidecar containers consideration
|
|
|
|
|
|
|
|
With 3.2.0 version of ceph-csi we have updated the versions of CSI sidecar
|
|
|
|
containers. These versions are generally compatible with kubernetes
|
|
|
|
version>=1.17 but based on the kubernetes version you are using, you need to
|
|
|
|
update the templates with required sidecar versions.
|
|
|
|
You also might need to update or remove a few arguments based on the sidecar
|
|
|
|
versions you are using.
|
|
|
|
Refer
|
|
|
|
[sidecar-compatibility](https://kubernetes-csi.github.io/docs/sidecar-containers.html)
|
|
|
|
for more details.
|