Skip to content

K8s Pod CreateContainerError rootfs mounts caused: rootfs_linux.go:1180: mounting sysfs to rootfs #750

Closed Answered by xlw712
xlw712 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks you reply,I used the pod spec for annotations. here's my pod template.He's still reporting an error

apiVersion: v1
kind: Pod
metadata:
  name: pixiu-cicd-{{ POD_POSTFIX }}
  annotations:
    io.kubernetes.cri-o.userns-mode: "auto:size=65536"
  labels:
    app: web
spec:
  nodeSelector:
    using: pixiu_cicd
  runtimeClassName: sysbox-runc
  containers:
    - name: gocd-agent-container
      image: gocd-agent-docker-dind:aliunx3.8
      resources:
        requests:
          memory: 125000000Ki
          cpu: 28
        limits:
          memory: 125000000Ki
          cpu: 30

But before you could respond, I found a solution , It comes from #67

mount by changing solution, I'm Postin…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@xlw712
Comment options

Answer selected by xlw712
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@xlw712
Comment options

@ctalledo
Comment options

@xlw712
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants