|
2 | 2 |
|
3 | 3 | ## Prerequisites |
4 | 4 |
|
5 | | -- A valid domain name and TLS cert manager |
| 5 | +- A valid domain name and TLS certificate (Optional, recommended for production deployment) |
| 6 | +- An external managed PostgreSQL and RabbitMQ (Optional, recommended for production deployment) |
6 | 7 | - Kubernetes 1.12+ |
| 8 | +- Helm 3+ |
| 9 | + |
| 10 | +## Chart Details |
| 11 | + |
| 12 | +This chart will do the following |
| 13 | + |
| 14 | +- Deploy Pontoon server(s) and Celery worker deployment(s). |
| 15 | +- Deploy a PostgreSQL database and a RabbitMQ instance **NOTE**: For production deployment it is recommended to use external managed services. |
| 16 | + |
| 17 | +## Installing the Chart |
| 18 | + |
| 19 | +### Add skills-network Helm Repository |
| 20 | + |
| 21 | +```bash |
| 22 | +helm repo add sn https://charts.skills.network |
| 23 | +``` |
| 24 | + |
| 25 | +### Install Chart (Non-Production) |
| 26 | + |
| 27 | +If you are looking to try out Pontoon in a non-production environment, such as, [kind](https://kind.sigs.k8s.io/), [minikube](https://minikube.sigs.k8s.io). Save [values-unsafe.yaml](./values-unsafe.yaml) locally. |
| 28 | + |
| 29 | +```bash |
| 30 | +helm install pontoon sn/pontoon --values ./values-unsafe.yaml |
| 31 | +``` |
| 32 | + |
| 33 | +### Install Chart (Production-ish) |
| 34 | + |
| 35 | +This will deploy both Pontoon server and a Celery worker instance, along with both Postgres and RabbitMQ. However, it's still not suitable for production-grade deployment. Save [values-demo.yaml](./values-demo.yaml) locally. |
| 36 | + |
| 37 | +```bash |
| 38 | +helm install pontoon sn/pontoon --values ./values-demo.yaml |
| 39 | +``` |
| 40 | + |
| 41 | +### Install Chart (Production) |
| 42 | + |
| 43 | +Create a value file with the configuration |
| 44 | + |
| 45 | +`values-production.yaml` |
| 46 | + |
| 47 | +```yml |
| 48 | +siteUrl: "https://pontoon.example.com" |
| 49 | + |
| 50 | +secretKey: "randomsecret" |
| 51 | + |
| 52 | +extraEnvVars: |
| 53 | + - name: ALLOWED_HOSTS |
| 54 | + value: "pontoon.example.com" |
| 55 | + |
| 56 | +postgres: |
| 57 | + enabled: false |
| 58 | + databaseUrl: postgres://username:[email protected]:5432/pontoon |
| 59 | + |
| 60 | +rabbitmq: |
| 61 | + enabled: false |
| 62 | + url: amqps://username:[email protected]:5672/pontoon |
| 63 | + |
| 64 | +ingress: |
| 65 | + enabled: true |
| 66 | + annotations: |
| 67 | + external-dns.alpha.kubernetes.io/hostname: "pontoon.example.com" |
| 68 | + external-dns.alpha.kubernetes.io/target: "ingress.hostname" |
| 69 | + cert-manager.io/cluster-issuer: acme-issuer |
| 70 | + acme.cert-manager.io/http01-edit-in-place: "true" |
| 71 | + hosts: |
| 72 | + - "pontoon.example.com" |
| 73 | + tls: |
| 74 | + - hosts: |
| 75 | + - "pontoon.example.com" |
| 76 | + secretName: "tls-cert-secret" |
| 77 | +``` |
| 78 | +
|
| 79 | +```bash |
| 80 | +helm install pontoon sn/pontoon --values ./values-production.yaml |
| 81 | +``` |
0 commit comments