mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
81b17c5157
In some Linux distributions the /etc/resolv.conf file is a symlink. This file gets included in the Kubernetes containers and will be used for resolving hostnames. By including the symlink, it is possible that that target file is not available in the container(s). This will cause problems when resolving hostnames, and Kubernetes will not get deployed. The default minikube VM provides /run/systemd/resolve/resolv.conf, with /etc/resolv.conf being a symlink. Therefor, it is needed to pass the `--extra-config=kubelet.resolv-conf=..` parameter to `kubeadm`. In case minikube is started with `--vm-driver=none` and /run/systemd/resolve/resolv.conf does not exist, the local /etc/resolv.conf will be used for inclusion in the Kubelet container. If this is a symlink, the final destination should get passed with `--extra-config=kubelet.resolv-conf=..` so that a working hostname resolution configuration is available in the container. Updates: #1121 Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
build_step.inc.sh | ||
build-multi-arch-image.sh | ||
check-env.sh | ||
Dockerfile.devel | ||
Dockerfile.test | ||
golangci.yml | ||
gosec.sh | ||
install-helm.sh | ||
install-snapshot.sh | ||
lint-extras.sh | ||
lint-go.sh | ||
mdl-style.rb | ||
minikube.sh | ||
psp.yaml | ||
rook.sh | ||
skip-doc-change.sh | ||
snapshot-controller-psp.yaml | ||
test-go.sh | ||
travis-functest.sh | ||
travis-helmtest.sh |