Skip to content

Terraform formula for creating a Kubernetes cluster running on Scaleway

Notifications You must be signed in to change notification settings

edouardb/kubernetes-terraform-scaleway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-terraform

Terraform formula for creating a Kubernetes cluster running on Scaleway

The default configuration includes Kubernetes add-ons: DNS, Dashboard and UI.

Getting started:

Clone or download repo.

Copy sample.terraform.tfvars to terraform.tfvars and insert your variables.

To generate your kubernetes cluster token, run python -c 'import random; print "%0x.%0x" % (random.SystemRandom().getrandbits(3*8), random.SystemRandom().getrandbits(8*8))' and set the kubernetes_token variable.

$ brew update && brew install kubectl terraform

$ terraform plan

$ terraform apply

$ scp root@<master_ip>:/etc/kubernetes/admin.conf .

$ kubectl --kubeconfig ./admin.conf proxy

Access the dashboard and api via the following address:

  • API: http://localhost:8001/api/v1
  • Dashboard: http://localhost:8001/ui

About

Terraform formula for creating a Kubernetes cluster running on Scaleway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published