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.>
Use this command to get yaml format of your service
kubectl get service servicename -n -o yaml
You can put it in some file also
kubectl get service servicename -n -o yaml > service.yaml