stefanprodan / k8s-scw-baremetal

Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
MIT License
177 stars 58 forks source link

Master: remote-exec: error validating "STDIN" #51

Open LynnAU opened 5 years ago

LynnAU commented 5 years ago

Upon running terraform apply -var 'nodes=1' -var 'weave_password=password' -var 'docker_version=18.06', I was presented with the following error when trying to apply the monitoring script commands...

scaleway_server.k8s_master (remote-exec): error: error validating "STDIN": error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false

Both urls return a 404 status, which in turns kills the terraform process. https://github.com/stefanprodan/k8s-scw-baremetal/blob/7829b914bc043a1e1005720661f1cf136b11e003/scripts/monitoring-install.sh#L11-L23

So a quick fix for anyone encountering the same problem, you'll need to change the dashboard url to the appropriate one for your architecture.

domiSchenk commented 4 years ago

What link did you use? I tried 2.0.0 beta.7 but did not work

LynnAU commented 4 years ago

Hey @domiSchenk, the tag your using doesn't have an arm version available. You'll have to build that yourself or change back to the v1.10.1 tag.