When running the CLI you get an error an invalid configuration error¶
When running any CLI command you get:
FATA invalid configuration: no configuration has been provided
Your machine is not connected to the Kubernetes cluster. Make sure that you have a
~/.kube directory that contains a configuration file pointing to the Kubernetes cluster.
When running the CLI you get an error: open .../.kube/config.lock: permission denied¶
When running any CLI command you get a permission denied error.
The user running the CLI does not have read permissions to the
When running 'runai logs', the logs are delayed¶
By default, Python buffers stdout and stderr, which is not flushed in real-time. This may cause logs to appear sometimes minutes after being buffered.
Set the env var PYTHONUNBUFFERED to any non-empty string or pass -u to Python. e.g.
python -u main.py.
Runai list jobs command works but runai submit does not¶
Helm utility is not installed. See Run:AI CLI Installation documentation.