Replies: 1 comment 4 replies
-
What version of K3s are you using? root@seago:~# which k3s
/usr/local/bin/k3s
root@seago:~# k3s --help
NAME:
k3s - Kubernetes, but small and simple
USAGE:
k3s [global options] command [command options] [arguments...]
VERSION:
v1.22.2+k3s-0a0b9159 (0a0b9159)
COMMANDS:
server Run management server
agent Run node agent
kubectl Run kubectl
crictl Run crictl
ctr Run ctr
check-config Run config check
etcd-snapshot Trigger an immediate etcd snapshot
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug (logging) Turn on debug logs [$K3S_DEBUG]
--data-dir value, -d value (data) Folder to hold state default /var/lib/rancher/k3s or ${HOME}/.rancher/k3s if not root
--help, -h show help
--version, -v print the version
root@seago:~# k3s crictl ps
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
9c58c4c2db12f e92b5cbaf6be9 4 days ago Running papermc 0 d0caf175163b0
2c3e4c9275639 46464e8a7f27f 5 days ago Running gandi-dynamic-dns 0 4e230bbf6ef10
65673f4cd9e45 5c4008a25e056 8 days ago Running registry 10 63fb681ac45f9 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to #213 there is eg.
k3s crictl ps
for low level access to the containers,but when I run that command, it always returns
No help topic for 'crictl'
.Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions