kubernetes 如何在v3.2.1中列出关于helm搜索url的完整url

mwg9r5ms  于 2022-11-02  发布在  Kubernetes
关注(0)|答案(2)|浏览(153)

当我使用此命令搜索集线器的可用图表时:

helm search hub kubernetes-dashboard

它只显示url的一部分,像这样:

[miaoyou@MeowK8SMaster1 ~]$ helm search hub kubernetes-dashboard
URL                                                 CHART VERSION   APP VERSION DESCRIPTION                                   
https://hub.helm.sh/charts/k8s-dashboard/kubern...  2.0.1           2.0.1       General-purpose web UI for Kubernetes clusters
https://hub.helm.sh/charts/banzaicloud-stable/k...  0.9.2           1.10.0      General-purpose web UI for Kubernetes clusters

如何显示关于集线器的完整url,我找不到关于集线器的名称,也不知道如何使用helm install命令安装它?从终端复制url只有url的一部分。

nc1teljy

nc1teljy1#

使用以下命令查看完整输出:

[miaoyou@MeowK8SMaster1 ~]$ helm search hub -o json kubernetes-dashboard|jq '.'
[
  {
    "url": "https://hub.helm.sh/charts/k8s-dashboard/kubernetes-dashboard",
    "version": "2.0.1",
    "app_version": "2.0.1",
    "description": "General-purpose web UI for Kubernetes clusters"
  },
  {
    "url": "https://hub.helm.sh/charts/banzaicloud-stable/kubernetes-dashboard",
    "version": "0.9.2",
    "app_version": "1.10.0",
    "description": "General-purpose web UI for Kubernetes clusters"
  }
]

如果您没有jq,请使用以下命令安装它:

sudo yum install jq -y
pvabu6sv

pvabu6sv2#

helm search hub wordpress --output yaml

快乐阅读

相关问题