Get YAML for deployed Kubernetes services?

前端 未结 12 1558
离开以前
离开以前 2020-12-22 23:28

I am trying to deploy my app to Kubernetes running in Google Container Engine.

The app can be found at: https://github.com/Industrial/docker-znc.

12条回答
  •  借酒劲吻你
    2020-12-22 23:53

    Is only minor difference from @Janos Lenart's answer!

    kubectl get deploy deploymentname -o yaml > outputFile.yaml will do

提交回复
热议问题