kubenetes1.16.0 安装helm报错与解决办法

本文介绍了在Kubernetes 1.16.0环境中安装Helm客户端和Tiller服务器时遇到的问题及解决方法。首先通过官方脚本或手动下载安装Helm客户端,然后在安装Tiller时,由于API版本变化导致报错。解决报错需更新apiversion,并执行相应命令完成Tiller安装。最后,针对'Error: error installing: the server could not find the requested resource'的错误提供了直接的解决命令。
摘要由CSDN通过智能技术生成

1. 安装Helm客户端

方式一:
公有云环境可以使用官方安装脚本一键安装,只需要执行如下一条命令:

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get |bash

方式二:
内网环境可以手动下载安装,下载地址:https://github.com/kubernetes/helm/releases

tar -zxvf helm-2.14.1.tar.gz
mv helm-2.14.1/helm /usr/local/bin/helm

执行helm version命令验证:
目前只能查看到客户端的版本,服务器还没有安装

[root@master1 helm]# helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Error: could not find a ready tiller pod

安装helm的bash命令补全脚本:

helm completion bash > .hermrc ;echo "source .helmrc" >> .bashrc

2.安装Tiller服务器

正常情况下执行 h

  • 3
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值