【问题标题】:How can I install new charts on GKE with helm3 remotely?如何使用 helm3 在 GKE 上远程安装新图表?
【发布时间】:2021-08-10 13:43:20
【问题描述】:

我在使用 helm3 时遇到此错误,为什么?

$ gcloud config list
[core]
account = xxxxx@xxxxx
disable_usage_reporting = True
project = project1-xxxxx

Your active configuration is: [xconfig]

$ kubectl get nodes --cluster gke_project1-xxxxx-central1-c_cluster-1
NAME                                       STATUS   ROLES    AGE    VERSION
gke-cluster-1-default-pool-xxxxx-xxxxx   Ready    <none>   159m   v1.19.9-gke.1400
gke-cluster-1-default-pool-xxxxx-xxxxx   Ready    <none>   159m   v1.19.9-gke.1400
gke-cluster-1-default-pool-xxxxx-xxxxx   Ready    <none>   159m   v1.19.9-gke.1400

$ helm3 install -f values.yaml confluent confluentinc/cp-helm-charts
ERROR: ld.so: object '/usr/local/lib/AppProtection/libAppProtection.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
ERROR: ld.so: object '/usr/local/lib/AppProtection/libAppProtection.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/AppProtection/libAppProtection.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Error: Kubernetes cluster unreachable

【问题讨论】:

  • 你能检查一下kube-config文件的权限吗
  • 这看起来不像是 Helm 问题,甚至不一定是与编程相关的问题。 This answer 建议了可能会发生冲突的特定软件?
  • @SravanKumar 我没有使用任何 kube-config 文件。我该如何检查?

标签: kubernetes google-kubernetes-engine kubernetes-helm


【解决方案1】:

这个来自官方存储库的 guide 可以帮助您安装 confluentinc 吗?

helm repo add confluentinc https://confluentinc.github.io/cp-helm-charts/   #(1)
helm repo update    #(2)
helm install confluentinc/cp-helm-charts --name my-confluent --version 0.6.0 

$ kubectl config view检查kubeconfig file

【讨论】:

  • 我得到同样的错误:错误:Kubernetes 集群无法访问
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-03-18
  • 2023-01-08
  • 2019-08-23
  • 2021-05-14
相关资源
最近更新 更多