istio1.0安装
1. istio1.0安装 创建 istio 目录 [root@centos-110 ~]# mkdir istio
[root@centos-110 ~]# cd istio 1.1 获取安装包 链接:https://pan.baidu.com/s/1HQsXvN3Rgo5F7C9XYkhZng
提取码:uqwk 解压: tar -zxvf istio-1.0.0-linux.tar.gz 1.2 安装istioctl cp istio-1.0.0/bin/istioctl /usr/local/bin/ 验证istioctl 安装成功 [root@test2 istio]# istioctl version
Version: 1.0.0
GitRevision: 3a136c90ec5e308f236e0d7ebb5c4c5e405217f4
User: root@71a9470ea93c
Hub: gcr.io/istio-release
GolangVersion: go1.10.1
BuildStatus: Clean 需要先拉取镜像: docker pull daocloud.io/liukuan73/proxy_init:1.0.0
docker pull daocloud.io/liukuan73/galley:1.0.0
docker pull daocloud.io/liukuan73/mixer:1.0.0
docker pull daocloud.io/liukuan73/proxyv2:1.0.0
docker pull daocloud.io/liukuan73/pilot:1.0.0
docker pull daocloud.io/liukuan73/citadel:1.0.0
docker pull daocloud.io/liukuan73/servicegraph:1.0.0
docker pull daocloud.io/liukuan73/sidecar_injector:1.0.0
docker pull daocloud.io/liukuan73/istio-grafana:1.0.0
docker pull daocloud.io/liukuan73/hyperkube:v1.7.6_coreos.0 给镜像重新打标签,保证和下面步骤中istio-demo.yaml里面的镜像保持一致 docker tag daocloud.io/liukuan73/proxy_init:1.0.0 gcr.io/istio-release/proxy_init:1.0.0
docker tag daocloud.io/liukuan73/hyperkube:v1.7.6_coreos.0 quay.io/coreos/hyperkube:v1.7.6_coreos.0
docker tag daocloud.io/liukuan73/galley:1.0.0 gcr.io/istio-release/galley:1.0.0
docker tag daocloud.io/liukuan73/proxyv2:1.0.0 gcr.io/istio-release/proxyv2:1.0.0
docker tag daocloud.io/liukuan73/istio-grafana:1.0.0 gcr.io/istio-release/grafana:1.0.0
docker tag daocloud.io/liukuan73/mixer:1.0.0 gcr.io/istio-release/mixer:1.0.0
docker tag daocloud.io/liukuan73/pilot:1.0.0 gcr.io/istio-release/pilot:1.0.0
docker tag daocloud.io/liukuan73/citadel:1.0.0 gcr.io/istio-release/citadel:1.0.0
docker tag daocloud.io/liukuan73/servicegraph:1.0.0 gcr.io/istio-release/servicegraph:1.0.0
docker tag daocloud.io/liukuan73/sidecar_injector:1.0.0 gcr.io/istio-release/sidecar_injector:1.0.0 注意:这个时候不能把原先的镜像给删除,删除原来镜像后,之后打的标签镜像也会跟着删除 1.3 部署istio 1.3.1、安装Istio的CRD(Custom Resource Definitions) kubectl apply -f /root/istio/istio-1.0.0/install/kubernetes/helm/istio/templates/crds.yaml 1.3.2、安装Istio - Sidecars之间不启用TLS认证 kubectl apply -f /root/istio/istio-1.0.0/install/kubernetes/istio-demo.yaml 注意: 启动文件默认配置的通过外部LoadBalancer访问istio-ingressgateway, 如果没有外部LoadBalancer,需要修改启动文件使用NodePort访问istio-ingressgateway:sed -i 's/LoadBalancer/NodePort/g' /root/istio/istio-1.0.0/install/kubernetes/istio-demo.yaml
本实验需要先修改为NodePort然后再执行上面的操作 1.3.3 验证安装是否成功 查看是否所有服务和pod都正常:发现有两个不正常,没有影响的,
[root@test2 ~]# kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
grafana-86645d6b4d-4tvjx 1/1 Running 2 18h
istio-citadel-55d9bb9b5f-mx2jq 1/1 Running 2 18h
istio-cleanup-secrets-pd8nj 0/1 Completed 0 18h
istio-egressgateway-74bbdd9669-c4k5r 1/1 Running 3 18h
istio-galley-d4bc6c974-c5znr 1/1 Running 3 18h
istio-grafana-post-install-jj96w 0/1 Completed 0 18h
istio-ingressgateway-756584cc64-f6llj 1/1 Running 3 18h
istio-pilot-7dd78846f5-jsd7b 2/2 Running 4 18h
istio-policy-b9d65465-vmnz2 2/2 Running 4 18h
istio-sidecar-injector-854f6498d9-pgpxg 1/1 Running 2 18h
istio-statsd-prom-bridge-549d687fd9-664w2 1/1 Running 2 18h
istio-telemetry-64fff55fdd-wbn69 2/2 Running 4 18h
istio-tracing-7596597bd7-cb25d 1/1 Running 2 18h
prometheus-6ffc56584f-9kzqm 1/1 Running 2 18h
servicegraph-7bdb8bfc9d-mj7nw 1/1 Running 2 18h
[root@test2 ~]# kubectl get svc -n istio-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
grafana ClusterIP 10.111.151.30 <none> 3000/TCP 4m
istio-citadel ClusterIP 10.111.58.240 <none> 8060/TCP,9093/TCP 4m
istio-egressgateway ClusterIP 10.97.76.172 <none> 80/TCP,443/TCP 4m
istio-galley ClusterIP 10.96.7.223 <none> 443/TCP,9093/TCP 4m
istio-ingressgateway NodePort 10.102.210.209 <none> 80:31380/TCP,443:31390/TCP,31400:31400/TCP,15011:35476/TCP,8060:37349/TCP,15030:42116/TCP,15031:37047/TCP 4m
istio-pilot ClusterIP 10.104.75.8 <none> 15010/TCP,15011/TCP,8080/TCP,9093/TCP 4m
istio-policy ClusterIP 10.99.66.239 <none> 9091/TCP,15004/TCP,9093/TCP 4m
istio-sidecar-injector ClusterIP 10.109.151.144 <none> 443/TCP 4m
istio-statsd-prom-bridge ClusterIP 10.107.239.158 <none> 9102/TCP,9125/UDP 4m
istio-telemetry ClusterIP 10.111.200.34 <none> 9091/TCP,15004/TCP,9093/TCP,42422/TCP 4m
jaeger-agent ClusterIP None <none> 5775/UDP,6831/UDP,6832/UDP 4m
jaeger-collector ClusterIP 10.97.185.97 <none> 14267/TCP,14268/TCP 4m
jaeger-query ClusterIP 10.102.95.55 <none> 16686/TCP 4m
prometheus ClusterIP 10.109.160.215 <none> 9090/TCP 4m
servicegraph ClusterIP 10.100.66.9 <none> 8088/TCP 4m
tracing ClusterIP 10.99.88.51 <none> 80/TCP 4m
zipkin ClusterIP 10.105.223.138 <none> 9411/TCP 4m 至此,Istio 已经安装完成了 参照: https://www.cnblogs.com/rickie/p/istio.html https://blog.csdn.net/liukuan73/article/details/81165716
istio1.0安装的更多相关文章
- istio1.0.2配置
项目的组件相对比较复杂,原有的一些选项是靠 ConfigMap 以及 istioctl 分别调整的,现在通过重新设计的Helm Chart,安装选项用values.yml或者 helm 命令行的方式来 ...
- istio1.0 实现蓝绿发布(未完成)
istio1.0 实现蓝绿发布 环境: 192.168.0.91 master 192.168.0.92 node 第一步:安装k8s集群,参照:https://www.cnblogs.com/eff ...
- 记:MySQL 5.7.3.0 安装 全程截图
前言: 下一个班快讲MySQL数据库了,正好把服务器里面的MySQL卸了重装了一下. 截个图,作为笔记.也正好留给需要的朋友们. 目录: 下载软件 运行安装程序 安装程序欢迎界面 许可协议 查找更新 ...
- 烂泥:zabbix3.0安装与配置
本文由ilanniweb提供友情赞助,首发于烂泥行天下 想要获得更多的文章,可以关注我的微信ilanniweb 这个月又快过完了,最近也比较忙,没时间写文章,今天挤点时间把zabbix3.0安装与配置 ...
- CentOS 7.0安装配置Vsftp服务器
一.配置防火墙,开启FTP服务器需要的端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙. 1.关闭firewall: systemctl stop fi ...
- elasticsearch5.0.0 安装插件及配置过程
elasticsearch5.0.0 安装插件及配置过程 由于es5.0是里程碑式的更新,所以很多变化的地方,暂时我就插件安装遇到的问题记录一下. 插件安装命令 2.3版本的安装命令 安装Marvel ...
- IIS和4.0安装到底有没有先后顺序解答
在很多人或许很多技术大神都会觉得IIS的安装和4.0没得先后顺序的.其错误弊端在与IIS没有注册到4.0上. 经过今天遇到了服务器安装服务端发觉报错[无法识别的属性“targetFramework”. ...
- Hadoop2.6.0安装 — 集群
文 / vincentzh 原文连接:http://www.cnblogs.com/vincentzh/p/6034187.html 这里写点 Hadoop2.6.0集群的安装和简单配置,一方面是为自 ...
- zabbix3.0安装部署文档
zabbix v3.0安装部署 摘要: 本文的安装过程摘自http://www.ttlsa.com/以及http://b.lifec-inc.com ,和站长凉白开的<ZABBIX从入门到精通v ...
随机推荐
- Object archiving
https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/Arch ...
- pkusc2019游记
Day0 早上 6:55 的高铁,6 点就起了,好困呜呜呜 去的路上跟 memset0 坐一起,突然发现雀魂还没停服,先雀了一局(居然拿了个 1 位还飞了一个人),与此同时 memset0 切了一道毒 ...
- mysql使用过程中出现的问题总结
1.mysql命令窗口输入密码后窗口闪退 密码输入错误.(其他暂不清楚) 2. 出现这个错误的原因是,数据库的编码格式不一致. https://www.cnblogs.com/lsr-flying/p ...
- arduino入门笔记
以 ARDUINO® UNO R3为例 一.将板子与电脑连接 初次使用会自动安装驱动. Arduino Uno通过USB连接到计算机或外部电源自动获取电源,因此此时能看到电源指示灯会亮. 我的L13也 ...
- Tic-Tac-Toe-(暴力模拟)
https://ac.nowcoder.com/acm/contest/847/B #include<algorithm> #include<cstring> #include ...
- python Image open读取网络图片本地显示 爬虫必备
#!/usr/bin/python3 # -*- coding: utf-8 -*- import requests from PIL import Image from io import Byte ...
- CLR调试时的sos.dll/clr.dll/mscorwks.dll/mscordacwks.dll等动态库的版本对应
大家都知道,在调试托管代码时,一定会加载到sos/clr/mscorwks/mscordacwks这些动态库,才能够很好的完成我们的调试工作,那么他们的版本对应关系是怎样的呢,特别是clr.dll/m ...
- HNOI2015总结
// 此博文为迁移而来,写于2015年4月21日,不代表本人现在的观点与看法.原始地址:http://blog.sina.com.cn/s/blog_6022c4720102vy9t.html 这次省 ...
- 【09NOIP提高组】Hankson 的趣味题(信息学奥赛一本通 1856)(洛谷 1072)
题目描述 Hanks 博士是BT (Bio-Tech,生物技术) 领域的知名专家,他的儿子名叫Hankson.现在,刚刚放学回家的Hankson 正在思考一个有趣的问题.今天在课堂上,老师讲解了如何求 ...
- linux高性能服务器编程 (六) --高级I/O函数
第六章 高级I/O函数 Linux提供了很多高级的I/O函数,它不是基础的I/O函数(open/read) 1.创建文件描述符的函数比如:pipe.dup/dup2函数 2.读写数据的函数比如:rea ...