From ca19c02caf4a461d1e91eb87ff32c05da71c7b94 Mon Sep 17 00:00:00 2001 From: mikeboensel Date: Fri, 12 Feb 2021 17:53:28 -0500 Subject: [PATCH] Update 8-1-kuard-rs.yaml Manifest seems to have become out dated. When applying it failed with " no matches for kind "ReplicaSet" in version "extensions/v1beta1"". Newer definitions call for a "selector" section. Not sure if it exactly matches the author's intent, but it works, so seems like an improvement. --- 8-1-kuard-rs.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/8-1-kuard-rs.yaml b/8-1-kuard-rs.yaml index 439b9f6..75ea392 100644 --- a/8-1-kuard-rs.yaml +++ b/8-1-kuard-rs.yaml @@ -1,9 +1,16 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: ReplicaSet metadata: name: kuard + labels: + app: kuard + version: "2" spec: replicas: 1 + selector: + matchLabels: + app: kuard + version: "2" template: metadata: labels: