当前位置:网站首页>使用 kubeconfig 文件组织集群访问
使用 kubeconfig 文件组织集群访问
2022-06-24 06:47:00 【隔壁老瓦】
使用 kubeconfig 文件来组织有关集群、用户、命名空间和身份认证机制的信息。 kubectl 命令行工具使用 kubeconfig 文件来查找选择集群所需的信息,并与集群的 API 服务器进行通信。
说明: 用于配置集群访问的文件称为“kubeconfig 文件”。 这是引用配置文件的通用方法,并不意味着有一个名为 kubeconfig 的文件
警告: 只使用来源可靠的 kubeconfig 文件。使用特制的 kubeconfig 文件可能会导致恶意代码执行或文件暴露。 如果必须使用不受信任的 kubeconfig 文件,请首先像检查 shell 脚本一样仔细检查它。
默认情况下,kubectl 在 $HOME/.kube 目录下查找名为 config 的文件。 你可以通过设置 KUBECONFIG 环境变量或者设置 --kubeconfig参数来指定其他 kubeconfig 文件。
有关创建和指定 kubeconfig 文件的分步说明,请参阅 配置对多集群的访问。
支持多集群、用户和身份认证机制
假设你有多个集群,并且你的用户和组件以多种方式进行身份认证。比如:
- 正在运行的 kubelet
边栏推荐
- C escape character
- . No main manifest attribute in jar
- 10. Tencent cloud IOT device side learning - firmware upgrade
- 《canvas》之第4章 线条操作
- 运行npm run eject报错解决方法
- 图形技术之坐标转换
- Global and Chinese markets for food puffers 2022-2028: Research Report on technology, participants, trends, market size and share
- Unity Culling 相关技术
- duilib 显示内存图片
- 免费ICP域名备案查接口
猜你喜欢

Camera calibration (calibration purpose and principle)

What kind of experience is it when the Institute earns 20000 yuan a month!
![Selector (>, ~, +, [])](/img/7e/2becfcf7a7b2e743772deee5916caf.png)
Selector (>, ~, +, [])
![(cve-2020-11978) command injection vulnerability recurrence in airflow DAG [vulhub range]](/img/33/d601a6f92b1b73798dceb027263223.png)
(cve-2020-11978) command injection vulnerability recurrence in airflow DAG [vulhub range]

uniapp uni-app H5 端如何取消 返回按钮的显示 autoBackButton不生效

关于h5页面苹果手机使用fixed定位tabbar最底部时遮挡内容问题

Étalonnage de la caméra (objectif et principe d'étalonnage)

The two most frequently asked locks in the interview

保留一位小数和保留两位小数

火线,零线,地线,你知道这三根线的作用是什么吗?
随机推荐
语料库数据处理个案实例(读取多个文本文件、读取一个文件夹下面指定的多个文件、解码错误、读取多个子文件夹文本、多个文件批量改名)
线程注意事项
Unity 的序列化
Q & A on cloud development cloudbase hot issues of "Huage youyue phase I"
Deploy L2TP in VPN (medium)
Global and Chinese market of Earl Grey tea 2022-2028: Research Report on technology, participants, trends, market size and share
js实现查看一个数组对象中是否包含另一个数组对象中的值
行内元素、块元素、行内块元素
Overview of C program operation mechanism
Hubei College Upgraded to undergraduate - Hushi family planning department
Maxcompute remote connection, uploading and downloading data files
UE常用控制臺命令
. No main manifest attribute in jar
[frame rate doubling] development and implementation of FPGA based video frame rate doubling system Verilog
How to realize high stability and high concurrency of live video streaming transmission and viewing?
免费ICP域名备案查接口
New ways to play web security [6] preventing repeated use of graphic verification codes
Common coding and encryption in penetration testing
《canvas》之第4章 线条操作
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its