Skip to content

Instantly share code, notes, and snippets.

@0xAhmed
Last active October 10, 2017 13:05
Show Gist options
  • Save 0xAhmed/c5179b2d57d54c6e9209c7dc399eb738 to your computer and use it in GitHub Desktop.
Save 0xAhmed/c5179b2d57d54c6e9209c7dc399eb738 to your computer and use it in GitHub Desktop.
Applying a k8s Deployment + Service for a Canary release
$ sed -i.bak "s#PROJECT_ID#$PROJECT_ID#" app-canary.yml
$ kubectl --namespace=production apply -f app-canary.yml
deployment "kubeapp-canary" created
service "kubeapp-canary-service" created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment