Git Product home page Git Product logo

scripts's Introduction

== csr说明 kubeconfig.csr.json O: "system:masters", 这对应clusterrolebinding cluster-admin 因此是超管权限 kube-proxy.csr.json CN: "system:kube-proxy", 这对应clusterrolebinding system:node-proxier

kubelet.csr.json CN:"system:node:" O: "system:nodes"

nodeName的值必须与kubelet注册到apiserver的名称精确匹配,默认情况下,这是 hostname 提供的主机名, 或者通过 kubelet 选项 --hostname-override 覆盖。但是,在使用 --cloud-provider kubelet 选项时, 具体的主机名可能由云提供商确定,忽略本地主机名和 --hostname-override 选项。

这实际上使用的不是RBAC了,其对应authorization-mode=Node,使用的是Node鉴权

k8s 1.8(含)版本后,不再推荐使用clusterbinding处理node鉴权,参考 https://blog.frognew.com/2021/05/k8s-apiserver-authorization-mode-node.html https://kubernetes.io/docs/reference/access-authn-authz/rbac/#core-component-roles https://kubernetes.io/docs/reference/access-authn-authz/node/

kube-controller-manager.csr.json CN = system:kube-controller-manager 这对应clusterrolebinding system:kube-controller-manager kube-scheduler.csr.json CN: system:kube-scheduler 这对应clusterrolebinding system:kube-scheduler

docker切换containerd运行时,如果是先装的docker,删除/etc/containerd/config.toml中的disabled_plugins = ["cri"]

scripts's People

Contributors

libinglong avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.