diff --git a/docs/tasks/access-application-cluster/frontend.yaml b/docs/tasks/access-application-cluster/frontend.yaml index 63631c0d05..9f5b6b757f 100644 --- a/docs/tasks/access-application-cluster/frontend.yaml +++ b/docs/tasks/access-application-cluster/frontend.yaml @@ -12,11 +12,16 @@ spec: targetPort: 80 type: LoadBalancer --- -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: frontend spec: + selector: + matchLabels: + app: hello + tier: frontend + track: stable replicas: 1 template: metadata: diff --git a/docs/tasks/access-application-cluster/hello.yaml b/docs/tasks/access-application-cluster/hello.yaml index 61e4ea4a17..85dff18ee1 100644 --- a/docs/tasks/access-application-cluster/hello.yaml +++ b/docs/tasks/access-application-cluster/hello.yaml @@ -1,8 +1,13 @@ -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: hello spec: + selector: + matchLabels: + app: hello + tier: backend + track: stable replicas: 7 template: metadata: