website/docs/getting-started-guides
Nicolas Dextraze 563241c4e5 Update kubeadm.md
Wasted hours today trying to get kubeadm working on a Ubuntu VM. The culprit is a missing = for the pod-network-cidr parameter to the kubeadm init command when using calico. Without it kube-dns refused to start, oddly enough pods had 10.244.0.0 network setup but somehow it was failing sending a request to destroy and recreate the pod.

Here's the events for the kube-dns pods if someone's interested.

Events:
  FirstSeen     LastSeen        Count   From                    SubObjectPath   Type            Reason          Message
  ---------     --------        -----   ----                    -------------   --------        ------          -------
  2m            2m              1       default-scheduler                       Normal          Scheduled       Successfully assigned kube-dns-3913472980-5xfzt to kube-master
  1m            1m              1       kubelet, kube-master                    Warning         FailedSync      Error syncing pod, skipping: failed to "CreatePodSandbox" for "kube-dns-3913472980-5xfzt_kube-system(3bd90f8c-33a8-11e7-8a23-080027ac04f3)" with CreatePodSandboxError: "CreatePodSandbox for pod \"kube-dns-3913472980-5xfzt_kube-system(3bd90f8c-33a8-11e7-8a23-080027ac04f3)\" failed: rpc error: code = 2 desc = NetworkPlugin cni failed to set up pod \"kube-dns-3913472980-5xfzt_kube-system\" network: Get https://10.96.0.1:443/api/v1/namespaces/kube-system/pods/kube-dns-3913472980-5xfzt: dial tcp 10.96.0.1:443: i/o timeout"

  1m    50s     6       kubelet, kube-master            Warning FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "3bd90f8c-33a8-11e7-8a23-080027ac04f3" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod \"kube-dns-3913472980-5xfzt_kube-system\" network: connection is unauthorized"

  1m    9s      9       kubelet, kube-master            Normal  SandboxChanged  Pod sandbox changed, it will be killed and re-created.
  37s   9s      3       kubelet, kube-master            Warning FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "3bd90f8c-33a8-11e7-8a23-080027ac04f3" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod \"kube-dns-3913472980-5xfzt_kube-system\" network: netplugin failed but error parsing its diagnostic message \"\": unexpected end of JSON input"
2017-05-08 10:31:22 -07:00
..
centos Change link path 2017-05-04 07:25:24 -07:00
coreos Merge branch 'master' into inline-titles 2016-12-19 18:46:34 -05:00
docker-multinode Removed non-org members from OWNERS. 2016-08-03 01:31:31 -07:00
fedora Update the cluster deploy script path. 2017-05-05 09:33:10 -07:00
mesos skydns to kubedns rename documentation changes 2017-05-03 23:01:15 -07:00
rkt Update Init Container link 2017-05-01 19:34:32 +02:00
ubuntu Explain that LXD containers run Docker containers inside (#3660) 2017-05-05 14:34:36 -07:00
windows fix space problems which ide results in 2016-12-22 20:28:51 +08:00
OWNERS Removed non-org members from OWNERS. 2016-08-03 01:31:31 -07:00
alternatives.md add explicit titles to docs 2016-12-15 15:16:54 -05:00
aws.md getting-started/aws: Update links to AWS deploy tools 2017-04-28 15:38:39 -07:00
azure.md docs: add CoreOS Tectonic to Azure getting started (#3307) 2017-04-12 13:58:31 -07:00
binary_release.md Fixed broken link to build directory 2017-02-01 11:11:48 -08:00
clc.md Update User Guide and Admin links to point to new resources. (#3438) 2017-04-19 10:56:47 -07:00
cloudstack.md Correct links to correct repository (#3430) 2017-05-05 13:36:13 -07:00
dcos.md fix broken link 2017-01-18 12:57:01 +08:00
docker-multinode.md Chenopis 3436 patch (#3480) 2017-04-20 13:59:02 -07:00
docker.md Chenopis 3436 patch (#3480) 2017-04-20 13:59:02 -07:00
fluentd-gcp.yaml Update imported docs (#2947) 2017-03-22 10:10:36 -07:00
gce.md gce.md: update kubectl instructions, remove bash completion instructions (#3477) 2017-04-27 08:52:01 -07:00
kargo.md Fix typo 2017-03-23 22:43:52 +01:00
kops.md Deprecated Kubernetes 101 and 201 2017-04-28 15:15:18 -07:00
kubeadm.md Update kubeadm.md 2017-05-08 10:31:22 -07:00
libvirt-coreos.md fix the command output 2017-04-25 10:38:44 -07:00
meanstack.md New deployments endpoint (#2986) 2017-03-24 11:03:01 -07:00
mesos-docker.md Deprecated Kubernetes 101 and 201 2017-04-28 15:15:18 -07:00
minikube.md Reimplement PR #3589 2017-05-05 14:42:14 -07:00
openstack-heat.md fix the command output 2017-04-25 10:39:00 -07:00
ovirt.md add explicit titles to docs 2016-12-15 15:16:54 -05:00
photon-controller.md Fix broken link:photon-controller.md (#3393) 2017-04-13 16:08:33 -07:00
rackspace.md fix a series errors of using "a" and "an" 2016-12-22 16:56:12 +08:00
running-cloud-controller.md Make a Setup section. (#3227) 2017-04-07 13:46:56 -07:00
scratch.md Update User Guide and Admin links to point to new resources. (#3438) 2017-04-19 10:56:47 -07:00
stackpoint.md Added missing titles to Minikube tutorial and Stackpoint GS guide. 2017-01-09 16:36:13 -08:00
vsphere.md vSphere Storage Policy Based Management for Containers orchestrated by vSphere 2017-04-17 14:48:58 -07:00