Questions tagged [weave]

Weave: the Docker Network

https://www.weave.works — "Weave provides a simple and resilient network for your application that is portable across data centers and public clouds." Integrations include: Docker, AWS, Azure, CoreOS, Kubernetes and many more.

123 questions
31
votes
11 answers

Kubernetes - Pod Remains in ContainerCreating Status

I am new to all things Kubernetes so still have much to learn. Have created a two node Kubernetes cluster and both nodes (master and worker) are ready to do work which is good: [monkey@k8s-dp1 nginx-test]# kubectl get nodes NAME STATUS ROLES…
Going Bananas
  • 2,265
  • 3
  • 43
  • 83
12
votes
2 answers

kubernetes installation and kube-dns: open /run/flannel/subnet.env: no such file or directory

Overview kube-dns can't start (SetupNetworkError) after kubeadm init and network setup: Error syncing pod, skipping: failed to "SetupNetwork" for "kube-dns-654381707-w4mpg_kube-system" with SetupNetworkError: "Failed to setup network for pod…
kolisko
  • 1,548
  • 3
  • 17
  • 22
12
votes
4 answers

How to fix weave-net CrashLoopBackOff for the second node?

I have got 2 VMs nodes. Both see each other either by hostname (through /etc/hosts) or by ip address. One has been provisioned with kubeadm as a master. Another as a worker node. Following the instructions…
Andrew
  • 2,055
  • 2
  • 20
  • 27
12
votes
1 answer

How to access Weave DNS-Server from external?

I use the Weave network plugin on a Docker-Swarm. I created a docker network with a specific IP-Range, different from the default Weave Network, to which I route from my internal network. To make the containers even better accessible I use weave to…
Ingo Meldau
  • 484
  • 3
  • 13
10
votes
2 answers

How to get kube-dns working in Vagrant cluster using kubeadm and Weave

I deployed a few VMs using Vagrant to test kubernetes: master: 4 CPUs, 4GB RAM node-1: 4 CPUs, 8GB RAM Base image: Centos/7. Networking: Bridged. Host OS: Centos 7.2 Deployed kubernetes using kubeadm by following kubeadm getting started guide.…
bach
  • 153
  • 2
  • 5
8
votes
1 answer

can the apiserver connect to the Kubelet port of a node through CNI-provided network?

The sleeve mode of Weave Net allows adding nodes behind NAT to the mesh, e.g. machines in a company network without external IP. When Weave Net is used with Kubernetes, such nodes can be added to the cluster. The only drawback (besides the…
muffel
  • 7,004
  • 8
  • 57
  • 98
6
votes
0 answers

How to improve or debug docker overlay network resiliency?

Background We maintain a "cluster" of Ubuntu hosts which run our production applications. The hosts run a wide variety of docker containers such as consul for container monitoring and prometheus service discovery elasticsearch cluster with multiple…
dev-rowbot
  • 448
  • 4
  • 13
6
votes
3 answers

No internet connectivity inside docker container running inside kubernetes with weave as networking

I have a kubernetes cluster that is running on AWS EC2 instances and weave as networking(cni). I have disabled the docker networking(ipmask and iptables) as it is managed by weave(to avoid network conflicts). I have deployed my Jenkins on this…
Vaibhav Jain
  • 2,155
  • 5
  • 27
  • 41
6
votes
1 answer

Kubernetes overlay network comparison

I was wondering if someone could give me a brief overview of the differences/ advantages between all of the different Kubernetes network overlays. The getting started guide (http://kubernetes.io/docs/getting-started-guides/scratch/#network) mentions…
David Newswanger
  • 1,073
  • 1
  • 10
  • 11
5
votes
2 answers

Kubernetes gives an internal source IP although externalTrafficPolicy is set to Local

Our Kubernetes cluster includes an nginx load balancer that forwards the requests to other pods. However, the nginx sees local source IPs and therefore cannot set the correct X-Real-IP header. I tried setting the externalTrafficPolicy value of nginx…
5
votes
1 answer

Docker Weave and WeaveDNS issues

I'm having an issue with setting up weaveDNS on a small weave network that I have running on my local machine. For now the problem manifests itself in the fact that when I run 'weave status' I'm not seeing a DNS section in the output (as its…
deepblue
  • 8,426
  • 13
  • 48
  • 60
4
votes
1 answer

networkPlugin cni failed to set up pod issue while Kubernetes deployment

I am trying to deploy my sample Spring Boot micro service into Kubernetes cluster. My every nodes are showing ready state. And when I am trying to deploy, my pod is only showing ContainerCreating. And when I am describing the pod, then I am getting…
Mr.DevEng
  • 2,651
  • 14
  • 57
  • 115
4
votes
1 answer

Readiness probe failed error in weave kubernetes

I have cluster where I have 10 worker nodes on Raspberry pi and master is running on Ubuntu 16.04. Everything seems to be working fine but sometime a pod running on node shows below error: Warning FailedCreatePodSandBox 18m (x3 over 18m) …
S Andrew
  • 5,592
  • 27
  • 115
  • 237
4
votes
2 answers

Kubernetes - kube-system pods in master node keep restarting after worker node joins

I have followed this tutorial and this tutorial and this one but am facing the same issue for last 3 days. I am able to set up the master node correctly with the following steps: kubeadm init mkdir -p $HOME/.kube sudo cp -i…
Saad Farooq
  • 977
  • 2
  • 13
  • 26
4
votes
2 answers

Problems getting docker containers to see (ping) each other by name

I have three docker containers, java container (JC): for my java application (spring boot) elasticsearch container (EC): for ElasticSearch test container (TC): testing container to troubleshoot with ping test Currently, the JC cannot see the EC…
Jane Wayne
  • 8,205
  • 17
  • 75
  • 120
1
2 3
8 9