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):
</dev/zero head -c 1000m | tail
I am running version 0.21.0.