amazon web services - Hyperkube apiserver zone not specified in configuration file -


so i'm getting error when trying install kubernetes aws cloud provider. i'm installing kubespray narrowed down below command tried executing manually inside hyperkube container. i'm guessing actual error comes not having proper iam role. i'm working on obtaining 1 take sometime. see says zone not specified in configuration file. i'm not sure specify it. can point me in right direction in that? testing purposes can manually obtain awa access keys , session tokens. there way hyperkube use those?

root@15713968201f:/# /hyperkube apiserver --advertise-address=10.205.232.161 --etcd-servers=https://10.205.232.161:2379,https://10.205.235.70:2379 --etcd-quorum-read=true --etcd-cafile=/etc/ssl/etcd/ssl/ca.pem --etcd-certfile=/etc/ssl/etcd/ssl/node-ip-10-205-232-161.ec2.internal.pem --etcd-keyfile=/etc/ssl/etcd/ssl/node-ip-10-205-232-161.ec2.internal-key.pem --insecure-bind-address=127.0.0.1 --apiserver-count=2 --admission-control=namespacelifecycle,limitranger,serviceaccount,defaultstorageclass,resourcequota --service-cluster-ip-range=10.233.0.0/18 --service-node-port-range=30000-32767 --client-ca-file=/etc/kubernetes/ssl/ca.pem --basic-auth-file=/etc/kubernetes/users/known_users.csv --tls-cert-file=/etc/kubernetes/ssl/apiserver.pem --tls-private-key-file=/etc/kubernetes/ssl/apiserver-key.pem --token-auth-file=/etc/kubernetes/tokens/known_tokens.csv --service-account-key-file=/etc/kubernetes/ssl/apiserver-key.pem --secure-port=6443 --insecure-port=8080 --storage-backend=etcd3 --v=2 --allow-privileged=true --cloud-provider=aws --anonymous-auth=false i0817 22:08:00.258693 134 aws.go:762] building aws cloudprovider i0817 22:08:00.258810 134 aws.go:725] zone not specified in configuration file; querying aws metadata service error: error setting external host value: "aws" cloud provider not initialized: not init cloud provider "aws": error finding instance i-045f83bfff733a224: error listing aws instances: nocredentialproviders: no valid providers in chain. deprecated. verbose messaging see aws.config.credentialschainverboseerrors error: error setting external host value: "aws" cloud provider not initialized: not init cloud provider "aws": error finding instance i-045f83bfff733a224: error listing aws instances: nocredentialproviders: no valid providers in chain. deprecated. verbose messaging see aws.config.credentialschainverboseerrors

https://github.com/kubernetes/kubernetes/issues/11543

i'd willing bet node iam role doesn't have enough access. i'm not acquainted kubespray think above issue should troubleshoot problem.

this bit i'm focusing on:

error finding instance i-045f83bfff733a224: error listing aws instances: nocredentialproviders: no valid providers in chain. 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -