欢迎关注我的公众号:
目前刚开始写一个月,一共写了18篇原创文章,文章目录如下:
istio防故障利器,你知道几个,istio新手不要读,太难!
不懂envoyfilter也敢说精通istio系列-http-rbac-不要只会用AuthorizationPolicy配置权限
不懂envoyfilter也敢说精通istio系列-02-http-corsFilter-不要只会vs
不懂envoyfilter也敢说精通istio系列-03-http-csrf filter-再也不用再代码里写csrf逻辑了
不懂envoyfilter也敢说精通istio系列http-jwt_authn-不要只会RequestAuthorization
不懂envoyfilter也敢说精通istio系列-05-fault-filter-故障注入不止是vs
不懂envoyfilter也敢说精通istio系列-06-http-match-配置路由不只是vs
不懂envoyfilter也敢说精通istio系列-07-负载均衡配置不止是dr
不懂envoyfilter也敢说精通istio系列-08-连接池和断路器
不懂envoyfilter也敢说精通istio系列-09-http-route filter
不懂envoyfilter也敢说精通istio系列-network filter-redis proxy
不懂envoyfilter也敢说精通istio系列-network filter-HttpConnectionManager
不懂envoyfilter也敢说精通istio系列-ratelimit-istio ratelimit完全手册
--------------------------------------------------------------------------------------------------------------------------------------
helm 是用来解决什么问题的?我们先看一个使用场景:
需要这些对象的配置文件,通过 kubectl apply -f 部署。
上面方式的缺点:
所以,helm 就是用来解决这些问题的,它是更高层次的应用打包工具。
Helm2架构:
Helm2安装:
•mv helm2 /usr/local/bin
•Chmod +x /usr/local/bin/helm2•
•helm2 init --service-account tiller --upgrade -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.1 --stable-repo-url https://kubernetes-charts.storage.googleapis.com/
Helm3架构:
Helm3安装:
•Releases · helm/helm · GitHub
•Chmod +x helm3 && mv helm3 /usr/local/bin
•helm3 repo add stable https://kubernetes-charts.storage.googleapis.com/
•helm3 repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
Helm2升级到helm3:
安装helm插件
helm3 plugin install https://gith.com/helm/helm-2to3
迁移Helm v2的配置
迁移Helm v2 releases
•helm3 2to3 convert postgres
Helm2和helm3的命令的区别:
Helm3新特性:
•移除了 Tiller
•不同的 namespace 可以使用相同的 Release Name
•简化模板对象 .Capabilities
•使用JSONSchema验证 charts 的 Values
•将requirements.yaml合并到Chart.yaml中
•helm install 时需要指定 Release Name,开启自动生成需要 --generate-name 参数
•支持 push 到远端 registry (如:harbor)
•移除 helm serve
•命令行变化(将原先的命令保留为别名Aliases)
•helm delete --> helm uninstall
•helm inspect -> helm show
•helm fetch -> helm pull