This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.3. OpenShift Container Platform 客户端命令
				OpenShift Container Platform oc 客户端是一个用于管理 OpenShift Container Platform 资源的命令行实用程序,包括 VirtualMachine(vm)和 VirtualMachineInstance(vmi)对象类型。
			
					您可以使用 -n <namespace> 指定一个不同的项目。
				
| 命令 | 描述 | 
|---|---|
|   
								  |   
								以   | 
|   
								  |   显示当前项目中指定对象类型的对象列表。  | 
|   
								  |   显示当前项目中指定资源的详情。  | 
|   
								  |   从文件名称或 stdin 在当前项目中创建资源。  | 
|   
								  |   编辑当前项目中的资源。  | 
|   
								  |   删除当前项目中的资源。  | 
				有关 oc 客户端命令的更全面信息,请参阅 OpenShift Container Platform CLI 工具文档。