An open API service indexing awesome lists of open source software.

https://github.com/mcicolella/terraform-digitalocean-k8s


https://github.com/mcicolella/terraform-digitalocean-k8s

kubernetes kubernetes-cluster

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# README

Create and configure a Kubernetes cluster on DigitalOcean and retrieve the configuration script to manage it via kubectl.

## How to run

```
$ git clone [email protected]:mcicolella/terraform-digitalocean-k8s.git
$ export TF_VAR_do_token=
$ export TF_VAR_do_cluster_name=
$ cd terraform-digitalocean-k8s
$ terraform plan
$ terraform apply
$ chmod +x get_config.sh
$ ./get_config.sh
$ export KUBECONFIG=$(pwd)/config
```

## Credits

Based on the original work by [ponderosa-io](https://github.com/ponderosa-io/tf-digital-ocean-cluster)