Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

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

Open
LynnAU opened this issue Oct 23, 2019 · 2 comments
Open

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

LynnAU opened this issue Oct 23, 2019 · 2 comments

Comments

@LynnAU
Copy link

LynnAU commented Oct 23, 2019

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.

if [ "$ARCH" == "arm" ]; then
curl -s https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/alternative/kubernetes-dashboard-arm.yaml | \
sed -e 's/v2.0.0-alpha0/v1.8.3/g' | \
kubectl apply -f -;
kubectl apply -f /tmp/heapster-arm.yaml;
kubectl apply -f /tmp/metrics-server-arm.yaml;
elif [ "$ARCH" == "x86_64" ]; then
curl -s -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/alternative/kubernetes-dashboard.yaml | \
sed -e 's/v2.0.0-alpha0/v1.8.3/g' | \
kubectl apply -f -;
kubectl apply -f /tmp/heapster-amd64.yaml;
kubectl apply -f /tmp/metrics-server-amd64.yaml;
fi

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
Copy link

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

@LynnAU
Copy link
Author

LynnAU commented Dec 13, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants