# This will give you all deployed objects belongs to Istio CRs in all namespaces: | |
$ kubectl api-resources | grep -i istio | awk '{print $4}' | while read cr; do | |
kubectl get $(echo $cr | tr '[:upper:]' '[:lower:]') --all-namespaces | |
done | |
# List of Istio Resources | |
$ kubectl api-resources | grep -i istio | |
# To get the Istio version: | |
$ kubectl get deployment -n istio-system istiod -o jsonpath='{.spec.template.spec.containers[0].image}' | awk -F ':' '{print $2}' | |
# To get the Envoy version: | |
kubectl get pods -n istio-system -l app=istio-ingressgateway -o jsonpath='{.items[0].spec.containers[0].image}' | awk -F ':' '{print $2}' |
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND