kubectl 常用命令,helm常用命令

一.kubectl

 

   1.kubectl 使用不同的kubeconfig文件连接不同的集群

      kubectl --kubeconfig config52 get  pods -n kube-system | grep etcd

     2. 

二.helm

  1. 更新仓库

helm repo update

      2.仓库里搜索指定

helm search  repo node-problem

  3.下载某个helm包

helm pull  chartrepo-itg/node-problem-detector

  

posted on 2023-02-01 18:59  running-fly  阅读(109)  评论(0编辑  收藏  举报

导航