https://stackoverflow.com/questions/53612553/how-to-uninstall-remove-tiller-from-kubernetes-manually

kuberneter 上面装了 helm 想卸载还并不是那么容易,也不知道怎么搞

后面在stackoverflow 看到大神回复

kubectl get -n kube-system secrets,sa,clusterrolebinding -o name|grep tiller|xargs kubectl -n kube-system delete
kubectl get all -n kube-system -l app=helm -o name|xargs kubectl delete -n kube-system

大神就是不一样,果然 解决了我的问题

[root@k8s-master ceph]# kubectl delete deployment tiller-deploy -n k8s-tiller
Error from server (NotFound): deployments.extensions "tiller-deploy" not found
[root@k8s-master ceph]# kubectl delete deployment tiller-deploy -n k8s-tiller
Error from server (NotFound): deployments.extensions "tiller-deploy" not found
[root@k8s-master ceph]# kubectl get pods -n kube-sys
No resources found.
[root@k8s-master ceph]# kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-7db7dd9c7c-ltlnb / Running 2d16h
coredns-7db7dd9c7c-vmzhb / Running 3d
kube-apiserver-k8s-master / Running 3d
kube-controller-manager-k8s-master / Running 3d
kube-flannel-ds-fdvzr / Running 3d
kube-flannel-ds-qnjcb / Running 3d
kube-flannel-ds-v8jsx / Running 3d
kube-proxy-mksfv / Running 3d
kube-proxy-prkvf / Running 3d
kube-proxy-rkwnf / Running 3d
kube-scheduler-k8s-master / Running 3d
kubernetes-dashboard-7678b7c84f-99kb8 / Running 3d
tiller-deploy-69ffbf64bc-c2gbj / ImagePullBackOff 4m7s
[root@k8s-master ceph]# kubectl delete deployment tiller-deploy -n kube-system
Error from server (NotFound): deployments.extensions "tiller-deploy" not found
[root@k8s-master ceph]# kubectl delete deployment tiller-deploy-69ffbf64bc-c2gbj -n kube-system
Error from server (NotFound): deployments.extensions "tiller-deploy-69ffbf64bc-c2gbj" not found
[root@k8s-master ceph]# kubectl delete service tiller-deploy -n kube-system
Error from server (NotFound): services "tiller-deploy" not found
[root@k8s-master ceph]# kubectl delete rs tiller-deploy-69ffbf64bc-c2gbj -n kube-system
Error from server (NotFound): replicasets.extensions "tiller-deploy-69ffbf64bc-c2gbj" not found
[root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller kube-system pod/tiller-deploy-69ffbf64bc-c2gbj / ImagePullBackOff 5m30s kube-system replicaset.apps/tiller-deploy-69ffbf64bc 10m
kube-system replicaset.apps/tiller-deploy-6bcc84d88 2d20h
kube-system replicaset.apps/tiller-deploy-6f8674fcd6 2d20h
[root@k8s-master ceph]# kubectl get -n kube-system secrets,sa,clusterrolebinding -o name|grep tiller|xargs kubectl -n kube-system delete
clusterrolebinding.rbac.authorization.k8s.io "tiller-cluster-rule" deleted
[root@k8s-master ceph]# kubectl get all -n kube-system -l app=helm -o name|xargs kubectl delete -n kube-system
pod "tiller-deploy-69ffbf64bc-c2gbj" deleted
replicaset.apps "tiller-deploy-69ffbf64bc" deleted
replicaset.apps "tiller-deploy-6bcc84d88" deleted
replicaset.apps "tiller-deploy-6f8674fcd6" deleted
[root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller kube-system pod/tiller-deploy-69ffbf64bc-8p5cx / Terminating 9s [root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller [root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller [root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller [root@k8s-master ceph]# kubectl get all --all-namespaces | grep tiller [root@k8s-master ceph]# kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-7db7dd9c7c-ltlnb / Running 2d17h
coredns-7db7dd9c7c-vmzhb / Running 3d
kube-apiserver-k8s-master / Running 3d
kube-controller-manager-k8s-master / Running 3d
kube-flannel-ds-fdvzr / Running 3d
kube-flannel-ds-qnjcb / Running 3d
kube-flannel-ds-v8jsx / Running 3d
kube-proxy-mksfv / Running 3d
kube-proxy-prkvf / Running 3d
kube-proxy-rkwnf / Running 3d
kube-scheduler-k8s-master / Running 3d
kubernetes-dashboard-7678b7c84f-99kb8 / Running 3d

kubernets helm 如何删除tiller的更多相关文章

  1. helm安装 删除

      要安装对应k8s版本的helm https://github.com/helm/helm/releases #wget https://storage.googleapis.com/kuberne ...

  2. Kubernetes-17:Kubernets包管理工具—>Helm介绍与使用

    Kubernets包管理工具->Helm 什么是Helm? 我们都知道,Linux系统各发行版都有自己的包管理工具,比如Centos的YUM,再如Ubuntu的APT. Kubernetes也有 ...

  3. Helm安装服务端tiller出现的问题

    一.首先,我是看尚硅谷视频跟着操作出现了问题,视频链接:https://www.bilibili.com/video/av66617940/?p=58 再说下大概的部署流程 Helm 部署 Helm ...

  4. ASP.NET Core on K8S深入学习(10)K8S包管理器Helm

    本篇已加入<.NET Core on K8S学习实践系列文章索引>,可以点击查看更多容器化技术相关系列文章. 一.关于Helm 1.1 为何需要Helm? 虽然K8S能够很好地组织和编排容 ...

  5. Helm学习笔记

    Helm学习笔记 Helm 是 Kubernetes 生态系统中的一个软件包管理工具.本文将介绍 Helm 中的相关概念和基本工作原理,并通过一个具体的示例学习如何使用 Helm 打包.分发.安装.升 ...

  6. Helm包管理工具(简介、安装、方法)

    认识Helm 每次我们要部署一个应用都需要写一个配置清单(维护一套yaml文件),但是每个环境又不一样.部署一套新的环境成本是真的很高.如果我们能够使用类似于yum的工具来安装我们的应用的话那就太好了 ...

  7. Helm - Kubernetes服务编排的利器

    Helm介绍 在Kubernetes中部署容器云应用(容器或微服务编排)是一项有挑战性的工作,Helm就是为了简化在Kubernetes中安装部署容器云应用的一个客户端工具.通过Helm能够帮助开发者 ...

  8. Helm 入门指南

    Helm 为Kubernetes的软件包管理工具,Helm有两部分组成:Helm客户端.Tiller服务端,Helm三个主要部件:Chart.仓库.Release: Chart:为Kubernetes ...

  9. prometheus-operator 详细总结(helm一键安装)

    一.介绍prometheus-operator 二.查看配置rbac授权 三.helm安装prometheus-operator 四.配置监控k8s组件 五.granafa添加新数据源 六.监控mys ...

随机推荐

  1. ios端position为fixed失效的解决办法

    关键代码 document.getElementById("searchInputbox").addEventListener('touchmove', handler, {pas ...

  2. PAT 甲级真题题解(1-62)

    准备每天刷两题PAT真题.(一句话题解) 1001 A+B Format  模拟输出,注意格式 #include <cstdio> #include <cstring> #in ...

  3. Linux-ftp虚拟用户配置

    云服务器ESC 部署vsftpd 虚拟用户 说明:云服务器部署和本地服务器部署一样,都需要开通指定的相应端口,只不过云服务器需要在安全组规则中打开相应的端口允许通过. 环境说明: 对应的用户对应不同的 ...

  4. Wireshark显示结果过滤基本语法

    按IP地址过滤:1.仅显示源地址为192.168.1.95的项目: ip.src eq 192.168.1.95 2.仅显示目的地址为192.168.1.95的项目: ip.dst eq 192.16 ...

  5. 让pip使用python3而不是python2

    步骤 ln -sf $(which pip3) $(which pip)

  6. ubuntu16.04安装中文输入法

    https://blog.csdn.net/u011795345/article/details/53041707

  7. echarts 折线图自定义颜色与修改legend颜色

    option4 = { title : { text: '', subtext: '' }, color:['#2db7f5','#ff6600','#808bc6'],      //关键加上这句话 ...

  8. DirectX11--ComPtr智能指针

    综述 DirectX11 With Windows SDK完整目录 欢迎加入QQ群: 727623616 可以一起探讨DX11,以及有什么问题也可以在这里汇报. IUnknown接口类 DirectX ...

  9. ArcGis dbf读写——挂接Excel到属性表 C#

    ArcMap提供了挂接Excel表格信息到属性表的功能,但是当数据量较大到以万计甚至十万计的时候这个功能就歇菜了,当然,你可以考虑分段挂接.这个挂接功能只是做了一个表关联,属性记录每个字段的信息需要通 ...

  10. Windows Server 2016 配置 IIS 的详细步骤

    Ø  简介 本文主要记录 Windows Server 2016 环境下,安装配置 IIS 的详细步骤.需要说明的是,在选择"功能"或"角色服务"时不建议将所有 ...