gpt4 book ai didi

kubernetes - 如何获取OpenShift/K8s资源的架构,例如如何获取部署配置或Pod的架构定义

转载 作者:行者123 更新时间:2023-12-02 11:43:13 25 4
gpt4 key购买 nike

当我为OpenShift / K8创建资源时,我可能不在覆盖范围内。我想让架构定义离线。

我如何从命令行获取一种架构。例如,我想获得一个用于Deployment,DeploymentConfig,Pod或Secret的通用模式。
有没有一种方法可以不使用Google而获得架构?理想情况下,如果我可以得到一些文档说明。

最佳答案

根据OP的回应说,@ Graham Dumpleton发表评论作为社区Wiki答复,说这解决了他/她的问题:

Have you tried running oc explain --recursive Deployment? You still need to be connected when you generate it, so you would need to save it to a file for later reference. Maybe also get down and read the free eBook at openshift.com/deploying-to-openshift which mentions this command and lots of other stuff as well. – Graham Dumpleton

关于kubernetes - 如何获取OpenShift/K8s资源的架构,例如如何获取部署配置或Pod的架构定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58423928/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com