In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "the detailed steps of installing Istio in Docker for mac". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Install Kubernetes
Formal support for Kubernetes has been added in Docker 18.06.0 (there is also support in previous versions, only informal versions)
Here, the memory of docker is adjusted to 4GB. Previously, it would be very difficult for 2GB to run Kubernetes by default. (after deploying Istio, it was found that 4GB was also very tight, and the computer was not so hot after changing it to 7GB.)
Find the Kubernetes option, check Enable, select Kubernetes, and then execute Apply
We will see that Kubernetes has been in starting.... At this time, docker is downloading the image, but there is a "wall" in the far east. The image you need to download can only go over the wall.
Believe that there will always be people in the world who have the same problems as you, so this person wrote a github repository. According to the documentation, we need to configure the domestic agent, then execute the download image script, restart Kubernetes, and Kubernetes miraculously starts.
Install kubectl
Kubectl is the client of Kubernetes
Brew install kubernetes-cli# or update brew upgrade kubernetes-cli install Kubernetes dashboardkubectl create-f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml start proxykubectl proxy
Visit here: http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
If you want to play single-point Kubernetes, it's over here.
Install Istio
Download the latest version of Istio first
Find a place you like to decompress, and then configure the environment variables:
Export PATH= "$PATH:/ extracted directory / istio-1.0.0/bin"
Remember to source if you put it in a .bash _ profile or .zshrc file
Source / .bash_profile
Verify whether it is effective or not
Istioctl version install Istio
Here in order to quickly and easily build Istio, use helm to help us.
Install Helm
Helm is the package manager for Kubernetes
Brew install kubernetes-helm#, verify helm version.
Then we install the Istio step
If the Helm version is less than 2.10.0, install Istio through kubectl apply and wait a few seconds to submit the CRD in kube-apiserver:
Kubectl apply-f install/kubernetes/helm/istio/templates/crds.yamlkubectl apply-f install/kubernetes/helm/istio/charts/certmanager/templates/crds.yaml
The official documentation provides several ways to install. Option 1 is installed using helm template, and there are fewer options. So we chose Option 2.
Note: these two options are mutually exclusive, you can only choose one of the two.
If you have not already configured service account for Tiller, configure one:
Kubectl create-f install/kubernetes/helm/helm-service-account.yaml
Use service account to install Tiller in your cluster
Helm init-service-account tiller
Install Istio
Helm install install/kubernetes/helm/istio-name istio--namespace istio-system\-set tracing.enabled=true\-set kiali.enabled=true\-set grafana.enabled=true
Tracing, kiali and grafana are not enabled by default. You need to enable them manually-set xxx.enabled=true during installation. Configuration instructions can be found at: install/kubernetes/helm/istio/README.md
PS: when kiali pod is deployed, it will not start normally and will not affect its use, which we will talk about later.
Deploy Bookinfo
Let's deploy an official Bookinfo Examples and enter the istio directory
Kubectl apply-f
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.