From 124d0d64df7069d52b59a1baf95e1086ef8259c5 Mon Sep 17 00:00:00 2001 From: Siva Surya Date: Sun, 11 Oct 2020 15:38:15 +0530 Subject: [PATCH 1/5] Update auth.yaml to fix no matches for kind "Deployment" in version "extensions/v1beta1" for deployments/auth.yaml --- kubernetes/deployments/auth.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kubernetes/deployments/auth.yaml b/kubernetes/deployments/auth.yaml index 0b83cec..364996c 100644 --- a/kubernetes/deployments/auth.yaml +++ b/kubernetes/deployments/auth.yaml @@ -1,9 +1,13 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: auth spec: replicas: 1 + selector: + matchLabels: + app: auth + track: stable template: metadata: labels: From 2f512ab2a9ad1b8d2962cb346114e19481f4d8e2 Mon Sep 17 00:00:00 2001 From: Siva Surya Date: Sun, 11 Oct 2020 15:39:14 +0530 Subject: [PATCH 2/5] Update frontend.yaml Fixes no matches for kind "Deployment" in version "extensions/v1beta1" in frontend.yaml --- kubernetes/deployments/frontend.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kubernetes/deployments/frontend.yaml b/kubernetes/deployments/frontend.yaml index c319306..916a549 100644 --- a/kubernetes/deployments/frontend.yaml +++ b/kubernetes/deployments/frontend.yaml @@ -1,9 +1,13 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: frontend spec: replicas: 1 + selector: + matchLabels: + app: frontend + track: stable template: metadata: labels: From 294b1114f4f0838b1b566abbec485d382f62dc47 Mon Sep 17 00:00:00 2001 From: Siva Surya Date: Sun, 11 Oct 2020 15:39:54 +0530 Subject: [PATCH 3/5] Update hello.yaml Fixes no matches for kind "Deployment" in version "extensions/v1beta1" in hello.yaml --- kubernetes/deployments/hello.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kubernetes/deployments/hello.yaml b/kubernetes/deployments/hello.yaml index e3315a1..590a051 100644 --- a/kubernetes/deployments/hello.yaml +++ b/kubernetes/deployments/hello.yaml @@ -1,9 +1,13 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: hello spec: replicas: 3 + selector: + matchLabels: + app: hello + track: stable template: metadata: labels: From 57c1dff75c64c6aab028fedbceb020f94c24a0c3 Mon Sep 17 00:00:00 2001 From: Siva Surya Date: Sun, 11 Oct 2020 15:40:56 +0530 Subject: [PATCH 4/5] Update hello-canary.yaml Updating apiVersion from v1beta1 to apps/v1 --- kubernetes/deployments/hello-canary.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kubernetes/deployments/hello-canary.yaml b/kubernetes/deployments/hello-canary.yaml index ef4190e..25a3659 100644 --- a/kubernetes/deployments/hello-canary.yaml +++ b/kubernetes/deployments/hello-canary.yaml @@ -1,9 +1,13 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: hello-canary spec: replicas: 1 + selector: + matchLabels: + app: hello + track: canary template: metadata: labels: From 5e417f692256f4df153ee0b2780403d5032f05aa Mon Sep 17 00:00:00 2001 From: Siva Surya Date: Sun, 11 Oct 2020 15:42:04 +0530 Subject: [PATCH 5/5] Update hello-green.yaml Updated apiVersion from extensions/v1beta1 to apps/v1 --- kubernetes/deployments/hello-green.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kubernetes/deployments/hello-green.yaml b/kubernetes/deployments/hello-green.yaml index 8c47471..d25f1da 100644 --- a/kubernetes/deployments/hello-green.yaml +++ b/kubernetes/deployments/hello-green.yaml @@ -1,9 +1,13 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: hello-green spec: replicas: 3 + selector: + matchLabels: + app: hello + track: stable template: metadata: labels: