
一个 Kubernetes 集群
确定你安装版本的安全配置
安装和配置Helm。

helm versionhelm repo list
helm repo add stable http://mirror.azure.cn/kubernetes/chartshelm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/chartshelm search repo redis
helm pull aliyun/redis
helm create iot-user
helm plugin install https://github.com/chartmuseum/helm-pushhelm plugin list
helm package iot-order
helm cm-push iot-order-0.1.0.tgz local

mkdir /opt/charts
docker run -d \
-p 8080:8080 \
-e DEBUG=1 \
-e STORAGE=local \
-e STORAGE_LOCAL_ROOTDIR=/charts \
-v /opt/charts:/charts \
chartmuseum/chartmuseum:latest
# 使用 curl 测试下接口,没有报错就行,当前仓库内容还是空的
# curl localhost:8080/api/charts
{}
