How to use:
- Generate SSH keys for Scaleway and add it to the security section in Scaleway.
SSH Key must have the name
scw
- Issue a token from your scaleway account.
- Create a Kubernetes token for terraform.tfvars.
You can use
python -c 'import random; print "%0x.%0x" % (random.SystemRandom().getrandbits(3*8), random.SystemRandom().getrandbits(8*8))'
- Update terraform.tfvars with appropriate configuration values.
- Run "terraform plan" to review provisioning
- Run "terraform apply" to provision your kubernetes cluster.
- Get config file from master by running "scp -i privatekey root@masterip:/etc/kubernetes/admin.conf .
- Run locally a proxy for accessing the cluster UI with "kubectl --kubeconfig ./admin.conf proxy"
Based on edouardb/kubernetes-terraform-scaleway.