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: 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: 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: 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: 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: