K8s/CSI Hostpath Driver: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
|-
|-
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash" highlight="1">
<syntaxhighlight lang="bash" highlight="2">
minikube addons enable volumesnapshots
minikube addons enable csi-hostpath-driver
minikube addons enable csi-hostpath-driver
minikube addons enable storage-provisioner
minikube addons enable storage-provisioner
Line 34: Line 35:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl get ns
kubectl get ns
kubectl get all -A
kubectl get all
kubectl get all -A
</syntaxhighlight>
</syntaxhighlight>


Line 40: Line 42:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
minikube kubectl -- get ns
minikube kubectl -- get ns
minikube kubectl -- get all -A
minikube kubectl -- get all
minikube kubectl -- get all -A
</syntaxhighlight>
</syntaxhighlight>
|}
|}



Revision as of 08:54, 1 August 2024

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

References