Created
June 12, 2016 14:46
-
-
Save ryane/391de65e7c28f958b2f98ad9bd444513 to your computer and use it in GitHub Desktop.
Diff between the v1 and v2 k8s-deployment-demo replication controller manifests
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
diff --git a/demo-rc-v0.1.yml b/demo-rc-v0.2.yml | |
index 985c09f..f464cdf 100644 | |
--- a/demo-rc-v0.1.yml | |
+++ b/demo-rc-v0.2.yml | |
@@ -2,25 +2,25 @@ | |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
- name: k8s-deployment-demo-controller-v1 | |
+ name: k8s-deployment-demo-controller-v2 | |
spec: | |
replicas: 4 | |
selector: | |
app: k8s-deployment-demo | |
- version: v0.1 | |
+ version: v0.2 | |
template: | |
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