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.2.5.3.9. get
显示一个或多个资源。
示例:列出 default
命名空间中的 pod
oc get pods -n default
$ oc get pods -n default
示例:获取 JSON 格式的 python
部署详情
oc get deploymentconfig/python -o json
$ oc get deploymentconfig/python -o json