Setting up Minikube and Istio service mesh on your computer
Minikube is a tool that makes it easy to run Kubernetes locally. Here is the list of resources that will help you to set up Minikube on your machine along with Istio and other tools.
To Install:
The above resources will help you to set up the Minikube on your machine. I often run into issues with minikube instance that runs on on my macOS and then look around for options to delete the faulty instance. Finally, I decided to note it down somewhere for quick access ;)
To Unistall Minikube:
To Install:
- Install Minikube :
- Install Istio:
Here is the quick summary of all commands for installing Minikube and Istio on macOS
Install Minikube
============
$ brew cask install minikube
$ minikube start --memory=16384 --cpus=4 --kubernetes-version=v1.14.2
Install Istio
========
$ curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.2.4 sh -
$ cd istio-1.2.4
$ export PATH=$PWD/bin:$PATH
$ for i in install/kubernetes/helm/istio-init/files/crd*yaml; do kubectl apply -f $i; done
$ kubectl apply -f install/kubernetes/istio-demo.yaml
$ get svc -n istio-system
$ kubectl get svc -n istio-system
$ get pods -n istio-system
Install Istio bookinfo demo app
===============================
$ kubectl label namespace default istio-injection=enabled
$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
$ kubectl get services
$ kubectl get pods
$ kubectl exec -it $(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o ""
$ kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
$ kubectl get gateway
$ export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
$ export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}')
$ export INGRESS_HOST=$(minikube ip)
$ export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
$ printenv GATEWAY_URL
Try bookinfo demo app
=================
Open browser: http://192.168.99.113:31380/productpage (Please note that hostname:port used in the URL '192.168.99.113:31380' is derived from the output of $printenv GATEWAY_URL )
Install Minikube
============
$ brew cask install minikube
$ minikube start --memory=16384 --cpus=4 --kubernetes-version=v1.14.2
Install Istio
========
$ curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.2.4 sh -
$ cd istio-1.2.4
$ export PATH=$PWD/bin:$PATH
$ for i in install/kubernetes/helm/istio-init/files/crd*yaml; do kubectl apply -f $i; done
$ kubectl apply -f install/kubernetes/istio-demo.yaml
$ get svc -n istio-system
$ kubectl get svc -n istio-system
$ get pods -n istio-system
Install Istio bookinfo demo app
===============================
$ kubectl label namespace default istio-injection=enabled
$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
$ kubectl get services
$ kubectl get pods
$ kubectl exec -it $(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o ""
$ kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
$ kubectl get gateway
$ export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
$ export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}')
$ export INGRESS_HOST=$(minikube ip)
$ export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
$ printenv GATEWAY_URL
Try bookinfo demo app
=================
Open browser: http://192.168.99.113:31380/productpage (Please note that hostname:port used in the URL '192.168.99.113:31380' is derived from the output of $printenv GATEWAY_URL )
The above resources will help you to set up the Minikube on your machine. I often run into issues with minikube instance that runs on on my macOS and then look around for options to delete the faulty instance. Finally, I decided to note it down somewhere for quick access ;)
To Unistall Minikube:
$ minikube delete
$ brew cask uninstall minikube
$ rm -rf /usr/local/bin/minikube
$ rm -rf ~/.minikube .kube
Transfer exchange and convert cryptocurrency withdraw Bitcoin to bank account in United States of America USA any bank like Jp morgan chase wells fargo.
ReplyDeleteThanks for sharing your valuable information to us, its very useful to me, Keep on doing it, waiting for next update form you!!!
ReplyDeleteBest Aviation Academy in Chennai
Best Air hostess Training in Chennai
Pilot Training in Chennai
Airport Ground staff Training in Chennai
Airport Flight Dispatcher Trainee in Chennai
RTR - Aero Training in Chennai
Cabin Crew Training in Chennai
Aviation Academy in Chennai
Aviation training institute in Chennai
Aviation Course Training in Chennai
Ground staff Training institute in Chennai
Airhostess Training institute in Chennai
Cabin Crew Course
PRIVATE PILOT LICENCE (PPL) Training in Chennai
COMMERCIAL PILOT LICENCE (CPL) Training in Chennai
Very useful content that guided me to learn the information about this topic and Do more post and sharing with us me...
ReplyDeleteOracle DBA Training in Chennai
oracle apps dba training in chennai
Oracle Training in Chennai
Pega Training in Chennai
Linux Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Job Openings in Chennai
Appium Training in Chennai
Oracle DBA Training in Velachery
If you have strong mood to exchange your bitcoins with US dollars then you must try bitcoin price to USD for the time being and you will always want to rely upon us after your first experience. If you think dollar rate is higher nowadays and bitcoin exchange with dollar can benefit you at this hour then it will be of no use to waste your time. Anymore. Your financial success is just few steps away from you.
ReplyDeleteThank you for sharing very useful blog!!!!
ReplyDeleteDocker and Kubernetes Training
Docker Training
Docker Online Training
Docker Training in Hyderabad
Kubernetes Online Training
Popular Fashion Blogs in Surat
ReplyDeleteFashion Blogger in Surat
Surat Blogger
Indian Fashion Blogger
The article is so informative. This is more helpful for our
ReplyDeleteselenium training in chennai
selenium online courses best selenium online training
selenium testing training
selenium classes
Thanks for sharing.
Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
ReplyDeleteWeb Designing Training Institute in Chennai | web design training class in chennai | web designing course in chennai with placement
Mobile Application Development Courses in chennai
Data Science Training in Chennai | Data Science courses in Chennai
Professional packers and movers in chennai | PDY Packers | Household Goods Shifting
Web Designing Training Institute in Chennai | Web Designing courses in Chennai
Google ads services | Google Ads Management agency
Web Designing Course in Chennai | Web Designing Training in Chennai
Thanks for sharing this post. I'm very interested in this topics. I would like to share an awesome online file converter please make sure to check this website here
ReplyDeleteI have gone through your blog, it was very much useful for me and because of your blog, and also I gained many unknown information, the way you have clearly explained is really fantastic. Kindly post more like this, Thank You. Aviation academy in chennai
ReplyDeleteHave a nice blog
ReplyDeleteThank for sharing Information
php online training in chennai
php programming center in chennai
php class in chennnai
php certification course
php developer training institution chennai
php training in chennnai
php mysql course in chennai
php institute in chennnai
php course in chennnai
php training with placement in chennnai
php developer course
Great work!
ReplyDeleteNice Blog
appium online training
appium training centres in chennai
best appium training institute in chennnai
apppium course
mobile appium in chennnai
mobile training in chennnai
appium training institute in chennnai
Thanks for your interesting ideas.the information's in this blog is very much useful for me to improve my knowledge.
ReplyDeleteKubernetes Online Training
Thank for this blog more informative step by step and useful contents. I here by attached my site would you see this blog
ReplyDelete7 tips to start a career in digital marketing
“Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.
we have offered to the advanced syllabus course digital marketing for available join now
more details click the link
https://www.webdschool.com/digital-marketing-course-in-chennai.html
This blog amazing very useful information
ReplyDeleteWeb designing trends in 2020
When we look into the trends, everything which is ruling today’s world was once a start up and slowly begun getting into. But Now they have literally transformed our lives on a tremendous note. To name a few, Facebook, Whats App, Twitter can be a promising proof for such a transformation and have a true impact on the digital world.
we have offered to the advanced syllabus course web design and development for available join now
more details click the link now
https://www.webdschool.com/web-development-course-in-chennai.html
Wow it is really wonderful and awesome..Bihar Post office Recruitment 2020 is issued a new recruitment Notification 2020 For the post of the Gramin Dak Sevak. Plenty of the aspirants are in search of the latest Post Man jobs in Bihar...
ReplyDelete