我最近安装了microk8s,并在microk8s上启用了helm3和dns加载项。来自stable/chart的部署工作正常,但来自bitnami/chart的任何部署都会失败。
OS: Ubuntu20.04.1 LTS -- microk8s: 1.19/稳定
microk8s.helm3 install my-release bitnami/jenkins
=> Error: parse error at (jenkins/charts/common/templates/_secrets.tpl:84): function "lookup" not defined
microk8s.helm3 install my-release bitnami/magento
=> Error: parse error at (magento/charts/elasticsearch/charts/common/templates/_secrets.tpl:84): function "lookup" not defined发布于 2021-02-05 12:53:33
发布于 2021-05-25 15:02:36
在安装卡夫卡的同时也面临着同样的问题。解决方案是安装较新版本的Helm 3,并使用其指定的--kubeconfig命令:
microk8s config > kubeconfig.yaml
sudo snap install helm --classic
/snap/bin/helm repo add bitnami https://charts.bitnami.com/bitnami
/snap/bin/helm install --wait kafka bitnami/kafka --set metrics.jmx.enabled=true --kubeconfig kubeconfig.yaml发布于 2021-02-03 17:23:44
尝试使用snap安装helm3,然后将其链接到microk8s:
sudo snap install helm --classic
sudo mkdir /var/snap/microk8s/current/bin
sudo ln -s /snap/bin/helm /var/snap/microk8s/current/bin/helm使用helm3.0而不是helm3.1似乎存在一些问题
https://stackoverflow.com/questions/66029873
复制相似问题