当前位置:网站首页>Using kubeconfig files to organize cluster access
Using kubeconfig files to organize cluster access
2022-06-24 07:50:00 【Old tile next door】
Use kubeconfig File to organize information about the cluster 、 user 、 Namespace and identity authentication mechanism . kubectl Command line tools use kubeconfig File to find the information needed to select the cluster , And with the cluster API The server communicates .
explain : The file used to configure cluster access is called “kubeconfig file ”. This is a common way to reference configuration files , It does not mean that there is a name kubeconfig The file of
Warning : Use only those from reliable sources kubeconfig file . Use special kubeconfig Files can cause malicious code execution or file exposure . If you must use untrusted kubeconfig file , Please check first shell Scrutinize it like a script .
By default ,kubectl stay $HOME/.kube Find the name of config The file of . You can set up KUBECONFIG Environment variables or settings --kubeconfig Parameter to specify other kubeconfig file .
About creating and specifying kubeconfig Step by step instructions for documents , see also Configure access to multiple clusters .
Support multiple clusters 、 User and identity authentication mechanism
Suppose you have multiple clusters , And your users and components are authenticated in many ways . such as :
- Running kubelet
边栏推荐
- 10. Tencent cloud IOT device side learning - firmware upgrade
- Thread support
- 希尔伯特-黄变换
- BOM notes
- How to realize multi protocol video capture and output in video surveillance system?
- 解决 These dependencies were not found: * core-js/modules/es6.array.fill in xxx 之类的问题
- L1-019 谁先倒 (15 分)
- 『C语言』系统日期&时间
- Hongmeng development IV
- 第 2 篇:繪制一個窗口
猜你喜欢
随机推荐
Tidb operator source code reading (IV) control cycle of components
希尔伯特-黄变换
Extend ado Net to realize object-oriented CRUD (.Net core/framework)
《canvas》之第2章 直线图形
Super fast reading in OI
C# Lambda
Thread considerations
1-4metasploitable2介绍
解决 These dependencies were not found: * core-js/modules/es6.array.fill in xxx 之类的问题
Detailed explanation of PHP data serialization test example
10. Tencent cloud IOT device side learning - firmware upgrade
First acquaintance with JUC - day01
第 2 篇:绘制一个窗口
Teach you how to use the reflect package to parse the structure of go - step 2: structure member traversal
线程的阻塞问题
『C语言』系统日期&时间
力扣(LeetCode)174. 地下城游戏(2022.06.23)
Domain environment importing Tencent cloud considerations
Experience of Shenzhou computer
Any remarks









