-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MountVolume.SetUp failed for volume "data" : invalid character '/' #3
Comments
I think you need to ssh to every agent node(you may assisn a public IP first), and install blobfuse binary: We are make blobfuse built-in in acs-engine and AKS, while currently we need to install blobfuse manually. |
Hi Andy, thanks for the prompt response. kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-volume-drivers/master/flexvolume/blobfuse/deployment/blobfuse-flexvol-installer-1.9.yaml Do you know if its possible to install blobfuse directly on a container? If it needs to be installed on each agent how would node scaling work? Thanks im advance. Olly. |
Following command will only install blobfuse flexvolume driver, while you still need to intall blobfuse on every node
We are working on preinstall blobfuse & flexvolume driver on acs-engine and AKS, so when node scale in acs-engine or AKS, new node will also have blobfuse installed. Currently you need to install blobfuse manually. |
Ok thanks, I will try that. |
How do you create k8s cluster on Azure? For acs-engine, there is already a working in progress PR: Azure/acs-engine#3401, after that merged, AKS will adopt that code change within one month. |
Hi, I am creating the Kubernetes service directly via the portal. Latest version is 1.10.3. |
Hi, I can confirm that installing the blobfuse driver directly on the agent resolved the issue. |
just provided you an easy way to deploy blobfuse driver: Option#1. Use
|
Thats fantastic! Thanks so much 👍 |
since blobfuse is already installed by default on AKS and acs-engine, I will close this issue now. |
@andyzhangx I have the same issue on kubernetes installed on CoreOS (blobfuse installed on each node)
on each VM blobefuse path is |
Hi,
I am trying to get this running on Azure AKS but am getting the error-
MountVolume.SetUp failed for volume "data" : invalid character '/' looking for beginning of value
I have tried this on AKS version 1.96 and 1.8.11
The container doesnt complete creating so I cannot connect to get the logs.
I'm attempting to create a pod using the nginx image.
Any help would be appreciated!
apiVersion: v1
kind: Pod
metadata:
name: nginx-flex-blobfuse1
spec:
containers:
image: nginx
volumeMounts:
mountPath: /data
volumes:
flexVolume:
driver: "azure/blobfuse"
readOnly: false
secretRef:
name: blobfusecreds
options:
container: video
The text was updated successfully, but these errors were encountered: