Re: cephadm custom jinja2 service templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Felix, 

You can download haproxy.cfg.j2 and keepalived.conf.j2 from here [1], tweak them to your needs and set them via: 

ceph config-key set mgr/cephadm/services/ingress/haproxy.cfg -i haproxy.cfg.j2 
ceph config-key set mgr/cephadm/services/ingress/keepalived.conf -i keepalived.conf.j2 

Then redeploy the Ingress service: 

ceph orch redeploy <ingress-service-name> 

Regards, 
Frédéric. 

[1] https://github.com/ceph/ceph/tree/main/src/pybind/mgr/cephadm/templates/services/ingress 

----- Le 17 Avr 24, à 16:31, Stolte, Felix <f.stolte@xxxxxxxxxxxxx> a écrit : 

> Hi folks,
> I would like to use a custom jina2 template for an ingress service for rendering
> the keepalived and haproxy config. Can someone tell me how to override the
> default templates?

> Best regards
> Felix

> ---------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
> Geschaeftsfuehrung: Prof. Dr. Astrid Lambrecht (Vorsitzende),
> Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens, Prof. Dr. Frauke
> Melchior
> ---------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------------------------------

> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux