Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ryane/b9de03bcf8f4912c557a1fe9bf739b76 to your computer and use it in GitHub Desktop.
Save ryane/b9de03bcf8f4912c557a1fe9bf739b76 to your computer and use it in GitHub Desktop.
Diff between the v1 and v2 k8s-deployment-demo deployment manifests
diff --git a/demo-deployment-v1.yml b/demo-deployment-v2.yml
index 2823271..13f58d3 100644
--- a/demo-deployment-v1.yml
+++ b/demo-deployment-v2.yml
@@ -12,15 +12,15 @@ spec:
metadata:
labels:
app: k8s-deployment-demo
- version: v0.1
+ version: v0.2
spec:
containers:
- name: k8s-deployment-demo
- image: ryane/k8s-deployment-demo:0.1
+ image: ryane/k8s-deployment-demo:0.2
imagePullPolicy: Always
ports:
- containerPort: 8081
protocol: TCP
env:
- name: DEMO_ENV
- value: staging
+ value: production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment