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.>
Syntax for downloading yaml's from kubernetes
kubectl get [resource type] -n [namespace] [resource Name] -o yaml > [New file name]
Create yaml file from running pod:
kubectl get po -n nginx nginx-deployment-755cfc7dcf-5s7j8 -o yaml > podDetail.yamlCreate replicaset yaml file from running pod:
kubectl get rs -n nginx -o yaml > latestReplicaSet.yamlCreate deployement yaml file from running pod:
kubectl get deploy -n nginx -o yaml > latestDeployement.yaml