Member-only story

Ceph Air-gapped Deployment

DaeGon Kim
2 min readApr 30, 2024

This article describes a way to deploy a Ceph cluster in an air-gapped environment. We will use Ubuntu 22.04 and Ceph Quicy version.

Preparation

We set up two servers: one for an Ubuntu repo and one for container registry. Ubuntu repo is for installing ceph-common package. Instructions for setting such servers are not in the scope of this article. We also download a cephadm executables.

curl --silent --remote-name --location https://github.com/ceph/ceph/raw/quicy/src/cephadm/cephadm

The list of the container images for Ceph Quicy deployment is here.

quay.io/ceph/ceph:v17.2.5
quay.io/prometheus/prometheus:v2.33.4
quay.io/ceph/ceph-grafana:8.3.5
quay.io/prometheus/alertmanager:v0.23.0
quay.io/prometheus/node-exporter:v1.3.1
docker.io/grafana/loki:2.4.0
docker.io/grafana/promtail:2.4.0
quay.io/ceph/haproxy:2.3
quay.io/ceph/keepalived:2.1.5
docker.io/maxwo/snmp-notifier:v1.2.1

We pull these images, tag them and push them to a private container registry. Our private registry for this deployment is on 172.25.64.1:5000.

The overall environment is configured like this.

Air-gapped environment for Ceph deployment

Air-gapped deployment

Once the preparation steps are done, we need to bootstrap a Ceph node with two special option…

--

--

No responses yet