Skip to navigation
Skip to content
Featured links
支持
控制台(Console)
开发人员
开始试用
所有红帽
对于客户
客户支持
订阅管理
支持问题单
红帽生态系统目录
查找合作伙伴
对于合作伙伴
合作伙伴门户
合作伙伴支持
成为一个合作伙伴
尝试、购买和销售
红帽商店
联系销售人员
开始试用
Learning resources
培训和认证
混合云学习中心
互动实验室
学习社区
Red Hat TV
架构中心
开源社区
全球倡导
我们贡献的方式
AI
学习
文档
资源
红帽全球峰会
支持
控制台(Console)
开发人员
开始试用
联系人
选择语言
English
Français
한국어
日本語
中文 (中国)
Deutsch
Italiano
Português
Español
主页
产品
OpenShift Container Platform
4.12
CLI tools
Chapter 2. OpenShift CLI (oc)
Open
内容目录
Open page settings
OpenShift Container Platform
版本
4.22
4.21
4.20
4.19
4.18
4.17
4.16
4.15
4.14
4.13
4.12
4.11
4.10
4.9
4.8
4.7
4.6
4.5
4.4
4.3
4.2
4.1
3.11
3.10
3.9
3.7
3.6
3.5
3.4
3.3
3.2
3.1
3.0
2
此文档可能并没有为所有版本提供.
查看所有版本的产品页
格式
多页
单页
查看完整的 PDF 文档
2.1. Getting started with the OpenShift CLI
2.1.1. About the OpenShift CLI
2.1.2. Installing the OpenShift CLI
2.1.3. Logging in to the OpenShift CLI
2.1.4. Using the OpenShift CLI
2.1.5. Getting help
2.1.6. Logging out of the OpenShift CLI
2.2. Configuring the OpenShift CLI
2.2.1. Enabling tab completion
2.3. Usage of oc and kubectl commands
2.3.1. The oc binary
2.3.2. The kubectl binary
2.4. Managing CLI profiles
2.4.1. About switches between CLI profiles
2.4.2. Manual configuration of CLI profiles
2.4.3. Load and merge rules
2.5. Extending the OpenShift CLI with plugins
2.5.1. Writing CLI plugins
2.5.2. Installing and using CLI plugins
2.6. Managing CLI plugins with Krew
2.6.1. Installing a CLI plugin with Krew
2.6.2. Updating a CLI plugin with Krew
2.6.3. Uninstalling a CLI plugin with Krew
2.6.4. Additional resources
2.7. OpenShift CLI developer command reference
2.7.1. OpenShift CLI (oc) developer commands
2.7.2. Additional resources
2.8. OpenShift CLI administrator command reference
2.8.1. OpenShift CLI (oc) administrator commands
2.8.2. Additional resources