From bd53d8413777d78994b4fa437024e23ffadd8826 Mon Sep 17 00:00:00 2001 From: Yuvraj Date: Wed, 20 Oct 2021 11:15:51 +0530 Subject: [PATCH] Added minio port in sandbox (#203) * Added minio port in the sandbox Signed-off-by: Yuvraj --- flytectl/pkg/docker/docker_util.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flytectl/pkg/docker/docker_util.go b/flytectl/pkg/docker/docker_util.go index 1d3baabed5..05c0d82474 100644 --- a/flytectl/pkg/docker/docker_util.go +++ b/flytectl/pkg/docker/docker_util.go @@ -78,10 +78,11 @@ func RemoveSandbox(ctx context.Context, cli Docker, reader io.Reader) error { // GetSandboxPorts will return sandbox ports func GetSandboxPorts() (map[nat.Port]struct{}, map[nat.Port][]nat.PortBinding, error) { return nat.ParsePortSpecs([]string{ - "0.0.0.0:30086:30086", - "0.0.0.0:30081:30081", - "0.0.0.0:30082:30082", - "0.0.0.0:30084:30084", + "0.0.0.0:30081:30081", // Flyteconsole Port + "0.0.0.0:30082:30082", // Flyteadmin Port + "0.0.0.0:30084:30084", // Minio API Port + "0.0.0.0:30086:30086", // K8s Dashboard Port + "0.0.0.0:30087:30087", // Minio Console Port }) }