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,220 points
1,178 views

1 answer to this question.

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
• 52,350 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
• 7,340 points
2,088 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
• 52,350 points
809 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 27, 2018 in Kubernetes by ajs3033
• 7,300 points
7,522 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
• 52,350 points
1,396 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
• 52,350 points
752 views
+1 vote
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
• 52,350 points
1,201 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP