From af9caa00356c7c7dc76f5b6437a64b1e1b77e349 Mon Sep 17 00:00:00 2001 From: Xiaodong Zhang Date: Sat, 10 Feb 2018 05:49:52 +0800 Subject: [PATCH] Bump up deployment version in tasks/debug-application-cluster folder (#7322) --- .../debug-application-cluster/event-exporter-deploy.yaml | 5 ++++- docs/tasks/debug-application-cluster/nginx-dep.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/tasks/debug-application-cluster/event-exporter-deploy.yaml b/docs/tasks/debug-application-cluster/event-exporter-deploy.yaml index fc8c5e8eeb..a96825e89e 100644 --- a/docs/tasks/debug-application-cluster/event-exporter-deploy.yaml +++ b/docs/tasks/debug-application-cluster/event-exporter-deploy.yaml @@ -21,7 +21,7 @@ subjects: name: event-exporter-sa namespace: default --- -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: event-exporter-v0.1.0 @@ -29,6 +29,9 @@ metadata: labels: app: event-exporter spec: + selector: + matchLabels: + app: event-exporter replicas: 1 template: metadata: diff --git a/docs/tasks/debug-application-cluster/nginx-dep.yaml b/docs/tasks/debug-application-cluster/nginx-dep.yaml index 9051645fbb..dd9d002a60 100644 --- a/docs/tasks/debug-application-cluster/nginx-dep.yaml +++ b/docs/tasks/debug-application-cluster/nginx-dep.yaml @@ -1,8 +1,11 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: + selector: + matchLabels: + app: nginx replicas: 2 template: metadata: