当前位置:   article > 正文

Kubernetes - Helm 快速安装_kubernetes dashboard v3.0.0-alpha0安装

kubernetes dashboard v3.0.0-alpha0安装

一、最快安装——官网提供的脚本——默认获取最新版本

  1. cd /usr/local/src/
  2. curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
  3. chmod 700 get_helm.sh
  4. ./get_helm.sh
  5. helm search hub wordpress
  6. source <(helm completion bash)
  7. helm completion bash > /etc/bash_completion.d/helm

二、二进制安装

1、官网下载安装包:https://github.com/helm/helm/releases

2、下载——安装

wget https://get.helm.sh/helm-v3.12.2-linux-amd64.tar.gz
  1. # 解压
  2. tar -zxvf helm-v3.12.2-linux-amd64.tar.gz
  3. # 进入解压后的目录中,将helm软连接到系统的bin目录下
  4. cd linux-amd64
  5. ln -s /app/xwsoft/install_package/linux-amd64/helm /usr/bin/helm

3、查看 Helm

  1. helm version
  2. [root@k8s-master01 k8s]# helm version
  3. version.BuildInfo{Version:"v3.12.2", GitCommit:"1e210a2c8cc5117d1055bfaa5d40f51bbc2e345e", GitTreeState:"clean", GoVersion:"go1.20.5"}

4、命令补全

  1. helm search hub wordpress
  2. source <(helm completion bash)
  3. helm completion bash > /etc/bash_completion.d/helm

5、删除重新安装

  1. helm repo add k8s-dashboard https://kubernetes.github.io/dashboard
  2. helm repo update
  3. helm show values k8s-dashboard/kubernetes-dashboard
  4. helm list
  5. helm search repo kubernetes-dashboard
  6. helm delete kubernetes-dashboardd
  7. helm install kubernetes-dashboard k8s-dashboard/kubernetes-dashboard --version 3.0.0

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/246713
推荐阅读
相关标签
  

闽ICP备14008679号