ansible_k8s_ceph_rbd
Ansible role that adds Ceph RBD
This role adds Ceph RBD persistent volume to k8s cluster. Note: rbd sercrets will be installed in kube-system namespace. The origin for templates is https://github.com/kubernetes-incubator/external-storage/tree/master/ceph/rbd/deploy/rbac
Requirements
- Installed and worked Kubernetes cluster
- Installed and worked Ceph monitor e.g. ceph-mon
- pip install -r requirements.txt
Role Variables
The role uses variables defined in defaults. You can override them by using group_vars or host_vars
Dependencies
None
Example Playbook
Here as a small example playbook:
- name: Add Ceph RBD to k8s
hosts: localhost
roles:
- bilenkis.ansible_k8s_ceph_rbd
You can run it with:
ansible-playbook -i tests/inventory tests/test.yml
License
Author Information
Feel free to open issues or MRs if you find problems or have ideas for improvements.
About
Add Ceph RBD persistent volume provisioner to your Kubernetes cluster
Install
ansible-galaxy install bilenkis/ansible-k8s-ceph-rbd
License
apache-2.0
Downloads
31
Owner