porthole/images/ceph-utility
astebenkova f543332804 [images] Upgrade distro version to Ubuntu Jammy
+ add python3-netifaces for successful pip packages compilation and
  orphan-sysvinit-scripts to install /etc/init.d/rsyslog script in Jammy
+ build specific image instead of all in airship-porthole-images-* jobs

Change-Id: I5c9b3bf81db95a03bd623d3c46f37f37bd595504
2024-05-20 18:18:59 +03:00
..
Dockerfile.ubuntu_bionic [images] Decrease images size 2023-12-21 19:04:12 +02:00
Dockerfile.ubuntu_focal K8S upgrade v1.29.3 2024-04-09 11:02:09 -05:00
Dockerfile.ubuntu_jammy [images] Upgrade distro version to Ubuntu Jammy 2024-05-20 18:18:59 +03:00
README.md Editorial changes to documentation files 2019-12-16 09:21:19 -06:00

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:

  1. Create a docker image for the Ceph Luminous release on Ubuntu Xenial (16.04).
       make CEPH_RELEASE=luminous UBUNTU_RELEASE=xenial
  1. Create a docker image for the Ceph Mimic release on Ubuntu Xenial (16.04).
       make CEPH_RELEASE=mimic UBUNTU_RELEASE=xenial
  1. Create a docker image for the Ceph Luminous release on Ubuntu Bionic (18.04).
       make CEPH_RELEASE=luminous UBUNTU_RELEASE=bionic
  1. Create a docker image for the Ceph Mimic release on Ubuntu Bionic (18.04).
       make CEPH_RELEASE=mimic UBUNTU_RELEASE=bionic
  1. 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