Minikube MetalLB: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==Playground== {| |valign="top"| <syntaxhighlight lang="bash"> docker network prune -f docker volume prune -f docker system prune -f docker image ls </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> cat <<'EXE' | bash for d in system network volume do docker ${d} prune -f;done EXE </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> cat <<'EXE' | ssh [email protected] for d in system network volume do docker ${d} prune -f;done EXE </syntax...")
 
Line 65: Line 65:


| valign="top" |
| valign="top" |
|-
| colspan="3" |
----
|-
| colspan="3" |
<syntaxhighlight lang="bash">
kubectl get pods -n metallb-system -o=yaml|yq -r .items[].spec.containers[].image|awk -F @ '{printf("%s\n", $1)}'|sort -h
</syntaxhighlight>


|}
|}

Revision as of 22:52, 18 December 2024

Playground

docker network prune -f
docker volume  prune -f
docker system  prune -f
docker image ls
cat <<'EXE' | bash
for d in system network volume
do docker ${d} prune -f;done
EXE
cat <<'EXE' | ssh [email protected]
for d in system network volume
do docker ${d} prune -f;done
EXE

systemctl stop    minikube.service
systemctl status  minikube.service
systemctl restart minikube.service
systemctl stop    minikube-tunnel.service
systemctl status  minikube-tunnel.service
systemctl restart minikube-tunnel.service
systemctl status network-online.target
systemctl status containerd.service
systemctl status docker.service

minikube addons enable metallb
minikube addons list
minikube status
minikube ssh

kubectl get pods -n metallb-system -o=yaml|yq -r .items[].spec.containers[].image|awk -F @ '{printf("%s\n", $1)}'|sort -h

References