K8s/CSI Hostpath Driver: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
===Minikube » Mounts » 9P=== | ===Minikube » Mounts » 9P=== | ||
'''9P mounts''' are flexible and work across all hypervisors, but '''suffers from performance and reliability issues''' when used with large folders '''(>600 files)'''. | '''9P mounts''' are flexible and work across all hypervisors, but '''suffers from performance and reliability issues''' when used with large folders '''(>600 files)'''. | ||
<syntaxhighlight lang="bash"> | |||
MINIKUBE_BRIDGE="br-$(docker network ls -fname=minikube --format=json|jq -r '.ID')" | |||
sudo ufw route allow out on ${MINIKUBE_BRIDGE} | |||
</syntaxhighlight> | |||
==Playground== | ==Playground== |
Revision as of 23:37, 13 August 2024
Minikube
Minikube » Mounts » 9P
9P mounts are flexible and work across all hypervisors, but suffers from performance and reliability issues when used with large folders (>600 files).
MINIKUBE_BRIDGE="br-$(docker network ls -fname=minikube --format=json|jq -r '.ID')"
sudo ufw route allow out on ${MINIKUBE_BRIDGE}
Playground
sudo -i -u minikube
minikube config
minikube stop
|
minikube start
minikube docker-env
minikube addons list
|
minikube addons enable ingress
minikube addons enable ingress-dns
minikube addons enable metrics-server
|
| ||
minikube addons enable volumesnapshots
minikube addons enable csi-hostpath-driver
minikube addons enable storage-provisioner
|
kubectl get ns
kubectl get all
kubectl get all -A
|
minikube kubectl -- get ns
minikube kubectl -- get all
minikube kubectl -- get all -A
|