Skip to content
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

create pod failed #3

Open
threadfly opened this issue Dec 8, 2021 · 2 comments
Open

create pod failed #3

threadfly opened this issue Dec 8, 2021 · 2 comments

Comments

@threadfly
Copy link

Environment

  • K8S: 1.17
  • deviec plugin have open

step

  1. use fuse-device-plugin-k8s-1.16.yml) deploy , pod can not create。
  2. Log out the following code of yaml, pod can be up:
     #securityContext:
        #  allowPrivilegeEscalation: false
        #  capabilities:
        #    drop: ["ALL"]
        #volumeMounts:
        #  - name: device-plugin
        #    mountPath: /var/lib/kubelet/device-plugins
      #volumes:
      #  - name: device-plugin
      #    hostPath:
      #      path: /var/lib/kubelet/device-plugins
      #imagePullSecrets:
      #  - name: registry-secret

but log of pod show:

2021/12/08 09:31:23 Starting
2021/12/08 09:31:23 Starting FS watcher.
2021/12/08 09:31:23 Failed to created FS watcher.

Can you give me some hints?

@soolaugust
Copy link
Member

@threadfly could you provide the log of pod cannot create with fuse-device-plugin-k8s-1.16.yml?

@Davidrjx
Copy link

Davidrjx commented Apr 20, 2022

@soolaugust device deployment ok but pod creation crash, error snippet looks like

mesg: ttyname failed: Inappropriate ioctl for device
fuse: mount failed: Permission denied
mesg: ttyname failed: Inappropriate ioctl for device
Mount failure

local configs:
k8s 1.18.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants