mirror of https://github.com/docker/cli.git
add endpoint mode in service pretty
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
268c22d77b
commit
1c60ac11d6
|
@ -115,7 +115,7 @@ ID: c8wgl7q4ndfd52ni6qftkvnnp
|
||||||
Name: frontend
|
Name: frontend
|
||||||
Labels:
|
Labels:
|
||||||
- org.example.projectname=demo-app
|
- org.example.projectname=demo-app
|
||||||
Mode: REPLICATED
|
Service Mode: REPLICATED
|
||||||
Replicas: 5
|
Replicas: 5
|
||||||
Placement:
|
Placement:
|
||||||
UpdateConfig:
|
UpdateConfig:
|
||||||
|
@ -123,6 +123,7 @@ UpdateConfig:
|
||||||
ContainerSpec:
|
ContainerSpec:
|
||||||
Image: nginx:alpine
|
Image: nginx:alpine
|
||||||
Resources:
|
Resources:
|
||||||
|
Endpoint Mode: vip
|
||||||
Ports:
|
Ports:
|
||||||
Name =
|
Name =
|
||||||
Protocol = tcp
|
Protocol = tcp
|
||||||
|
|
Loading…
Reference in New Issue