Example Analysis of ceph user Management in docker
This article mainly shows you the "sample Analysis of ceph user Management in docker", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn the article "sample Analysis of ceph user Management in docker".
Profile mds (Monitor only): profile bootstrap-osd (Monitor only): give the user permission to boot and start osd, such as batch management with profile rbd-read-only (OSD only): give the user only read permission for the rdb image.
Give the user permission to boot and start only a few metadata services
[root@k8s-node1 ~] # ceph auth export client.adminexport auth (auid = 18446744073709551615 key=AQBavtVb2irGJBAAsbJcna7p5fdAXykjVbxznA== with 4 caps) [client.admin] key=AQBavtVb2irGJBAAsbJcna7p5fdAXykjVbxznA== caps mds = "allow *" caps mgr = "allow *" caps mon = "allow *" caps osd = "allow *" [root@k8s-node1 ~] #
[root@k8s-node1] # ceph auth get-or-create-key client.ringo mon 'allow r' osd 'allow rw pool=test'-o ringo.txt
[root@k8s-node1 ~] # ceph auth get client.liexported keyring for client.li [client.li] key = AQDLrtlbFNYhFBAAnftA0AmtTLvEhDBOxXYxZw==caps allow rw = "mon" these are all the contents of the article "sample Analysis of ceph user Management in docker". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!