chart图标是存放资源清单的东西,它是存在于远程仓库当中的
- [root@master ~]# helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
- "aliyun" has been added to your repositories
[root@xianchaomaster1 ~]# helm repo add bitnami https://charts.bitnami.com/bitnami
#更新 chart 仓库
[root@xianchaomaster1 ~]# helm repo update
[root@xianchaomaster1 ~]# helm repo list
#删除 chart 仓库地址
- [root@xianchaomaster1 ~]# helm repo remove aliyun
- "aliyun" has been removed from your repositories
[root@xianchaomaster1 ~]# helm search repo aliyun
#查看阿里云 chart 仓库中的 memcached
- [root@master1 ~]# helm search repo aliyun |grep memcached
- aliyun/mcrouter 0.1.0 0.36.0 Mcrouter is a
- aliyun/memcached 2.0.1 Free & open
#查看 chart 信息
- [root@master1 ~]# helm show chart aliyun/memcached
- apiVersion: v1
- description: Free & open source, high-performance, distributed memory object caching
- system.
- home: http://memcached.org/
- icon: https://upload.wikimedia.org/wikipedia/en/thumb/2/27/Memcached.svg/1024pxMemcached.svg.png
- [root@master1 ~]# helm pull aliyun/memcached
- [root@master1 ~]# tar zxvf memcached-2.0.1.tgz
- [root@master1 ~]# cd memcached
- [root@master1 memcached]# ls
- Chart.yaml README.md templates values.yaml
- [root@xianchaomaster1 memcached]# cd templates/
- [root@xianchaomaster1 templates]# ls