Skip to content

Commit 6f46ead

Browse files
committed
Fix podinfo example deployment spec
- Required a label selector
1 parent 35d1a88 commit 6f46ead

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

deploy/kubernetes/podinfo-dep.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: podinfo
66
spec:
77
replicas: 1
8+
selector:
9+
matchLabels:
10+
app: podinfo
811
template:
912
metadata:
1013
labels:

examples/podinfo-dep.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: podinfo
66
spec:
77
replicas: 1
8+
selector:
9+
matchLabels:
10+
app: podinfo
811
template:
912
metadata:
1013
labels:

0 commit comments

Comments
 (0)