acoustic-carpenter-78188
06/20/2023, 12:53 PMflytectl demo start command fails with below error when a developer has Docker Desktop which allows us to have a Kubernetes local cluster. Kubernetes API server runs on port 6443. So we have to either turn off local Kubernetes cluster (not a good option) or allow demo cluster to use some other port.
{"status":"Status: Downloaded newer image for <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-1ae254f8683699b68ecddc89d775fc5d39cc3d84%22|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-1ae254f8683699b68ecddc89d775fc5d39cc3d84">}
š§āš booting Flyte-sandbox container
š¬ Something went wrong: Failed to start Sandbox container š, Please check your docker client and try again.
Error: Error response from daemon: driver failed programming external connectivity on endpoint flyte-sandbox (5eaf6609c86e6d818291e2f060e42f8002dfd4e288393da6e01109cfa5a60bd7): listen tcp4 0.0.0.0:6443: bind: address already in use
Requested feature:
Allow demo cluster to use other port preferrably via config file (config.yaml or config-sandbox.yaml or some other file) so that if a developer has some other container / process using the same port, they can change it and quickly get the demo cluster up and running.
Environment details:
⢠Docker Desktop with Kubernetes enabled
⢠Mac with M1 chip
⢠Discussion about this issue on slack is here
flytectl version
{
"App": "flytectl",
"Build": "0cb2bfa",
"Version": "0.6.39",
"BuildTime": "2023-06-20 14:45:22.664715 +0200 CEST m=+0.016518584"
}
flyteorg/flyte