CRON, LDAP and Provisioning¶
CRON¶
Several CRON tasks are declared in a Reemo platform. It is imperative that they are unique. When using multiple infra or api servers/clusters, you must choose the server/cluster that will handle these services and disable them on the others using the CRON_ENABLE: “false” option.
Gestion générale des tâches
Option disponible:
API_cronGhostContainersMinutes: Temps d’expiration des conteneurs qui continuent à être UP dans l’environnement Provision mais qui n’ont plus d’existance connue par l’interface
Tâche permettant la suppression programmée des logs dans la base de données
Options disponibles:
API_CRONLOG_INTERVAL: Interval entre 2 requetes de suppression de log en heure / 24 heures par défaut
API_CRONLOG_RETENTION: Temps de rétention des logs en mois / 12 mois par défaut
Tâche permettant la synchronisation avec un serveur LDAP
Option disponible:
API_CRONLDAP_INTERVAL: Interval en minutes entre chaque synchronisation avec le serveur LDAP / 60 minutes par défaut
Alternative LDAP¶
In the case of a multi-API architecture, it is possible to use 2 FQDNs for the same LDAP server.
To do this, you can add the following option to the configuration of the API server that needs to use the alternative URL to contact the LDAP server:
API_useAlternateLDAPHost: "true"
Provisioning¶
To preload Docker images, use the PROVISION_IMAGE_WARMUP variable.
See also
See the dedicated section in the PROVISION Environment documentation for more details on image optimization.