You are viewing documentation for a release that is no longer maintainedSee documentation for the latest supported version 3 or the latest supported version 4. 2.5.5.5. convert 将YAML或JSON配置文件转换为一个不同的API版本并打印到标准输出(stdout)。 示例:将pod.yaml转换到最新版本 $ oc convert -f pod.yaml 下一个