Questions tagged [crictl]
11 questions
3
votes
2 answers
How to skip TLS cert check for crictl (containerd CR) while pulling the images from private repository
I have installed k8s 1.24 version and containerd (containerd://1.5.9) is the CR for my setup (ubuntu 20.04).
I have also installed docker on my VM and have added my private repository under /etc/docker/daemon.json with the following changes:
{ …

Adarsh kumar yadav
- 139
- 2
- 10
2
votes
0 answers
Kubernetes cluster why etcd shutdown?
I have a problem, I setup a kubernetes cluster on a VM (spec OK), but when I start it, it works for 1Minute and the apiserver becomes unreachable, after a few hours of debugging I realized that it was etcd which shutdown after one minute. If people…

Leo
- 29
- 3
2
votes
1 answer
how to get the dangling images using crictl
how to using crictl to get the dangling images? The server was not install docker right now. is it possible to using crictl to get the dangling images? I have tried to using this command:
crictl images
but could not recognized which images could be…

Dolphin
- 29,069
- 61
- 260
- 539
1
vote
0 answers
How to uninstall crictl completely
I was trying to uninstall crictl version 1.26.0, so that I could upgrade to version 1.27.0.
`
I removed the executable from /usr/bin and tried to install again, However the docs have changed and are copying the file to /usr/local/bin after unzipping…

CS8867
- 11
- 1
0
votes
0 answers
Fields specified in seLinuxOptions section not getting applied to containers
I have an on-prem v1.24.6 Kubernetes cluster with selinux enabled on worker nodes (set to permissive), which are running containerd version 1.6.15.
[root@master-1 ~]# kubelet --version
Kubernetes v1.24.6
[root@master-1 ~]# kubectl get nodes
NAME …
0
votes
0 answers
cri shows system static pods but kubectl wont
i tried this command on master and doesn't show system static pods (i.e etcd, apiserver, ...)
kubectl get -A po
but with crictl command those will shown
crictl ps
commands results images:
kubectl get -A po
crictl ps

Alireza Aliabadi
- 1
- 1
0
votes
0 answers
crictl with containerd permission denied
I installed the latest kubernetes on my cluster, along with containerd and crictl. however, when it seems that I need to use sudo to work with containerd EG: sudo containerd ps. Without sudo, I get a permission denied errors.
based on kubernetes…

jake wong
- 4,909
- 12
- 42
- 85
0
votes
1 answer
Why I can't see 'kubelet' container on crictl ps results(containerd)
I'm operating simple kubernetes cluster(CRI is containerd).
In the cluster, "crictl ps" command doesn't return "kubelet" container.
In another kubernetes cluster(CRI is docker), "docker ps" command returns "kubelet" container.
What is the difference…

cook
- 1
- 2
0
votes
1 answer
Why does crictl pull from private registry not need account/password?
I init the latest kubernetes v1.25.2 with kubeadm, containerd as runtime.
Then config /etc/containerd/certs.d/my_registry:5000/hosts.toml in order to pull images from the private registry.
Command like this:
$ crictl pull…

wujinbin
- 1
- 2
0
votes
1 answer
Create kubectl secrets when pulling from private registry using crio
I want to pull images from the private registry, as without docker need to do this step.
Any alternative to this command for crio:
kubectl create secret docker-registry regcred --docker-server= --docker-username=…

rowoc
- 239
- 2
- 12
0
votes
1 answer
crictl images --digest does not display digests in the Kind node
I upload the docker image using:
kind load docker-image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.0
After that, I go to the Kind node:
docker exec -it kind-control-plane bash
And I execute:
root@kind-control-plane:/# crictl images…

deevroman
- 99
- 1
- 2
- 14