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:
parent
c78e7500a1
commit
ca19c02caf
@ -1,9 +1,16 @@
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: ReplicaSet
|
kind: ReplicaSet
|
||||||
metadata:
|
metadata:
|
||||||
name: kuard
|
name: kuard
|
||||||
|
labels:
|
||||||
|
app: kuard
|
||||||
|
version: "2"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: kuard
|
||||||
|
version: "2"
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user