Project

General

Profile

Actions

Feature #46666

closed

cephadm: Introduce 'container' specification to deploy custom containers

Added by Volker Theile almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm/services
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

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

Related issues 1 (0 open1 closed)

Related to mgr - Feature #46775: mgr/cephadm: Enhance AlertManagerSpec to allow adding additional webhook receiver URLsResolvedVolker Theile

Actions
Actions #1

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
Actions #3

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
Actions #4

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)
Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Category changed from cephadm to cephadm/services
Actions #6

Updated by Lenz Grimmer over 3 years ago

  • Related to Feature #46775: mgr/cephadm: Enhance AlertManagerSpec to allow adding additional webhook receiver URLs added
Actions #7

Updated by Volker Theile over 3 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Volker Theile over 3 years ago

  • Pull request ID set to 36969
Actions #9

Updated by Volker Theile over 3 years ago

  • Backport set to octopus
Actions #10

Updated by Volker Theile over 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #11

Updated by Volker Theile over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #12

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF