- Un compte sur DockerHub
- Cluster Kubernetes en version 1.21+
- Installer helm 3.10+
- Installer Nginx Ingress Controller
- Configurer des volumes persistants pour la persistence des données - Indispensable en production
PostgreSQL est installé par defaut pour cette partie
| Composants | Coog | Celery | Cron | Libroconv |
|---|---|---|---|---|
| Coog | ✔️ | ✔️ | ||
| Celery | ✔️ | ✔️ | ||
| Cron | ✔️ | ✔️ | ||
| Libroconv | ✔️ | ✔️ | ✔️ |
La valeur mongodb.isManaged doit être à true pour installer MongoDB par le chart, laisser à false si vous avez un serveur MongoDB externe.
| Composants | API | API-identity-manager | Gateway | API-referential | B2B | Web |
|---|---|---|---|---|---|---|
| API | ✔️ | ✔️ | ||||
| API-identity-manager | ✔️ | ✔️ | ||||
| Gateway | ✔️ | ✔️ | ||||
| API-referential | ✔️ | ✔️ | ✔️ | |||
| B2B | ✔️ | ✔️ | ✔️ | |||
| Web | ✔️ | ✔️ | ✔️ | ✔️ |
La valeur mongodb.isManaged doit être à true pour installer MongoDB par le chart, laisser à false si vous avez un serveur MongoDB externe.
| Composants | API | API-identity-manager | Gateway | API-B2C | Customer-backend | Customer-frontend | B2C |
|---|---|---|---|---|---|---|---|
| API | ✔️ | ✔️ | |||||
| API-identity-manager | ✔️ | ✔️ | |||||
| Gateway | ✔️ | ✔️ | |||||
| API-B2C | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
| Customer-backend | ✔️ | ✔️ | ✔️ | ✔️ | |||
| Customer-frontend | ✔️ | ✔️ | ✔️ | ||||
| B2C | ✔️ | ✔️ | ✔️ |
Dans votre fichier de configuration des valeurs (exemple : client_values.yml) :
imageCredentials:
registry: docker.io
username: user-1234
password: password-1234
email: my-email@my-company.comhelm repo add coopengo https://gitlab.com/api/v4/projects/35933718/packages/helm/stable
helm upgrade -i coog coopengo/coog --namespace=coog-client -f client_values.ymlDans votre fichier de configuration des valeurs (exemple : client_values.yml) :
Les EFS doivent être crée manuellement à l'avance.
Volume principal pour coog:
backCore:
persistentVolume:
enabled: true
storageClass: "efs-sc"
size: 10Gi
customPersistentVolume:
mountOptions:
- "tls"
persistentVolumeReclaimPolicy: "Retain"
csi:
driver: "efs.csi.aws.com"
volumeHandle: "fs-123456789"Si composants Front activés :
mongodb:
persistence:
storageClass: "efs-sc"
size: 10Gi
customPersistentVolume:
mountOptions:
- "tls"
persistentVolumeReclaimPolicy: "Retain"
csi:
driver: "efs.csi.aws.com"
volumeHandle: "fs-987654321"