[k8s]helm原理&私有库搭建&monocularui和kubeapp探究


  • 运行最简单的charts示例

helm的2个chart例子:
https://github.com/kubernetes/helm/tree/master/docs/examples/nginx

helm fetch xxx # 得到tgz

helm install --dry-run --debug docs/examples/nginx ## 查看模板和value组合后生成的yaml.

diy yaml后再运行
  • 构建charts私有仓库:

参考:
https://github.com/rootsongjc/kubernetes-handbook/blob/a44ca7efac0b04bf130a4c39ceba3473b9c34210/practice/create-private-charts-repo.md
https://jimmysong.io/posts/manage-kubernetes-native-app-with-helm/

  • 启动本地仓库
helm serve
  • 添加本地仓库
                仓库名  仓库地址
helm repo add monocular https://kubernetes-helm.github.io/monocular

第三方helm ui

https://github.com/kubernetes-helm/monocular

还有另一个和这个类似的:
https://github.com/kubeapps/kubeapps

todo:

研究monocular和kubeapps把私有库搞起来.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM