mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
update readme to deploy attacher as a sidecar continer in provisioner pod
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
5c600a1bc5
commit
72d1520f6d
@ -93,7 +93,6 @@ YAML manifests are located in `deploy/rbd/kubernetes`.
|
|||||||
**Deploy RBACs for sidecar containers and node plugins:**
|
**Deploy RBACs for sidecar containers and node plugins:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create -f csi-attacher-rbac.yaml
|
|
||||||
kubectl create -f csi-provisioner-rbac.yaml
|
kubectl create -f csi-provisioner-rbac.yaml
|
||||||
kubectl create -f csi-nodeplugin-rbac.yaml
|
kubectl create -f csi-nodeplugin-rbac.yaml
|
||||||
```
|
```
|
||||||
@ -105,12 +104,11 @@ the same permissions.
|
|||||||
**Deploy CSI sidecar containers:**
|
**Deploy CSI sidecar containers:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create -f csi-rbdplugin-attacher.yaml
|
|
||||||
kubectl create -f csi-rbdplugin-provisioner.yaml
|
kubectl create -f csi-rbdplugin-provisioner.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploys stateful sets for external-attacher and external-provisioner
|
Deploys stateful set of provision which includes external-provisioner
|
||||||
sidecar containers for CSI RBD.
|
,external-attacher,csi-snapshotter sidecar containers and CSI RBD plugin.
|
||||||
|
|
||||||
**Deploy RBD CSI driver:**
|
**Deploy RBD CSI driver:**
|
||||||
|
|
||||||
@ -118,7 +116,8 @@ sidecar containers for CSI RBD.
|
|||||||
kubectl create -f csi-rbdplugin.yaml
|
kubectl create -f csi-rbdplugin.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploys a daemon set with two containers: CSI driver-registrar and the CSI RBD driver.
|
Deploys a daemon set with two containers: CSI node-driver-registrar and the CSI
|
||||||
|
RBD driver.
|
||||||
|
|
||||||
## Verifying the deployment in Kubernetes
|
## Verifying the deployment in Kubernetes
|
||||||
|
|
||||||
@ -127,14 +126,11 @@ After successfully completing the steps above, you should see output similar to
|
|||||||
```bash
|
```bash
|
||||||
$ kubectl get all
|
$ kubectl get all
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
pod/csi-rbdplugin-attacher-0 1/1 Running 0 23s
|
|
||||||
pod/csi-rbdplugin-fptqr 2/2 Running 0 21s
|
pod/csi-rbdplugin-fptqr 2/2 Running 0 21s
|
||||||
pod/csi-rbdplugin-provisioner-0 1/1 Running 0 22s
|
pod/csi-rbdplugin-provisioner-0 4/4 Running 0 22s
|
||||||
|
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
service/csi-rbdplugin-attacher ClusterIP 10.109.15.54 <none> 12345/TCP 26s
|
|
||||||
service/csi-rbdplugin-provisioner ClusterIP 10.104.2.130 <none> 12345/TCP 23s
|
service/csi-rbdplugin-provisioner ClusterIP 10.104.2.130 <none> 12345/TCP 23s
|
||||||
|
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user