Home > other >  How through cinder kubernetes use ceph as backend storage?
How through cinder kubernetes use ceph as backend storage?

Time:09-26

I set up a single node k8s and it also ceph, there is an example online said k8s now support by cinder using RBD volume is ceph as backend storage, by creating a pod to use, but I have not been implemented,

Example:
ApiVersion: v1
Kind: Pod
The metadata:
Name: nginx
Labels:
App: nginx
Spec:
Containers:
- name: nginx
Image: nginx
Ports:
- containerPort: 80
VolumeMounts:
- name: nginx - persistent storage
MountPath:/var/lib/nginx
Volumes,
- name: nginx - persistent storage
Cinder:
B2a7b volumeID: 651-683 - e - 47 e1 - bdd6 - e3c62e8f91c0
FsType: corruption

Is there anyone do successful case? Also go to give a yaml files

CodePudding user response:

www.xttblog.com
  • Related