coreos / coreos-kubernetes

CoreOS Container Linux+Kubernetes documentation & Vagrant installers
https://coreos.com/kubernetes/docs/latest/
Apache License 2.0
1.1k stars 466 forks source link

Key path not specified in document #858

Closed scribnar closed 7 years ago

scribnar commented 7 years ago

I am getting this error when running kube-aws up.

Error: Error validating cluster: failed to validate node pool #0: Key coreostest-key1.pem does not exist.

The key file was generated using console and copied in the mycluster folder as per the document https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws-render.html.

Where should this key file be present? Its not clearly mentioned in the document. I have used this keyfile coreostest-key1.pem in command "kube-aws init" for parameter --key-name.

Thanks for the help. The document in the coreos website should also be fixed to mention where should that file be put in before executing "kube-aws init" command.

scribnar commented 7 years ago
  1. This was my mistake; I had to remove .pem from key name.
  2. However, the keyfile has to be in the path when running kube-aws. So, It should be inside mycluster folder.