zoukankan      html  css  js  c++  java
  • helm安装

    [root@k8s-master01 helm]# tar -zxvf helm-v2.17.0-linux-amd64.tar.gz 
    linux-amd64/
    linux-amd64/README.md
    linux-amd64/LICENSE
    linux-amd64/helm
    linux-amd64/tiller
    [root@k8s-master01 helm]# ll
    total 24516
    -rw-r--r-- 1 root root 25097357 May 30 16:16 helm-v2.17.0-linux-amd64.tar.gz
    drwxr-xr-x 2 root root     4096 Oct 26  2020 linux-amd64
    [root@k8s-master01 helm]# cd linux-amd64/
    [root@k8s-master01 linux-amd64]# cp helm /usr/local/bin/
    [root@k8s-master01 linux-amd64]# chmod a+x /usr/local/bin/helm 
    [root@k8s-master01 linux-amd64]# 
    [root@k8s-master01 helm]# vim rbac.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: tiller
      namespace: kube-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1beta1
    kind: ClusterRoleBinding
    metadata:
      name: tiller
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: ClusterRole
      name: cluster-admin
    subjects:
      - kind: ServiceAccount
        name: tiller
        namespace: kube-system
    kubectl create -f rbac-config.yaml
    k8s集群中的部署
    helm init --service-account tiller --skip-refresh
  • 相关阅读:
    dom2级事件兼容性写法
    cookie js案例
    cookie讲解
    js高级总结
    鼠标拖拽时,选择文字问题
    正则的细节
    正则捕获的细节及replace分析
    正则的使用及replace细讲
    while循环的讲解
    acwing 189. 乳草的入侵 bfs
  • 原文地址:https://www.cnblogs.com/tian880820/p/14828260.html
Copyright © 2011-2022 走看看