From 6ef1fdd6767203e29155754cca90bfcef92fc9b3 Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Fri, 27 Sep 2019 22:00:57 +0200 Subject: [PATCH] deploy v1 api --- deployment/helloworld-healthcheck.yml | 5 ++++- deployment/helloworld-liveness-readiness.yml | 5 ++++- deployment/helloworld-nodeselector.yml | 5 ++++- deployment/helloworld-secrets-volumes.yml | 5 ++++- deployment/helloworld.yml | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/deployment/helloworld-healthcheck.yml b/deployment/helloworld-healthcheck.yml index 0f1a0a5..3770c0a 100644 --- a/deployment/helloworld-healthcheck.yml +++ b/deployment/helloworld-healthcheck.yml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-deployment spec: replicas: 3 + selector: + matchLabels: + app: helloworld template: metadata: labels: diff --git a/deployment/helloworld-liveness-readiness.yml b/deployment/helloworld-liveness-readiness.yml index f2870ee..27d21ac 100644 --- a/deployment/helloworld-liveness-readiness.yml +++ b/deployment/helloworld-liveness-readiness.yml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-readiness spec: replicas: 3 + selector: + matchLabels: + app: helloworld template: metadata: labels: diff --git a/deployment/helloworld-nodeselector.yml b/deployment/helloworld-nodeselector.yml index 242b18e..00160ea 100644 --- a/deployment/helloworld-nodeselector.yml +++ b/deployment/helloworld-nodeselector.yml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-deployment spec: replicas: 3 + selector: + matchLabels: + app: helloworld template: metadata: labels: diff --git a/deployment/helloworld-secrets-volumes.yml b/deployment/helloworld-secrets-volumes.yml index d0909a3..a82949a 100644 --- a/deployment/helloworld-secrets-volumes.yml +++ b/deployment/helloworld-secrets-volumes.yml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-deployment spec: replicas: 3 + selector: + matchLabels: + app: helloworld template: metadata: labels: diff --git a/deployment/helloworld.yml b/deployment/helloworld.yml index 88d8da7..d786c24 100644 --- a/deployment/helloworld.yml +++ b/deployment/helloworld.yml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: helloworld-deployment spec: replicas: 3 + selector: + matchLabels: + app: helloworld template: metadata: labels: