Last active
October 10, 2017 13:08
-
-
Save 0xAhmed/769dbf1f3c344bbb907aac1bd3d1da24 to your computer and use it in GitHub Desktop.
Applying a k8s Deployment + Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sed -i.bak "s#PROJECT_ID#$PROJECT_ID#" app-production.yml | |
$ kubectl --namespace=production apply -f app-production.yml | |
deployment "kubeapp-production" created | |
service "kubeapp-production-service" created | |
$ kubectl --namespace=production rollout status deployment/kubeapp-production | |
Waiting for rollout to finish: 0 of 3 updated replicas are available... | |
Waiting for rollout to finish: 2 of 3 updated replicas are available... | |
deployment "kubeapp-production" successfully rolled out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment