Rahul Khiyani f2125faf4d Ceph-utility python and Ubuntu upgrade.
This Patchset updated Ubuntu to  Bionic
and Python from 2.0 to 3.0

Change-Id: I0e967fa7f7f4d4a5619489a9da79b6561da9c9cb
2019-12-16 14:44:09 +00:00
..
2019-11-19 14:56:22 +00:00

Ceph-utility Container

This CEPH utility container will help the Operation user to check the state/stats of Ceph resources in the K8s Cluster. This utility container will help to perform restricted admin level activities without exposing credentials/Keyring to user in utility container.

Generic Docker Makefile

This is a generic make and dockerfile for 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:

  1. Create docker image for ceph luminous release on ubuntu xenial (16.04)

    make CEPH_RELEASE=luminous UBUNTU_RELEASE=xenial

  2. Create docker image for ceph mimic release on ubuntu xenial (16.04)

    make CEPH_RELEASE=mimic UBUNTU_RELEASE=xenial

  3. Create docker image for ceph luminous release on ubuntu bionic (18.04)

    make CEPH_RELEASE=luminous UBUNTU_RELEASE=bionic

  4. Create docker image for ceph mimic release on ubuntu bionic (18.04)

    make CEPH_RELEASE=mimic UBUNTU_RELEASE=bionic

  5. Get in to the utility pod using kubectl exec. To perform any operation on the ceph cluster use the below example.

example: utilscli ceph osd tree utilscli rbd ls utilscli rados lspools