Feature #46666
closedcephadm: Introduce 'container' specification to deploy custom containers
0%
Description
By introducing a 'ContainerSpec' it is possible to deploy custom containers and configurations using cephadm without poluting the code base with things that are not related to Ceph.
E.g. there are plans to deploy a container containing a Prometheus Alertmanager SNMP webhook via cephadm which has absolute no relation to Ceph, but cephadm is needed downstream to deploy that container.
This example is surely the first but not the last potential scenario where such a 'Custom' specification makes sense.
A specification may look like
service_type: container
service_id: snmp-reciever
placement:
hosts:
- myhost
spec:
image: registry.suse.com...
config_files:
config.yaml: |
foobarbaz
Updated by Sebastian Wagner almost 4 years ago
https://github.com/ceph/ceph/blob/12a5c4669828a65ef23d87d22e9a6bfaad68691e/src/cephadm/cephadm#L3047
Needs a new case
src/python-common/ceph.deployment.service_spec needs a new sub class of ServiceSpec
mgr/cephadm.services.cephadmservice needs a new sub class of CephadmService
and the container should have a daemon_id similar to
custom.snmp-reciever.hostname.hsdfjksd
Updated by Volker Theile almost 4 years ago
- Subject changed from cephadm: Introduce 'Custom' specification to deploy custom containers to cephadm: Introduce 'container' specification to deploy custom containers
- Description updated (diff)
Updated by Sebastian Wagner almost 4 years ago
- Category changed from cephadm to cephadm/services
Updated by Lenz Grimmer over 3 years ago
- Related to Feature #46775: mgr/cephadm: Enhance AlertManagerSpec to allow adding additional webhook receiver URLs added
Updated by Volker Theile over 3 years ago
- Status changed from New to In Progress
Updated by Volker Theile over 3 years ago
- Status changed from In Progress to Fix Under Review
Updated by Volker Theile over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Sebastian Wagner over 3 years ago
- Status changed from Pending Backport to Resolved