Istio Handson - vidyasekaran/current_learning GitHub Wiki
This is our Core page for minikube (It installs virtualbox etc, create kubernetes cluster, deploy pods etc all in one document)
https://minikube.sigs.k8s.io/docs/start/
cd D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise >
and follow along....
-
Bring your powershell in admin mode
-
To install minikube D:\softwares> choco install minikube
-
Start your cluster minikube start
-
Interact with your cluster kubectl get po -A
-
Deploy applications
Create a sample deployment and expose it on port 8080:
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4 kubectl expose deployment hello-minikube --type=NodePort --port=8080
https://www.youtube.com/watch?v=5-LHcpkRA58 https://github.com/kubernetes/minikube
https://github.com/vidyasekaran/istio-fleetman
D:> minikube dashboard (brings up dashboard in UI)
- Manage your cluster minikube stop minikube delete --all minikube config set memory 16384 (increase memory limit)
Browse the catalog of easily installed Kubernetes services:
minikube addons list
D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl apply -f .\1-istio-init.yaml D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl apply -f .\2-istio-minikube.yaml PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl apply -f .\3-kiali-secret.yaml
D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl get po -n istio-system
PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl get po -n istio-system (Control Plane)
NAME READY STATUS RESTARTS AGE grafana-57cb8b8d44-4h8js 1/1 Running 0 10m (for grafana pod) istio-egressgateway-8f7855549-r4pjx 1/1 Running 0 10m istio-ingressgateway-fd97dc4f6-bxb2v 1/1 Running 0 10m istio-tracing-7fcc6f5848-x5zvh 1/1 Running 0 10m (tracing pod) istiod-84694c675d-8fx85 1/1 Running 0 10m (core istio daemon pod) kiali-6dfdd489c9-4mwdb 1/1 Running 0 10m prometheus-5bf9c9bdb9-glprs 2/2 Running 0 10m (prometheus pod)
PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl label namespace default istio-injection=enabled (This will inject side car and allow isitio to
PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl describe ns default
Name: default Labels: Annotations: Status: Active
No resource quota.
No resource limits.
PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl label namespace default istio-injection=enabled namespace/default labeled PS D:\Udemy_istio_HandsOnforKubernetes\Downloads+v3\warmup-exercise> kubectl describe ns default Name: default Labels: istio-injection=enabled Annotations: Status: Active
No resource quota.
No resource limits.