Coder Social home page Coder Social logo

Comments (3)

AkihiroSuda avatar AkihiroSuda commented on June 1, 2024

Is this only for crio? Does it work with containerd?

from usernetes.

maybe-sybr avatar maybe-sybr commented on June 1, 2024

I've not been able to try with containerd yet. I'll try it when I have a bit of free time and get back to you.

from usernetes.

maybe-sybr avatar maybe-sybr commented on June 1, 2024

@AkihiroSuda - appears to break under containerd as well.

$ kubectl describe pod
Name:         badness
Namespace:    default
Priority:     0
Node:         host/10.0.42.100
Start Time:   Wed, 16 Sep 2020 10:06:53 +1000
Labels:       app=badness
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"v1","kind":"Pod","metadata":{"annotations":{},"labels":{"app":"badness"},"name":"badness","namespace":"default"},"spec":{"c...
Status:       Running
IP:           10.88.1.23
Containers:
  badness:
    Container ID:  containerd://23de93c3fb8413c3ed9bf7ae6026962982038cad7288d046c488efd9bd016379
    Image:         busybox
    Image ID:      docker.io/library/busybox@sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a
    Port:          <none>
    Host Port:     <none>
    Command:
      sleep
      infinity
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       StartError
      Message:      failed to create containerd task: OCI runtime create failed: open `/run/.ro966304741/user/1000/usernetes/containerd/io.containerd.runtime.v2.task/k8s.io/23de93c3fb8413c3ed9bf7ae6026962982038cad7288d046c488efd9bd016379/rootfs/termination-log`: No such file or directory: unknown
      Exit Code:    128
      Started:      Thu, 01 Jan 1970 10:00:00 +1000
      Finished:     Wed, 16 Sep 2020 10:07:21 +1000
    Ready:          False
    Restart Count:  2
    Environment:    <none>
    Mounts:
      /dev from shared-dev (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-dgbbv (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  shared-dev:
    Type:          HostPath (bare host directory volume)
    Path:          /dev/
    HostPathType:
  default-token-dgbbv:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-dgbbv
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                From          Message
  ----     ------     ----               ----          -------
  Normal   Scheduled  <unknown>                        Successfully assigned default/badness to host
  Normal   Pulled     34s                kubelet, host Successfully pulled image "busybox" in 7.553314539s
  Normal   Pulled     30s                kubelet, host Successfully pulled image "busybox" in 2.673382993s
  Normal   Pulling    16s (x3 over 41s)  kubelet, host Pulling image "busybox"
  Normal   Created    14s (x3 over 33s)  kubelet, host Created container badness
  Warning  Failed     14s (x3 over 33s)  kubelet, host Error: failed to create containerd task: OCI runtime create failed: open `/run/.ro966304741/user/1000/usernetes/containerd/io.containerd.runtime.v2.task/k8s.io/badness/rootfs/termination-log`: No such file or directory: unknown
  Normal   Pulled     14s                kubelet, host Successfully pulled image "busybox" in 2.409908214s
  Warning  BackOff    2s (x4 over 29s)   kubelet, host Back-off restarting failed container

from usernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.