Join Slack
Powered by
This message was deleted.
# rancher-desktop
a
adamant-kite-43734
07/16/2024, 11:40 AM
This message was deleted.
f
fast-garage-66093
07/16/2024, 5:12 PM
The code expects to run inside the cluster and get the configuration from the pod. If you want to run locally, you need to provide the kube config settings to your app.
fast-garage-66093
07/16/2024, 5:18 PM
See
https://github.com/kubernetes-client/python/blob/7a278c794a101989cc19fe8eef1e9799235d9805/kubernetes/base/config/incluster_config.py#L64-L66
fast-garage-66093
07/16/2024, 5:18 PM
The error comes from the in-cluster provisioner. You cannot use
load_incluster_config
when you are running outside the cluster
15
Views
Open in Slack
Previous
Next