Open yyds-xtt opened 3 days ago
Usually, the config file for K8s can be found at ~/.kube/config that is configured while setting up the cluster where the method config.load_kube_config
by default looks for. Alternatives to this can be -
KUBECONFIG
with your file path e.g. export KUBECONFIG=/path/to/your/kubeconfig
, OR, config.load_kube_config('/path/to/your/kubeconfig')
How do we build our own Kubernetes cluster? Isn't this very troublesome? Are there any ready-made environments for us to use?
I hope to design more efficient reinforcement learning algorithms, however, I have spent a lot of time on environment configuration. Can you recommend some convenient environments?
The framework that you are accessing in this project requires OpenFaaS for serverless functions that execute over K8s. Thus, you need to -
However, if you only intend to develop Reinforcement Learning (RL) algorithms irrespective of the practical setup, you may not need to deploy the cluster and take the RL algorithms as a reference and work in any other Gymnasium
compatible environment.
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. No configuration found. 我在运行这个代码的时候碰到了这个错误,没有Kubernetes 的config配置文件。怎么解决呢?