Unable to attach AWS EBS as volume in Kubernetes aws

0 votes

I hava a kubernetes cluster up running on AWS. Now when I'm trying to attach a AWS EBS as a volume to a pod, I got a "special device does not exist" problem.

Output: mount: special device /var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/vol-xxxxxxx does not exist
Oct 10, 2018 in Kubernetes by lina
• 8,100 points
100 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You need to set the cloud provider to properly mount an EBS volume. Do that in the following services:

  • controller-manager
  • apiserver
  • kubelet

Restart everything and try mounting again.

answered Oct 10, 2018 by Kalgi
• 35,750 points

Related Questions In Kubernetes

0 votes
1 answer

unable to start Kubernetes due to so many open files in system

You can try the following steps: You can ...READ MORE

answered May 1, 2018 in Kubernetes by shubham
• 6,480 points
134 views
0 votes
1 answer

Trying to create Kubernetes cluster inside existing vpc in aws

You can add this ENV variable  export VPC_ID=vpc-YOURID READ MORE

answered Oct 17, 2018 in Kubernetes by Kalgi
• 35,750 points
28 views
0 votes
2 answers
0 votes
1 answer

Kubernetes: Unable to get services in namespace: logs"system:serviceaccount:default:default"

Your approach is wrong here. Namespace is ...READ MORE

answered Oct 26, 2018 in Kubernetes by ajs3033
• 7,000 points
279 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 35,750 points
30 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 35,750 points
32 views
0 votes
1 answer
0 votes
1 answer

Kubernetes AWS EBS Timeout waiting for volume state

Hey @lina,Its a bug in the Kubernetes EBS ...READ MORE

answered Oct 10, 2018 in Kubernetes by Kalgi
• 35,750 points
41 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.