You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

安装helm

wget https://get.helm.sh/helm-v3.12.0-linux-amd64.tar.gz
tar zxvf helm-v3.12.0-linux-amd64.tar.gz
cp linux-amd64/helm /usr/bin
chmod +x /usr/bin/helm
helm version

添加 chart 源

helm repo add  stable https://kubernetes-charts.storage.googleapis.com
helm repo add  aliyuncs https://apphub.aliyuncs.com
helm repo list

查询库

helm search repo aliyuncs | head -5

安装应用

helm install nginx aliyuncs/nginx

repo模板化到本地

helm template polardbx-operator polardbx/polardbx-operator \
    --namespace polardbx \
    --set node.volumes.data=/polarx/data \
    --set extension.config.images.store.galaxy.exporter=harbor.uenpay.com/base/mysqld-exporter:latest \
	--version 1.6.2 > polardbx-operator.yaml

repo导出helm仓库文件

helm fetch  polardbx/polardbx-operator



  • No labels