scaleway_server.k8s_master (remote-exec): Processing triggers for systemd (229-4ubuntu21.2) ...
scaleway_server.k8s_master (remote-exec): this version of kubeadm only supports deploying clusters with the control plane version >= 1.10.0. Current version: v1.9.10
scaleway_server.k8s_master (remote-exec): cp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory
scaleway_server.k8s_master (remote-exec): The connection to the server localhost:8080 was refused - did you specify the right host or port?
scaleway_server.k8s_master: Still creating... (4m50s elapsed)
scaleway_server.k8s_master (remote-exec): The connection to the server localhost:8080 was refused - did you specify the right host or port?
scaleway_server.k8s_master (remote-exec): error: unable to recognize "https://cloud.weave.works/k8s/net?password-secret=weave-passwd&k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxMSIsIEdpdFZlcnNpb246InYxLjExLjEiLCBHaXRDb21taXQ6ImIxYjI5OTc4MjcwZGMyMmZlY2M1OTJhYzU1ZDkwMzM1MDQ1NDMxMGEiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDE4LTA3LTE3VDE4OjUzOjIwWiIsIEdvVmVyc2lvbjoiZ28xLjEwLjMiLCBDb21waWxlcjoiZ2MiLCBQbGF0Zm9ybToibGludXgvYXJtIn0K": Get http://localhost:8080/api?timeout=32s: dial tcp [::1]:8080: connect: connection refused
scaleway_server.k8s_master (remote-exec): error: unable to recognize "/tmp/dashboard-rbac.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp [::1]:8080: connect: connection refused
Error: Error applying plan:
1 error(s) occurred:
* scaleway_server.k8s_master: error executing "/tmp/terraform_1448824324.sh": Process exited with status 1
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Terraform Version
Terraform v0.11.7 (macOS High Sierra 10.13.6)
Terraform Command (as per README.md)
N.B. I only need one node for my test cluster.
terraform apply -var region=par1 -var arch=arm -var server_type=C1 -var nodes=1 -var weave_passwd=ChangeMe -var k8s_version=stable-1.9 -var docker_version=17.03.0~ce-0~ubuntu-xenial
Terraform error