Chandrashekhar Kotekar
06/20/2023, 10:42 AMdemo
cluster in my local / system / laptop / machine but it is failing with below error:
{"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
I am on a Mac machine and I have a Docker Desktop which allows me to have locak Kubernetes to play with. As per this documentation of Kubernetes, 6443
port is used by Kubernetes API server
. May I please know if and how I can change the port number for this flyte-sandbox?flytectl sandbox start
command worked (kind of).
It gives this nice shiny message:
+------------------------------------------+---------------+-----------+
| SERVICE | STATUS | NAMESPACE |
+------------------------------------------+---------------+-----------+
| flyte-deps-contour-contour-certgen-s9mtr | Running | flyte |
+------------------------------------------+---------------+-----------+
👨💻 Flyte is ready! Flyte UI is available at <http://localhost:30081/console> 🚀 🚀 🎉
❇️ Run the following command to export sandbox environment variables for accessing flytectl
but flyte console not available on <http://localhost:30081/console>
kubernetes get pods
command shows that flyteconsole-7d567c4764-x5p2k
and some other pods are in ContainerCreating
statusDavid Espejo (he/him)
06/20/2023, 12:00 PMflytectl demo start
as this is the preferred option going forward.
It's complaining that port 6443 is already in use, could you check what process is using it?
sudo lsof -i:6443
Chandrashekhar Kotekar
06/20/2023, 12:09 PMcom.docke 14161 chandrashekhar.kotekar 119u IPv4 0x1ce358db20b5b759 0t0 TCP localhost:sun-sr-https (LISTEN)
David Espejo (he/him)
06/20/2023, 12:17 PMdocker ps
Chandrashekhar Kotekar
06/20/2023, 12:29 PMdocker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dceb5005346a 68cb0c05b3f2 "/bin/node_exporter …" 2 minutes ago Created k8s_node-exporter_prometheus-prometheus-node-exporter-nwzpc_default_4e73572d-f75f-4a05-bafb-07c93a9586c8_23
f2d0b0ed13b4 4d8d4d8334be "/bin/alertmanager -…" 2 hours ago Up 2 hours k8s_alertmanager_prometheus-alertmanager-0_default_8c71d9ff-8490-428a-b059-b0792885faf6_1
jeev
Chandrashekhar Kotekar
06/20/2023, 12:42 PMflytectl sandbox start
command has worked for me. So all goodFidhal Kotta
08/02/2023, 9:37 AMjeev
Istiyak H. Siddiquee
08/16/2023, 7:58 AMChandrashekhar Kotekar
08/31/2023, 9:51 AMjeev
Chandrashekhar Kotekar
09/01/2023, 9:22 AM