2ddd25489a
Added simplejson module for openstack container command to work with swiftclient Also bumped all kubectl versions to 1.31.0 Change-Id: I30a160fa8d352f2e0d0c544991159c672b190381 |
||
---|---|---|
.. | ||
Dockerfile.ubuntu_bionic | ||
Dockerfile.ubuntu_focal | ||
Dockerfile.ubuntu_jammy | ||
README.md |
Ceph-utility Container
The Ceph utility container enables Operations to check the state/stats of Ceph resources in the Kubernetes cluster. This utility container enables Operations to perform restricted administrative activities without exposing the credentials or keyring.
Generic Docker Makefile
This is a generic make and dockerfile for the Ceph utility container. This can be used to create docker images using different Ceph releases and Ubuntu releases
Usage
make CEPH_RELEASE=<release_name> UBUNTU_RELEASE=<release_name>
Example:
- Create a docker image for the Ceph Luminous release on Ubuntu Xenial (16.04).
make CEPH_RELEASE=luminous UBUNTU_RELEASE=xenial
- Create a docker image for the Ceph Mimic release on Ubuntu Xenial (16.04).
make CEPH_RELEASE=mimic UBUNTU_RELEASE=xenial
- Create a docker image for the Ceph Luminous release on Ubuntu Bionic (18.04).
make CEPH_RELEASE=luminous UBUNTU_RELEASE=bionic
- Create a docker image for the Ceph Mimic release on Ubuntu Bionic (18.04).
make CEPH_RELEASE=mimic UBUNTU_RELEASE=bionic
- Get into the utility pod using
kubectl exec
. Perform an operation on the Ceph cluster as in the following example.
Example:
utilscli ceph osd tree
utilscli rbd ls
utilscli rados lspools