Kubernetes 的 Confluence 平台 - 错误:无法下载“confluenceinc/confluence-for-kubernetes”

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

为了能够在 Kubernetes 上部署 Confluence 平台,我遵循 Confluence 页面中的“快速入门”:

“https://docs.confluence.io/operator/current/co-quickstart.html”

我正在执行这些步骤:

helm repo add confluentinc https://packages.confluent.io/helm
helm repo update


helm upgrade --install confluent-operator confluentinc/confluent-for-kubernetes

我收到此错误:

Error: failed to download "confluentinc/confluent-for-kubernetes"

我相信这一步的失败会阻止我继续安装 Confluence Platform(目标是 AWS EKS)。

我应该怎么做才能解决这个问题?

kubernetes kubernetes-helm confluent-platform
2个回答
1
投票

我的

Chart.yaml
也遇到了类似的包装图表问题,如下所示:

apiVersion: v2
name: ccloud-connect
version: 1.0.0
appVersion: 1.0.0
description: Based on tutorial at https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/hybrid/ccloud-connect-confluent-hub
dependencies:
  - name: "confluentinc/confluent-for-kubernetes"
    version:  "0.771.13"
    repository: 'https://packages.confluent.io/helm'

当我尝试更新 Helm 依赖项时,我收到了类似的错误消息。

➜ helm dep up .

Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami-labs" chart repository
...Successfully got an update from the "aws" chart repository
Update Complete. ⎈Happy Helming!⎈
Error: confluentinc/confluent-for-kubernetes chart not found in repo https://packages.confluent.io/helm

经过一番尝试和错误后,我通过从

confluentinc
文件中
name
列表内的
dependencies
字段中删除
Chart.yaml
来实现此功能,即

apiVersion: v2
name: ccloud-connect
version: 1.0.0
appVersion: 1.0.0
description: Based on tutorial at https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/hybrid/ccloud-connect-confluent-hub
dependencies:
  - name: "confluent-for-kubernetes"
    version:  "0.771.13"
    repository: 'https://packages.confluent.io/helm'

...然后重新运行

helm dep up
成功了...

➜ helm dep up .

Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami-labs" chart repository
...Successfully got an update from the "aws" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading confluent-for-kubernetes from repo https://packages.confluent.io/helm
Deleting outdated charts

然后我就可以

helm template
/
helm upgrade
等,没有问题。


0
投票

这应该适合你

apiVersion: v2
appVersion: "v0.2.19"
description: A Helm chart for Kubernetes
name: app name
# noinspection HelmChartUnknownValues
version: "v0.2.19"

dependencies:
  - name: confluent-for-kubernetes
    version: 0.771.13
    repository: https://packages.confluent.io/helm
    condition: kafka.enabled
© www.soinside.com 2019 - 2024. All rights reserved.