Skip to main content

Minikube Testing easy access cmds

Start Minikube

minikube start -p ai --memory=8096

Minikube forwards the service to localhost

kubectl port-forward service/istio-ingressgateway -n istio-system 8080:80
kubectl port-forward svc/kiali -n istio-system 20001:20001

Access Via tunnel

minikube tunnel -p ai

Get the external IP of the service

kubectl get svc istio-ingressgateway -n istio-system
Output | Copy and use the IP External IP for UI access
NAME                   TYPE           CLUSTER-IP      EXTERNAL-IP     PORT(S)                                                                      AGE
istio-ingressgateway   LoadBalancer   10.110.60.50   10.110.60.50   15021:32579/TCP,80:30147/TCP,443:31727/TCP   25d

Setup nameSpace AS Default

kubectl config set-context --current --namespace=ai-assistant
kubectl config set-context --current --namespace=default
aws eks update-kubeconfig —region ap-south-1 —name tracemypods-auto kubectl proxy —address=0.0.0.0 —accept-hosts=’.*’ kubectl -n kubernetes-dashboard edit deployment kubernetes-dashboard containers:
  • name: kubernetes-dashboard image: kubernetesui/dashboard:v2.7.0 args:
    • —namespace=kubernetes-dashboard
    • —enable-insecure-login
kubectl rollout restart deployment -n ai-assistant —all eval (minikubedockerenv)eval(minikube docker-env) eval (minikube -p ai docker-env)