将rancher下载到我的机器时遇到问题

问题描述 投票:0回答:1

我希望这种流行病继续发展下去。为了追逐,我正在尝试在Mac上安装rancher,并且在这一点上,我已经停留了最长的时间。我相信我已正确下载了所有内容。有什么我想念的吗?

这在redhat os linux btw上运行

这是我要运行的命令:./kubectl -n cow-system apply -R -f ./rancher

这是我的目录enter image description here

非常感谢!

error validating "rancher/Chart.yaml": error validating data: kind not set; [![enter image description here][1]][1]if you choose to ignore these errors, turn validation off with --validate=false
error parsing rancher/templates/clusterRoleBinding.yaml: error converting YAML to JSON: yaml: line 6: did not find expected key
error parsing rancher/templates/deployment.yaml: error converting YAML to JSON: yaml: line 6: did not find expected key
error parsing rancher/templates/ingress.yaml: error converting YAML to JSON: yaml: line 6: did not find expected key
error parsing rancher/templates/issuer-letsEncrypt.yaml: json: line 0: invalid character '{' looking for beginning of object key string
error parsing rancher/templates/issuer-rancher.yaml: json: line 0: invalid character '{' looking for beginning of object key string
error parsing rancher/templates/service.yaml: error converting YAML to JSON: yaml: line 6: did not find expected key
error parsing rancher/templates/serviceAccount.yaml: error converting YAML to JSON: yaml: line 6: did not find expected key
error validating "rancher/values.yaml": error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false

linux docker yaml kubernetes-helm rancher
1个回答
0
投票

您应该在此处按照HA的安装说明进行操作:https://rancher.com/docs/rancher/v2.x/en/installation/k8s-install/,或者在此处按照独立模式进行的安装说明:https://rancher.com/docs/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/

我想您已经下载了rancher掌舵图目录,并尝试使用kubectl安装它,但该方法无效。

根据HA的说明,您将找到helm install命令。

© www.soinside.com 2019 - 2024. All rights reserved.