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.
This commit is contained in:
mikeboensel 2021-02-12 17:53:28 -05:00 committed by GitHub
parent c78e7500a1
commit ca19c02caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: