1.添加helm repo
helm repo add bitnami https://charts.bitnami.com/bitnami
2.更新helm库
helm repo update
3.查找包
helm search repo kafka
4.下载包
helm pull bitnami/kafka --version 31.1.1
下载报错
Error: failed to do request: Head "https://registry-1.docker.io/v2/bitnamicharts/kafka/manifests/31.1.1": dial tcp 108.160.170.33:443: i/o timeout
下不下来,直接使用wget进行下载,对应的地址是
wget https://charts.bitnami.com/bitnami/kafka-31.1.1.tgz
解压tar包
tar -zxvf kafka-31.1.1.tgz
看到Chart.yaml,中有registry-1.docker.io所有用helm下不下来
annotations: category: Infrastructure images: | - name: jmx-exporter image: docker.io/bitnami/jmx-exporter:1.1.0-debian-12-r1 - name: kafka image: docker.io/bitnami/kafka:3.9.0-debian-12-r4 - name: kubectl image: docker.io/bitnami/kubectl:1.32.0-debian-12-r0 - name: os-shell image: docker.io/bitnami/os-shell:12-debian-12-r34 licenses: Apache-2.0 apiVersion: v2 appVersion: 3.9.0 dependencies: - condition: zookeeper.enabled name: zookeeper repository: oci://registry-1.docker.io/bitnamicharts version: 13.x.x - name: common repository: oci://registry-1.docker.io/bitnamicharts tags: - bitnami-common version: 2.x.x description: Apache Kafka is a distributed streaming platform designed to build real-time pipelines and can be used as a message broker or as a replacement for a log aggregation solution for big data applications. home: https://bitnami.com icon: https://bitnami.com/assets/stacks/kafka/img/kafka-stack-220x234.png keywords: - kafka - zookeeper - streaming - producer - consumer maintainers: - name: Broadcom, Inc. All Rights Reserved. url: https://github.com/bitnami/charts name: kafka sources: - https://github.com/bitnami/charts/tree/main/bitnami/kafka version: 31.1.1
标签:name,kafka,报错,io,helm,docker,bitnami From: https://www.cnblogs.com/xiaoxiaomuyuyu/p/18627989