kubernetes-vagrant-coreos-cluster icon indicating copy to clipboard operation
kubernetes-vagrant-coreos-cluster copied to clipboard

coredns-deployment.yaml is empty and installation fails

Open besn0847 opened this issue 7 years ago • 2 comments

Hi, Great job to put this all together. I have an issue though.

Once the master is up & running, the K8s install start but one file is empty (it exists though : /home/core/coredns-deployment.yaml). This leads to an error : "error: no objects passed to create"

I run on Windows 10.

Thx

besn0847 avatar Jul 08 '18 05:07 besn0847

Fixed manually by running :

./plugins/dns/coredns/deploy.sh 10.100.0.10/24 "cluster.local" ./plugins/dns/coredns/coredns.yaml.sed > ./temp/coredns-deployment.yaml

Issue probably came from first Vagrant run which failed.

besn0847 avatar Jul 08 '18 05:07 besn0847

K8s up and running after copying this file to /home/coreos on master. Closing.

besn0847 avatar Jul 08 '18 05:07 besn0847