我使用如下内容的Kubefile
FROM registry.cn-shanghai.aliyuncs.com/labring/kubernetes-docker:v1.23.17
COPY charts ./charts
COPY images ./images
COPY registry ./registry
CMD ["helm upgrade --install calico charts/calico -n tigera-operator --create-namespace"]
build镜像好后执行使用
sealos run xxx:v1.0 --masters xx --nodes xx -p xxx
出现如下问题:
2023-12-07T23:27:27 info succeeded in joining 192.168.20.121:22 as worker
2023-12-07T23:27:27 info start to sync lvscare static pod to node: 192.168.20.121:22 master: [192.168.20.119:6443]
192.168.20.121:22 2023-12-07T23:27:28 info generator lvscare static pod is success
2023-12-07T23:27:28 info Executing pipeline RunGuest in CreateProcessor.
Release “calico” does not exist. Installing it now.
192.168.20.121:22 bash: helm: 未找到命令
Error: run command cd /var/lib/sealos/data/default/rootfs && helm upgrade --install calico charts/calico -n tigera-operator --create-namespace
on 192.168.20.121:22, output: bash: helm: 未找到命令
, error: Process exited with status 127,
[root@dm-192-168-20-119 merged]# NAME: calico
LAST DEPLOYED: Thu Dec 7 23:27:31 2023
NAMESPACE: tigera-operator
STATUS: deployed
REVISION: 1
TEST SUITE: None
我的master和node节点正常,但是node节点不应该执行helm upgrade了啊。。因为master上已经执行过了,请问这是什么问题?