Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

kubernetes configuration file "/home/vagrant/.kube/config" does not exist #13

Closed
JimmyCYJ opened this issue Apr 3, 2018 · 1 comment

Comments

@JimmyCYJ
Copy link

JimmyCYJ commented Apr 3, 2018

I try to build istio in a kubernetes cluster with vagrant.
$sudo vagrant ssh
$git clone 'https://github.com/istio/istio.git'
$cd istio
$make
And it returns this error message.
"kubernetes configuration file "/home/vagrant/.kube/config" does not exist"

I search around and find that there is a way to generate kube config.
kubernetes-sigs/kubespray#257
https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/

I am not clear how to use kubectl config to generate the config file in this case, what parameter should I pass to this command.

@JimmyCYJ
Copy link
Author

JimmyCYJ commented Apr 5, 2018

That file is /etc/kubeconfig.yml.

@JimmyCYJ JimmyCYJ closed this as completed Apr 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant