K8s/Ingress

From Chorke Wiki
Revision as of 09:05, 14 August 2024 by Shahed (talk | contribs) (Created page with "==External== <syntaxhighlight lang="bash"> kubectl get ns|grep external kubectl delete namespace external kubectl create namespace external </syntaxhighlight> ==Internal== <syntaxhighlight lang="bash"> kubectl get ns|grep internal kubectl delete namespace internal kubectl create namespace internal </syntaxhighlight> ==Playground== {| |valign="top"| <syntaxhighlight lang="bash"> kubectl -n external get endpoints kubectl -n external get service kubectl -n external get in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

kubectl get ns|grep external
kubectl delete namespace external
kubectl create namespace external

Internal

kubectl get ns|grep internal
kubectl delete namespace internal
kubectl create namespace internal

Playground

kubectl -n external get endpoints
kubectl -n external get service
kubectl -n external get ingress
kubectl -n internal get endpoints
kubectl -n internal get service
kubectl -n internal get ingress
kubectl config get-contexts
sudo -i -u minikube
helm list -A

kubectl get all -A
kubectl get all
kubectl get ns

References