forked from rook/rook
Make the Rook config-init unnecessary for mons, and remove that init container. Perform all mon configuration steps in the operator, and set up the mon pods and k8s environment such that only Ceph containers are needed for running mons. This should help streamline changes to the mons, as there will be no need to change the `daemon/mon` code or `cmd/rook/ceph` code with mon changes in the future. This work starts to lay the groundwork for supporting the `design/ceph-config-updates.md` design. Notable new bits: Create a keyring secret store helper for storing dameon keyrings, and use it to store the mon keyring. Mon pods mount the keyring into a k8s secret-backed volume. Create a configmap store for the Ceph config file which can be mounted into pods/containers directly to /etc/ceph/ceph.conf. Also store individual mon_host and mon_initial_members values which can be mapped into pods as environment variables and used in Ceph commandline flags, enabling the mon pods to have the most up-to-date information about the mon cluster when restarting and without need for operator intervention. Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
1.5 KiB
1.5 KiB
Major Themes
Action Required
Notable Features
Minio Object Stores
- Now have an additional label named `objectstore` with the name of the Object Store, to allow better selection for Services.
- Use `Readiness` and `Liveness` probes.
- Updated automatically on Object Store CRD changes.
Ceph
- A
CephNFSCRD will start NFS daemon(s) for exporting CephFS volumes or RGW buckets. See the NFS documentation. - Selinux labeling for mounts can now be toggled with the ROOK_ENABLE_SELINUX_RELABELING environment variable.
- Recursive chown for mounts can now be toggled with the ROOK_ENABLE_FSGROUP environment variable.
- Added the dashboard
portconfiguration setting. - Added the dashboard
sslconfiguration setting.
Breaking Changes
- Rook no longer supports Kubernetes
1.8and1.9. - Rook no longer supports running more than one monitor on the same node when
hostNetworkandallowMultiplePerNodearetrue.
Ceph
- Rook will no longer create a directory-based osd in the
dataDirHostPathif no directories or devices are specified or if there are no disks on the host. - Containers in
monpods have been removed and/or changed names. - Config paths in
moncontainers are now always the Ceph default paths (/etc/ceph,/var/lib/ceph) regardless of thedataDirHostPathsetting.