# capture current state in prod kubectl get deployment webrtc-be -o yaml --namespace webrtc-be > existing-production-deployment.yaml # capture current state in relese kubectl get deployment webrtc-be -o yaml > existing-staging-deployment.yaml KUBECONFIG=stg cd k8s/webrtc-be kubectl delete secret gcr-json-key -n webrtc-be kubectl delete service webrtc-be-service -n webrtc-be kubectl delete deployment webrtc-be -n webrtc-be kubectl delete HorizontalPodAutoscaler webrtc-be -n webrtc-be kubectl delete ingress webrtc-be -n webrtc-be helm upgrade --install webrtc-be . --values values-staging.yaml --namespace webrtc-be