Create two svc if loadbalancer and use udp/tcp the same time

This commit is contained in:
Hang Yan
2020-11-03 13:09:25 +08:00
committed by GitHub
parent 2dc6037cce
commit c0f485b4e1
7 changed files with 167 additions and 19 deletions
+2
View File
@@ -18,6 +18,8 @@ services:
redis:
image: redis:3.0
labels:
kompose.service.type: loadbalancer
ports:
- "6379/tcp"
- "1234:1235/udp"