【问题标题】:Having problems downloading rancher to my machine将牧场主下载到我的机器时出现问题
【发布时间】:2020-06-12 14:11:28
【问题描述】:

我希望在这场大流行中一切都好。为了追逐,我正在尝试在我的 Mac 上安装 Rancher,此时我被卡住的时间最长。我相信我已经正确下载了所有内容。有什么我遗漏的吗?

这是在redhat os linux btw上运行

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

这是我的目录

非常感谢!

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

【问题讨论】:

  • StackOverflow 致力于帮助解决编程代码问题。您的 Q 可能更适合 Ask Different,但请阅读他们关于主题问题的帮助部分。并且请先阅读Help On-topicHelp How-to-ask,然后再在此处发布更多问题。祝你好运。

标签: linux docker yaml kubernetes-helm rancher


【解决方案1】:

您应该在此处遵循 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 helm chart 目录并尝试使用 kubectl 安装它,这不起作用。

在 HA 说明下,您会找到 helm install 命令。

【讨论】:

    猜你喜欢
    • 2023-01-17
    • 1970-01-01
    • 1970-01-01
    • 2020-12-07
    • 2017-11-26
    • 1970-01-01
    • 1970-01-01
    • 2019-05-08
    • 1970-01-01
    相关资源
    最近更新 更多