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: