Minikube Ingress DNS: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
minikube addons enable ingress-dns
minikube addons enable ingress-dns
minikube addons enable metrics-server
minikube addons enable metrics-server
</syntaxhighlight>
|-
| colspan="3" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
kubectl get ns
kubectl get all
kubectl get all  -A
kubectl get pods -A
kubectl get namespaces
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
minikube kubectl -- get ns
minikube kubectl -- get all
minikube kubectl -- get all  -A
minikube kubectl -- get pods -A
minikube kubectl -- get namespaces
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
kubectl get  all -n kube-system
kubectl get  configmap -n kube-system
kubectl get  configmap coredns -n kube-system
kubectl edit configmap coredns -n kube-system
kubectl get  configmap coredns -n kube-system -o yaml
</syntaxhighlight>
</syntaxhighlight>



Revision as of 23:01, 26 May 2024

minikube stop
minikube delete --all
rm -rf ${HOME}/.minikube/*
minikube start
minikube docker-env
minikube addons list
minikube addons enable ingress
minikube addons enable ingress-dns
minikube addons enable metrics-server

kubectl get ns
kubectl get all
kubectl get all  -A
kubectl get pods -A
kubectl get namespaces
minikube kubectl -- get ns
minikube kubectl -- get all
minikube kubectl -- get all  -A
minikube kubectl -- get pods -A
minikube kubectl -- get namespaces
kubectl get  all -n kube-system
kubectl get  configmap -n kube-system
kubectl get  configmap coredns -n kube-system
kubectl edit configmap coredns -n kube-system
kubectl get  configmap coredns -n kube-system -o yaml

References