https://github.com/mcicolella/terraform-digitalocean-k8s
https://github.com/mcicolella/terraform-digitalocean-k8s
kubernetes kubernetes-cluster
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcicolella/terraform-digitalocean-k8s
- Owner: mcicolella
- Created: 2020-06-03T15:41:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T15:54:39.000Z (about 5 years ago)
- Last Synced: 2025-01-23T10:13:12.579Z (5 months ago)
- Topics: kubernetes, kubernetes-cluster
- Language: HCL
- Homepage: https://www.emmecilab.net
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)