无法下载k8s.gcr.io镜像
docker pull mirrorgooglecontainers/heapster:v1.3.0
docker images
docker tag f9d33bedfed3 k8s.gcr.io/heapster:v1.3.0
docker pull quay-mirror.qiniu.com/kubernetes-ingress-controller/nginx-ingress-controller:0.20.0
docker tag f9ddsbedfed3 quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.20.0
md5-b11464ae0b7f23f1fa7fe70843d80049
./tiller
export HELM_HOST=localhost:44134
helm version
helm reset
md5-2774cdd949685fab2e0687c599f58362
helm init --upgrade --tiller-image registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.12.3
md5-b8699de49c6fdd573eb724a44ba69a41
# 创建 Kubernetes 的服务帐号和绑定角色
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
# 为 Tiller 设置帐号,使用 kubectl patch 更新 API 对象
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
# 查看是否授权成功
kubectl get deploy --namespace kube-system tiller-deploy --output yaml|grep serviceAccount
md5-3bd67fcba4acf9b7cae9ce9a3f8250f8
kubectl -n kube-system get pods|grep tiller
helm version
md5-b763c25fcdb5344ae994e4c6fca0517b
# 得到tgz
helm fetch xxx
# 查看模板和value组合后生成的yaml.
helm install --dry-run --debug docs/examples/nginx
# 启动本地仓库
helm serve
md5-773eef4fc730c543cddabde29984a825
# 创建Chart
helm create mychart
# 检查配置
helm lint mychart/
# 打包
helm package mychart --debug
# 查找
helm search mysql
# 查找所有版本
helm search monocular -l
# 仓库源信息
helm repo list
# 已安装列表
helm list
# 安装包
helm install local/mychart --name mike-test
helm install --name wordpress-test --set "persistence.enabled=false,mariadb.persistence.enabled=false,serviceType=NodePort" stable/wordpress
helm install stable/minio --namespace=minio --name=minio --set "persistence.storageClass=rook-ceph-block" --debug
md5-3007f5af40302f5e04ecd68df9ac4ce1
# 更新源到本地安装
# 从 Helm 官方 Chart 仓库迁出所有软件包
git clone https://github.com/helm/charts.git
cd charts/stable
helm install --name dokuwiki --set "ingress.enabled=true,ingress.hosts[0].name=wiki.hi-linux.com,persistence.enabled=false" dokuwiki
md5-3007f5af40302f5e04ecd68df9ac4ce1
# 查询包
helm status mike-test
# 升级包
helm upgrade mike-test local/mychart
# 查看更变
helm history mike-test
# 回退
helm rollback mike-test 1
# 删除
helm delete mike-test
# 查看
helm ls -a mike-test
helm ls --deleted
# 强制删除
helm delete --purge mike-test
md5-c0ba748cf2054c8f52793f5169d83238
helm repo add 存储库名 存储库URL
helm repo update
# Prometheus Operator
https://github.com/coreos/prometheus-operator/tree/master/helm
# Bitnami Library for Kubernetes
https://github.com/bitnami/charts
# Openstack-Helm
https://github.com/att-comdev/openstack-helm
https://github.com/sapcc/openstack-helm
# Tick-Charts
https://github.com/jackzampolin/tick-charts
如果您喜欢本站,点击这儿可以捐赠本站
这些信息可能会帮助到你: 联系作者 | 报毒说明
修改版本软件,加群提示等均为修改者自留,非本站信息,注意鉴别
这些信息可能会帮助到你: 联系作者 | 报毒说明
修改版本软件,加群提示等均为修改者自留,非本站信息,注意鉴别
评论(0)