I created a microk8s cluster, pods could be listed by get pod
command:
ubuntu@ip-172-31-16-34:~$ microk8s.kubectl get pod --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-f7867546d-mlsbm 1/1 Running 1 98m
kube-system hostpath-provisioner-65cfd8595b-l2hjz 1/1 Running 1 98m
kube-system tiller-deploy-758bcdc94f-cwbjd 1/1 Running 0 93m
seldon-system seldon-controller-manager-54955d8675-72qxn 1/1 Running 0 33m
However, I tried to list containers with ctr, nothing showing
ubuntu@ip-172-31-16-34:~$ microk8s.ctr c ls
CONTAINER IMAGE RUNTIME
also try image list
$ microk8s.ctr image list
REF TYPE DIGEST SIZE PLATFORMS LABELS
nothing :P maybe I need to find which namespace it used ?