Project

General

Profile

Feature #46666

Updated by Volker Theile over 3 years ago

By introducing a 'ContainerSpec' 'CustomSpec' 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 

 <pre><code class="yaml"> 
 service_type: container custom 
 service_id: snmp-reciever 
 placement: 
   hosts: 
   - myhost 
 spec: 
   image: registry.suse.com... 
   config_files: 
     config.yaml: | 
       foobarbaz 
 </code></pre> 

Back