Day2 Infrastructure repository
# get access / secret key from https://cloud.digitalocean.com/account/api/tokens?i=2401c9
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export DIGITALOCEAN_TOKEN=...
./get_terraform_plugins
terraform init
terraform plan
terraform apply
Cert-manager is installed and configured to provide certificates, using the CloudFlare API.
Use clusterissuers letsencrypt-staging
or letsencrypt-prod
Redirects traffic from https://day2.tech/* to https://day2.nl
Redirects https://day2meet.com
Redirects https://discord.day2.nl
Configured to add DNS records on CloudFlare
Configured with DO LB to serve all HTTP(S) traffic
Allows for kubectl top pod
to work
Loki + Grafana stack for collecting logs
Pomerium allows internal applications authorization and authentication through Google OAuth
Rancher is deployed on the cluster. Accessible at https://rancher.day2.tech to Day2 engineering only.