本文介绍了如何手动从Kubernetes卸载/删除分till?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错误地安装了不安全的分er器配置.

I've by mistake installed an unsecured configuration of tiller.

我已经尝试过helm reset,但是某些东西一定已经损坏,因为现在当我尝试安装头盔时:

I've tried helm reset but something must have corrupted because now when I try to install helm:

$HELM_HOME has been configured at /home/chris/.helm.
Warning: Tiller is already installed in the cluster.
(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)
Happy Helming!

但是,如果我尝试helm ls,我会得到:

However if I try helm ls I get:

Error: could not find tiller.

因此,由于头盔重置不足或存在一些错误,为了能够正确重新安装头盔(helm init),我需要删除哪些资源?

So because helm reset is insufficient, or there is some bugs, which resources do I need to delete in order to be able to reinstall helm correctly (helm init)?

推荐答案

使用命令可以卸载耕种机

Tiller can be uninstalled using the command

helm reset --force

helm reset --force --wait

它将强制清除群集中的所有资源.这样,您就可以再次运行helm init.

It will force the clean of all resources inside the cluster. With that you are able to run helm init again.

这篇关于如何手动从Kubernetes卸载/删除分till?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 04:24