[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把私有库搞起来.

posted @ 2017-12-07 21:33  _毛台  阅读(4838)  评论(0编辑  收藏  举报