Closed liuziyuan closed 2 years ago
根据其他问题的回复,升级labring/calico到labring/calico:v3.24.1后,此问题解决。 但是爆出新的问题,如下: bash: helm: command not found 2022-09-20T08:51:29 error Applied to cluster error: exit status 127
最终,成功
Then you can join any number of worker nodes by running the following on each as root:
kubeadm join apiserver.cluster.local:6443 --token <value withheld> \
--discovery-token-ca-cert-hash sha256:a919ff6bd6389581ed99eb9820d4151fe97e8e7b925e2bb1a649d1975d4f7bfe
2022-09-20T08:59:57 info Executing pipeline Join in CreateProcessor.
2022-09-20T08:59:57 info start to get kubernetes token...
2022-09-20T08:59:59 info Executing pipeline RunGuest in CreateProcessor.
2022-09-20T08:59:59 info guest cmd is cp opt/helm /usr/bin/
2022-09-20T08:59:59 info guest cmd is kubectl create namespace tigera-operator
namespace/tigera-operator created
2022-09-20T08:59:59 info guest cmd is helm install calico charts/calico --namespace tigera-operator
NAME: calico
LAST DEPLOYED: Tue Sep 20 09:00:05 2022
NAMESPACE: tigera-operator
STATUS: deployed
REVISION: 1
TEST SUITE: None
2022-09-20T09:00:06 info succeeded in creating a new cluster, enjoy it!
2022-09-20T09:00:06 info
___ ___ ___ ___ ___ ___
/\ \ /\ \ /\ \ /\__\ /\ \ /\ \
/::\ \ /::\ \ /::\ \ /:/ / /::\ \ /::\ \
/:/\ \ \ /:/\:\ \ /:/\:\ \ /:/ / /:/\:\ \ /:/\ \ \
_\:\~\ \ \ /::\~\:\ \ /::\~\:\ \ /:/ / /:/ \:\ \ _\:\~\ \ \
/\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/ /:/__/ \:\__\ /\ \:\ \ \__\
\:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/ / \:\ \ \:\ \ /:/ / \:\ \:\ \/__/
\:\ \:\__\ \:\ \:\__\ \::/ / \:\ \ \:\ /:/ / \:\ \:\__\
\:\/:/ / \:\ \/__/ /:/ / \:\ \ \:\/:/ / \:\/:/ /
\::/ / \:\__\ /:/ / \:\__\ \::/ / \::/ /
\/__/ \/__/ \/__/ \/__/ \/__/ \/__/
Website :https://www.sealos.io/
Address :github.com/labring/sealos
麻烦作者更新一下文档
单机安装 kuberentes sudo sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 --single 1.25.0 与3.24.1搭配使用,依赖helm 要放在calico千面
安装失败, error: resource mapping not found for name: "tigera-operator" namespace: "" from "manifests/tigera-operator.yaml": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first 2022-09-20T08:12:13 error Applied to cluster error: exit status 1
安装日志如下