首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装GitLab Kubernetes托管应用程序prometheus

无法安装GitLab Kubernetes托管应用程序prometheus
EN

Stack Overflow用户
提问于 2021-10-02 19:32:12
回答 1查看 154关注 0票数 0

目前,在尝试部署由GitLab管理的Kubernetes应用程序时,我面临以下问题。

代码语言:javascript
复制
Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1", unable to recognize "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"]
68  Error: plugin "diff" exited with error

我已经通过证书向我的gitlab实例添加了一个kubernetes集群,并在集成中激活了Prometheus切换。此外,还分配了集群管理项目和集群中的gitlab-runner。

helmfile.yaml如下所示:

代码语言:javascript
复制
helmDefaults:
  atomic: true
  wait: true

  # ---------------------  IMPORTANT ---------------------------
  # Uncomment the paths below for the applications that you'd like to manage.
  # By default all the helmfiles have `install:true`. So if you uncomment one of these
  # helmfiles, the associated application will be tried to be installed or updated.
  #
  # You can set `install:false` to either uninstall the app from your cluster, or
  # keep it uninstalled if you don't have it already installed.
  #
  # For more information, reference the Helmfile repository at:
  # https://github.com/roboll/helmfile
  # ------------------------------------------------------------

helmfiles:

  # - path: applications/cilium/helmfile.yaml
  # - path: applications/ingress/helmfile.yaml
  # - path: applications/cert-manager/helmfile.yaml
  # - path: applications/sentry/helmfile.yaml
  # - path: applications/gitlab-runner/helmfile.yaml
  # - path: applications/elastic-stack/helmfile.yaml
  - path: applications/prometheus/helmfile.yaml
  # - path: applications/vault/helmfile.yaml
  # - path: applications/fluentd/helmfile.yaml
  # - path: applications/falco/helmfile.yaml
  # - path: applications/apparmor/helmfile.yaml

有什么建议我错过了什么吗?

EN

回答 1

Stack Overflow用户

发布于 2021-10-12 07:24:54

发布了社区维基,以便更好地了解一般解决方案,因为没有提供进一步的详细信息/日志。您可以随意扩展它。

正如@mdaniel在评论中所建议的:

由于v1beta1在1.22中被移除,所以几乎可以肯定这是一个kubernetes版本不匹配,但是由于您没有包含任何相关的版本信息,所以这只是一个猜测

请查找更多信息here

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69419622

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档