Closed stephanlindauer closed 4 years ago
kube-dns seems to struggle as well. when i run
kubectl exec busybox -- traceroute 10.0.0.2
i get
traceroute to 10.0.0.2 (10.0.0.2), 30 hops max, 46 byte packets
1 10.0.1.10 (10.0.1.10) 0.005 ms 0.004 ms 0.002 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
so it looks like it can't find the aws instance nameserver.
I have a very similar set up as you (looking at the latest code on your repo) -- did you get kube-dns working?
yepp. just have a look at https://github.com/stephanlindauer/terra-aws-core-kube the trick is to wait for the master to be up before starting the worker kubelet.
Also seeing this issue
just make sure to run
#!/bin/bash
until curl -o /dev/null -sIf --cacert /etc/kubernetes/ssl/ca.pem --cert /etc/kubernetes/ssl/worker.pem --key /etc/kubernetes/ssl/worker-key.pem https://${MASTER_HOST}/; do \
sleep 1 && echo -n .;
done;
before starting your worker kubelets.
following the documentation @ https://coreos.com/kubernetes/docs/latest/deploy-master.html i setup my kube controller manager manifest like this:
i get weird errors like
or
or
the whole thing eventually fails with
and
which is also not true because i can
etcdctl mkdir foobar
andetcdctl ls
on all servers and it works.this makes my doubt that the container picked up my configurations at all.
you can find my setup @ https://github.com/stephanlindauer/terra-aws-core-kube