Kubernetes Monitoring
Kubernetes-dashboard
1
2
  | # Show the dashboard for a Kubernetes cluster in a web browser. (autogenerated)
az aks browse --name MyManagedCluster --resource-group MyResourceGroup
  | 
 
Istio
Get started
1
2
3
4
5
6
7
8
9
  | # Installation
curl -L https://istio.io/downloadIstio | sh -
cd istio-1.6.5
export PATH=$PWD/bin:$PATH
istioctl install --set profile=demo
# View the dashboard
istioctl dashboard kiali
  | 
 
Deploy the sample application
1
2
3
4
5
6
7
  | # Deploy the Bookinfo sample application
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
# The application will start. As each pod becomes ready, the Istio sidecar will be deployed along with it.
kubectl get pods
# Verify everything is working correctly up to this point. 
kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -s productpage:9080/productpage | grep -o "<title>.*</title>"
<title>Simple Bookstore App</title>
 | 
 
K8s Port-forwarding
Forward one or more local ports to a pod.
1
2
  | # Listen on port 8888 locally, forwarding to 5432 in the pod
kubectl port-forward services/development-postgresql 8888:5432 -n development
  |