mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 19:39:43 +00:00
Use app instead of name
This commit is contained in:
parent
75ec67e258
commit
59181515fd
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
name: echoserver
|
app: echoserver
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: k8s.gcr.io/echoserver:1.4
|
- image: k8s.gcr.io/echoserver:1.4
|
||||||
|
|
@ -21,7 +21,7 @@ metadata:
|
||||||
name: echoserver
|
name: echoserver
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
name: echoserver
|
app: echoserver
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue