Description
I want pin an image which I have imported, so I use ctr -n k8s.io images label imageName io.cri-containerd.pinned=pinned.
But crictl inspecti imageName still return pinned=false.
CRIService get ImageUpdate event,the image in store does not been updated because these logic:
Steps to reproduce the issue
- ctr -n k8s.io images label docker.io/library/redis:2.8.23 io.cri-containerd.pinned=pinned
- crictl inspecti docker.io/library/redis:2.8.23
Describe the results you received and expected
crictl inspecti imageName still return pinned=true
What version of containerd are you using?
v1.7.8
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
Description
I want pin an image which I have imported, so I use
ctr -n k8s.io images label imageName io.cri-containerd.pinned=pinned.But
crictl inspecti imageNamestill returnpinned=false.CRIService get
ImageUpdate event,the image in store does not been updated because these logic:containerd/pkg/cri/store/image/image.go
Line 132 in edbd387
Steps to reproduce the issue
Describe the results you received and expected
crictl inspecti imageNamestill returnpinned=trueWhat version of containerd are you using?
v1.7.8
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response