add lable app
This commit is contained in:
parent
90297ec611
commit
e6d349f344
@ -2,13 +2,17 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: consul
|
name: consul
|
||||||
|
labels:
|
||||||
|
app: consul
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: consul
|
app: consul
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: consul
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: hashicorp/consul:1.20
|
- image: hashicorp/consul:1.20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user