ryderdamen / digital_ocean_kubernetes_web_server_tls

Deploying A Kubernetes Web Server on Digital Ocean with TLS using Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploying A Kubernetes Web Server on Digital Ocean with TLS

This is an example repository that uses terraform to spin up a Digital Ocean kubernetes cluster, with multiple independent nginx servers running in containers, DNS entries, and TLS certificates.

Installation

You must have your name servers pointed to digital ocean. After that, run the following and fill in the variables to provision the servers.

make init

Edit the terraform/production.tfvars file as necessary.

To create your infrastructure, run the following:

make plan
make apply

To destroy the infrastructure, run the following:

make destroy

About

Deploying A Kubernetes Web Server on Digital Ocean with TLS using Terraform


Languages

Language:HCL 94.6%Language:Makefile 5.4%