ancient-wolf-19325
06/24/2024, 6:30 AMINFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags.
š§āš Bootstrapping a brand new Flyte cluster... šØ š§
Error: Malformed version: flytectl/v0.8.24
{"json":{},"level":"error","msg":"Malformed version: flytectl/v0.8.24","ts":"2024-06-24T14:19:17+08:00"}
I already run export FLYTECTL_CONFIG=~/.flyte/config-sandbox.yaml
and this is content in config-sandbox
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: localhost:30080
insecure: true
# This is not a needed configuration, only useful if you want to explore the data in sandbox. For non sandbox, please
# do not use this configuration, instead prefer to use aws, gcs, azure sessions. Flytekit, should use fsspec to
# auto select the right backend to pull data as long as the sessions are configured. For Sandbox, this is special, as
# minio is s3 compatible and we ship with minio in sandbox.
storage:
connection:
endpoint: <http://localhost:30002>
access-key: minio
secret-key: miniostorage
~
Sorry for bothering, Iām a flyte beginner, thx
# Answer
The error message "Malformed version: flytectl/v0.8.24" suggests an issue with the version format of flytectl. This could be due to an incorrect or corrupted installation. Let's address this step-by-step:
1. Verify Flytectl Installation:
Ensure you have the correct version of flytectl installed. You can check the version by running:
flytectl version
2. Reinstall Flytectl:
If the version is incorrect or the installation is corrupted, you might need to reinstall flytectl. Follow the installation instructions from the official Flyte documentation.
3. Check Configuration File:
Ensure your config-sandbox.yaml is correctly formatted and contains all necessary configurations. Your provided configuration looks mostly correct, but ensure there are no formatting issues or missing fields. Here is a minimal example:
admin:
endpoint: localhost:30080
insecure: true
storage:
connection:
endpoint: http://localhost:30002
access-key: minio
secret-key: miniostorage
4. Set Environment Variable:
Ensure the environment variable FLYTECTL_CONFIG is set correctly:
export FLYTECTL_CONFIG=~/.flyte/config-sandbox.yaml
5. Start Flyte Demo:
Try starting the Flyte demo again:
flytectl demo start
If the issue persists, please provide the output of flytectl version and any additional error messages.
Would you like more detailed steps or troubleshooting tips?
Sources:
- Flytectl Installationancient-wolf-19325
06/24/2024, 6:30 AM>>- Flyte Configuration- Flytectl Demo Issues Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1719210604.950289 š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.