Published Question
Currently, the only way to access Kubernetes is by downloading the config file on the dashboard: https://cloud.digitalocean.com/kubernetes/clusters/mycluster , and adding it into ~/.kube/config . By default, this co...
Accepted Answer:
For anyone else who's interested. This API is undocumented, but if you have an api token with read access, this will get you the current valid kubeconfig.
curl --request GET \
--url https://api.digitalocean.com/v2/...
3
•
•
By
sdrinf
Kubernetes