container_restarts does not increment with containerd. The same test executed in a cluster with docker works fine.
After looking at the code, I see there is no call to start() method in the containerd's handle, so unless I am missing something, it will never increment the aforementioned counter.
P.S. For testing, I am running this (as suggested here):
container_restarts
does not increment withcontainerd
. The same test executed in a cluster withdocker
works fine.After looking at the code, I see there is no call to start() method in the
containerd
's handle, so unless I am missing something, it will never increment the aforementioned counter.P.S. For testing, I am running this (as suggested here):
I am running version
0.21.0
.