istio的安装配置

k8s安装istio

软件下载地址:https://github.com/istio/istio/

复制代码
# 1、下载软件包并解压
[root@k8s-master1 istio]# ls
istio-1.11.1-linux-amd64.tar.gz
[root@k8s-master1 istio]# tar xf istio-1.11.1-linux-amd64.tar.gz 
[root@k8s-master1 istio]# cd istio-1.10.1/
[root@k8s-master1 istio-1.11.1]# ll
total 24
drwxr-x---  2 root root    22 Jun  5 04:44 bin    # 包含istioctl的客户端文件。istioctl工具用于手动注入Envoy sidecar代理
-rw-r--r--  1 root root 11348 Jun  5 04:44 LICENSE
drwxr-xr-x  5 root root    52 Jun  5 04:44 manifests
-rw-r-----  1 root root   854 Jun  5 04:44 manifest.yaml
-rw-r--r--  1 root root  5866 Jun  5 04:44 README.md
drwxr-xr-x 20 root root   332 Jun  5 04:44 samples    # 示例应用程序
drwxr-xr-x  3 root root    57 Jun  5 04:44 tools
[root@k8s-master1 istio-1.10.1]# cp bin/istioctl /usr/bin/

# 2、安装
[root@k8s-master1 istio]# istioctl install --set profile=demo -y
✔ Istio core installed                                                                                                 
✔ Istiod installed                                                                                                     
✔ Egress gateways installed                                                                                            
✔ Ingress gateways installed                                                                                           
✔ Installation complete                                                                                                Thank you for installing Istio 1.10.  Please take a few minutes to tell us about your install/upgrade experience!  https://forms.gle/KjkrDnMPByq7akrYA

# 3、验证istio是否部署成功
[root@k8s-master1 istio-1.11.1]# kubectl get pods -n istio-system
NAME                                    READY   STATUS    RESTARTS   AGE
istio-egressgateway-659cc7697b-42jdf    1/1     Running   0          18s
istio-ingressgateway-569f64cdf8-9xn7f   1/1     Running   0          18s
istiod-85c958cd6-j6p5n                  1/1     Running   0          22s

# 4、卸载istio集群,暂时不执行
~]# istioctl manifest generate --set profile=demo | kubectl delete -f -
复制代码

 

posted @   fat_girl_spring  阅读(218)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示