Questions tagged [flanneld]

flanneld is a control plane deamon of flannel (originally rudder), an etcd backed network fabric for containers

24 questions
13
votes
1 answer

Understanding kubeadm init command for flannel

To install kubernetes using flannel, one initially needs to run: kubeadm init --pod-network-cidr 10.244.0.0/16 Questions are: What is the purpose of "pod-network-cidr"? What's the meaning of such IP "10.244.0.0/16"? How flannel uses this…
testTester
  • 2,371
  • 3
  • 18
  • 22
6
votes
2 answers

Kubernetes flannel network does not work as expected

I encounter a very strange kubernetes network issue with kubeadm installation with flannel. Could you please help? I have 3 nodes, 1 for master, 2 for minion nodes.and has 4 pods are running. list all nodes(added a column # to simplify…
Bo Wang
  • 499
  • 1
  • 8
  • 15
3
votes
4 answers

How does kubernetes pod gets IP instead of container instead of it as CNI plugin works at container level

How does kubernetes pod gets IP instead of container instead of it as CNI plugin works at container level? How all containers of same pod share same network stack?
3
votes
3 answers

Kubernetes, Flannel and exposing services

I have a kubernetes setup running nicely, but I can't seem to expose services externally. I'm thinking my networking is not set up correctly: kubernetes services addresses: --service-cluster-ip-range=172.16.0.1/16 flannel network config: etcdctl get…
jaxxstorm
  • 12,422
  • 5
  • 57
  • 67
2
votes
0 answers

Is it ok that Flanneld is listening on public interface udp port 8472?

Security-wise, is it OK, that flanneld is listening on the public interface udp port 8472? Normally kubernetes nodes live in the cloud, hidden behind dozens of firewalls, they mostly operate in their local virtual network and only expose ports to…
NarūnasK
  • 4,564
  • 8
  • 50
  • 76
2
votes
1 answer

Etcd member has no leader

I am new to Kubernetes and currently setting up Kubernetes cluster with 1 master and 2 minions on CentOS 7. I am following Kubernetes' official setup guide located here. I configured etcd as per the documentation and after I run etcdctl mkdir…
2
votes
4 answers

How to enable containers internet access through flannel?

Problem: / # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ping: sendto: Network unreachable Example container ifconfig: eth0 Link encap:Ethernet HWaddr F2:3D:87:30:39:B8 inet addr:10.2.8.64 Bcast:0.0.0.0 Mask:255.255.255.0 …
untorhe
  • 31
  • 1
  • 5
2
votes
2 answers

HDFS cluster can't work with kubernetes + flannel

I deployed kubernetes with flanneld.service enabled in coreos. And then I started hdfs namenode and datanode via kubernetes replication-controller. I also created kubernetes service for namenode. The namenode service ip is 10.100.220.223, while the…
ztao1987
  • 71
  • 7
1
vote
2 answers

Flanneld: error registering network: cannot finding network with management IP

I'm setting up a mixed-mode kubernetes cluster (CentOS7 master, WS2019 worker) using Flannel in overlay (VXLAN) mode. I've gotten through the Microsoft Kubernetes for Windows Instructions but when I kick off start.ps1 I'm stuck in the "Waiting for…
duct_tape_coder
  • 472
  • 5
  • 20
1
vote
1 answer

Trying to understand usage of flanneld vs flannel pod

I've had the opportunity to install k8s clusters on CentOS VMs. In most cases, i used flanneld as overlay. On some other cases, though, i noticed flannel pods in kube-system namespace. IMHO, we need not have both flanneld and flannel pods for…
papu
  • 405
  • 5
  • 14
1
vote
0 answers

How to set different (from defaults) mask in cluster-cidr in Kubernetes?

I've deployed a Kubernetes 1.10.4 Cluster ( 3 Masters, 2 Workers ) using Kubespray deployment tool ( with kubeadm experimental feature flag enabled ). By the way I'm using Canal as 'kube_network_plugin'. My costumer have some networking constraints.…
1
vote
1 answer

Flanneld not working in Kubernetes Multinode Example

I am trying to follow this tutorial with two Vagrant instances: http://kubernetes.io/v1.0/docs/getting-started-guides/docker-multinode.html After setting up master and worker node I tried to connect to the service's IP of a simple nginx-service…
1
vote
2 answers

Can't Ping a Pod after Ubuntu cluster setup

I have followed the most recent instructions (updated 7th May '15) to setup a cluster in Ubuntu** with etcd and flanneld. But I'm having trouble with the network... it seems to be in some kind of broken state. **Note: I updated the config script so…
Charlino
  • 15,802
  • 3
  • 58
  • 74
0
votes
1 answer

Kubernetes pod is unable to connect or ping the host ip it's running on. Works fine when pinging other machines on the same network as the host

I am unable to connect to my Jenkins master (running outside the cluster) from a pod running on the same machine as the Jenkins master instance. When the pods run from another host machine, ping/connection works fines. I'm using flannel. The only…
Mariusz
  • 346
  • 3
  • 6
0
votes
0 answers

Pods cant reach kube-dns

I'm newbie at kubernetes. I set up a local cluster with 1 master and 2 workers (worker1,worker2) using kubeadm and virtualbox. I chose containerd as my Container Runtime. I'm facing a issue with networking that it's driving me crazy. I cant ping any…
1
2