We are trying to configure Kubernetes RC in an AWS instance with the AWS Elastic Block Store (EBS). here is the key part of our controller yaml file -
volumeMounts: - mountPath: "/opt/phabricator/repo" name: ebsvol volumes: - name: ebsvol awsElasticBlockStore: volumeID: aws:
our rc can run the pod and it works fine, not installing it on AWS EBS, but with installing the volume in AWS EBS, which it gives us -
Fri, 11 Sep 2015 11:29:14 +0000 Fri, 11 Sep 2015 11:29:34 +0000 3 {kubelet 172.31.24.103} failedMount Unable to mount volumes for pod "phabricator-controller-zvg7z_default": error listing AWS instances: NoCredentialProviders: no valid providers in chain Fri, 11 Sep 2015 11:29:14 +0000 Fri, 11 Sep 2015 11:29:34 +0000 3 {kubelet 172.31.24.103} failedSync Error syncing pod, skipping: error listing AWS instances: NoCredentialProviders: no valid providers in chain
We have a credential file with the corresponding credentials in the .aws directory. But that does not work. Are we missing something? Is this a configuration problem?
Kubectl version: 1.0.4 and 1.0.5 (tried with both)
user5325196
source share