Helm Charts for Ceph
This originally was a fork of https://github.com/openstack/openstack-helm containing only the Ceph related charts.
(These charts have now been moved to https://github.com/openstack/openstack-helm-infra by the Openstack-Helm
people.) Since then some things have diverged considerably. Notable differences at the time of writing (11/09/2019):
ceph-container
projectceph-config-helper
image is based on ceph/daemon-base
milestone-1
: This version was running in production for several month and includes Ceph Mimic (13.2.6) in
its last incarnation.
milestone-2
: This is major update of the Helm charts and it contains some not backwards compatible changes invalues.yaml
. Notable changes are:
openstack-helm-infra
.)values.yaml
. (Adapted in large partsopenstack-helm-infra
.)conf.ceph
in values.yaml
) are now not only applied when creating the Cephrbd
.crush-compat
instead of the newer upmap
. KRBD clients areceph_mgr_modules_config.balancer.active
to 0
. This disables automatic balancing.values.yaml
is now supported. (Also ported from openstack-helm-infra
.)milestone-3
: This is a major update and brings Ceph to version 14.2.2.
ceph-container
to 4.0.3 which includes Ceph 14.2.2.ceph pg ls
output.ceph-config-helper
image: Ceph to 14.2.2 and kubectl
to 1.15.3Remember to execute osd require-osd-release nautilus
after the upgrade is complete and you’re confident that you
don’t want to go back.
milestone-4
: This updates the Ceph OSD operator.
Update to Operator SDK 0.10.0
The Ceph OSD operator update changes the name of the custom resource definition as it was using the singular form
by mistake. So before upgrading the chart two additional steps are needed:
# Delete the old CRD
kubectl delete crd cephosd.ceph.elemental.net
# Install the new CRD
kubectl create -f ceph-with-helm/ceph-osd/templates/ceph_v1alpha1_cephosd_crd.yaml
This will temporarily delete any existing CephOSD custom resources and so all OSD pods. OSD data is not affected
and safe. The custom resources will need to be reinstalled either by upgrading the ceph-osd
chart or by other
means if they reside outside of the chart. After the new operator is operational it will recreate all OSD pods.
It is advisable to mark all OSDs as noout
for the time of the upgrade to prevent any unwanted data shuffling.
milestone-5
: This is major update and brings Ceph to version 15 (Octopus)
ceph-container
to 5.0.11 which includes Ceph 15.2.12.tools/scripts/finalize-keyring-migration
ceph-csi-rbd
and ceph-csi-cephfs
. These secrets can beceph-with-helm
for example with the official Helm charts of the Ceph CSI project.networking.k8s.io/v1beta1
to networking.k8s.io/v1
.