Skip to content

CLI commands

Restarting wodby agent

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

Restarting edge container

docker rm -f $(docker ps  | grep wodby/edge-alpine | 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

Clean up orphaned tasks pods

kubectl get po -a --all-namespaces | grep task- | grep Error | awk '{ print $1 " " $2 }' | xargs -l sh -c 'kubectl -n $0 delete po $1'