Get YAML for deployed Kubernetes services?

前端 未结 12 1555
离开以前
离开以前 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条回答
  •  萌比男神i
    2020-12-22 23:48

    kubectl -n  get   -o yaml 
    

    With the command above, any resource defined in Kubernetes can be exported in YAML format.

提交回复
热议问题