coreos / coreos-kubernetes

CoreOS Container Linux+Kubernetes documentation & Vagrant installers
https://coreos.com/kubernetes/docs/latest/
Apache License 2.0
1.1k stars 466 forks source link

change calico.yaml path from /etc to /srv #804

Closed nimbusscale closed 7 years ago

nimbusscale commented 7 years ago

single-node/user-data: The calico.yaml needs to be created at /srv/kubernetes/manifests/calico.yaml instead of /etc/kubernetes/manifests/calico.yaml.

This is needed for the command docker run --rm --net=host -v /srv/kubernetes/manifests:/host/manifests $HYPERKUBE_IMAGE_REPO:$K8S_VER /hyperkube kubectl apply -f /host/manifests/calico.yaml to work. Without this change the above command fails and calico is not setup properly, and networking doesn't work at all.

heschlie commented 7 years ago

Good catch, LGTM, @aaronlevy this is a pretty small change, could we get this merged if it looks good to you?

aaronlevy commented 7 years ago

lgtm