Standalone use
If you already have a cluster (with another provider or whatever), you can still use this Terraform to deploy all the mentioned tools on it, if and only if you use ingress-nginx as your ingress controller. For this, you will need a kubeconfig file to access your cluster. (or your credentials, if so, you will have to modify by yourself the terraform.tf file).
This part will install :
- Cert-manager, provisionned with issuers
- Prometheus along Grafana
- ArgoCD provisionned with a default repository
- Velero
- Hashicorp Vault
- Loki
Requirements
Ingress-nginx must be configured with some values:
controller:
metrics:
enabled: true
serviceMonitor:
additionalLabels:
release: prometheus
enabled: true
extraArgs:
enable-ssl-passthrough: true
Steps
Follow the following steps (every command must be run at the root of the repository):
- Run
bin/bootstrap.sh standaloneand fill the asked variables; - Only the most common variables are prompted, if you want to change other variables, you will have to edit the
standalone/terraform.tfvarsfile by yourself. (the complete list of variables is available in thestandalone/variables.tffile) - Run
bin/terraform-init.sh standaloneto initialize the Terraform state; - Put your
kubeconfigfile in thestandalonefolder; - Run
bin/terraform-plan.sh standaloneto see what will be deployed; - Run
bin/terraform-apply.sh standaloneto deploy.