Skip to content

CLI commands

Restarting wodby agent

docker rm -f $(docker ps  | grep wodbycloud/agent | awk '{ print $1 }')

Restart docker and kube services

systemctl stop kube-apiserver
systemctl stop kube-controller
systemctl stop kube-kubelet
systemctl stop kube-proxy
systemctl stop kube-scheduler
systemctl stop docker

systemctl start docker
systemctl start kube-apiserver
systemctl start kube-controller
systemctl start kube-kubelet
systemctl start kube-proxy
systemctl start kube-scheduler

Check node status

kubectl describe node

Check namespaces (deployed instances)

kubectl get ns

System logs

journalctl -f

Check disk space

df -h
ncdu /

Check memory stats

vmstat -Sm 1