Skip to content

Commit

Permalink
Added minio port in sandbox (#203)
Browse files Browse the repository at this point in the history
* Added minio port in the sandbox

Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Oct 20, 2021
1 parent a2f437f commit 31ad383
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions flytectl/pkg/docker/docker_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}

Expand Down

0 comments on commit 31ad383

Please sign in to comment.