Questions tagged [flannel]

flannel (originally rudder) is an etcd backed network fabric for containers, an overlay network that gives a subnet to each machine for use with Kubernetes

253 questions
4
votes
1 answer

Kubernetes Pods unable to resolve external host

I am running a 3 Node Kubernetes cluster with Flannel as CNI. I used kubeadm to setup the cluster and the version is 1.23. My pods need to talk to external hosts using DNS addresses but there is no DNS server for those hosts. For that, I have added…
Krishnom
  • 1,348
  • 12
  • 39
4
votes
2 answers

Why my ClusterIP does not work with the ip assigned?

I have defined a new service with a ClusterIP. [ciuffoly@master-node ~]$ kubectl get services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 443/TCP …
4
votes
2 answers

How can I use Flannel without disabing firewalld (Kubernetes)

I'm new to flannel and K8s. I'm playing around them on my 1 master and 2 nodes cluster (created from KVM). I initialized my cluster with flannel network addon. And then I found I can't reach the Internal. It turned out that there may be something…
Lawrence Ching
  • 423
  • 7
  • 16
4
votes
1 answer

no matches for kind "DaemonSet" in version "extensions/v1beta1"

I am trying install flannel on master node and getting below error. unable to recognize "https://raw.githubusercontent.com/coreos/flannel/bc79dd1505b0c8681ece4de4c0d86c5cd2643275/Documentation/kube-flannel.yml": no matches for kind "DaemonSet" in…
4
votes
1 answer

Why docker0 bridge is showing down in a kubernetes cluster with flannel?

I have a kubernetes cluster created using kubadm with 1 master and 2 worker. flannel is being used as the network plugin. Noticed that the docker0 bridge is down on all the worker node and master node but the cluster networking is working fine. Is…
Lijo
  • 93
  • 3
  • 10
4
votes
2 answers

MetalLB cannot connect to Kubernetes API

I installed MetalLB to be able to expose my services via an IP my network. After the installation I tried a simple hello-world according: https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/ I noticed, that the…
4
votes
2 answers

what role does network bridge `docker0` play in k8s with flannel

k8s version: v1.10.4 flannel version: v0.10.0 docker version v1.12.6 when i use command brctl show on node,it shows as bellow: [root@node03 tmp]# brctl show bridge name bridge id STP enabled interfaces cni0 8000.0a580af40501 no…
jacking
  • 41
  • 1
  • 2
4
votes
2 answers

Use 192.168.0.0/16 or other iprange as pod cidr for kubernetes + flannel

In the tutorial https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/, it says For flannel to work correctly, you must pass --pod-network-cidr=10.244.0.0/16 to kubeadm init.. How to pass other cidr, e.g.,…
Leon
  • 3,124
  • 31
  • 36
4
votes
2 answers

Unable to update node annotation in Kubernetes

I am using the flannel network plugin in my k8s cluster. And there is one special node which has one internal IP address and one public ip address which make it possible to ssh into it. After I add the node using kubeadm I found out that the k get…
aisensiy
  • 1,460
  • 3
  • 26
  • 42
4
votes
0 answers

worker node joins kubernetes cluster with flannel does not have cni0 created

I created a 3 nodes Kubernetes cluster v1.10.4 with network plugin flannel v0.10.0 on CentOS 7.5.1804 in VMware workstation v14. It ever worked well for a few days. But today when I brought up the machines, I see the two worker nodes do not have…
robert
  • 397
  • 1
  • 3
  • 14
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
1 answer

Kubernetes and Vlans overlay network (L2)

I have a cluster of kubernetes (3 VM in VMware server) working with a Flannel not routed network (10.0.0.1/24) and a "public" private IP with Nginx reverse proxy... 10.10.0.1/24. So, all domains points to 10.10.0.10 and I do internal redirect to the…
JuliSmz
  • 996
  • 1
  • 12
  • 26
4
votes
1 answer

Kubernetes Redis Cluster issue

I'm trying to create redis cluster using kubernetes on centos. I have my kubernetes master running on one host and kubernetes slaves on 2 different hosts. etcdctl get /kube-centos/network/config { "Network": "172.30.0.0/16", "SubnetLen": 24,…
user3610007
  • 101
  • 2
  • 7
4
votes
1 answer

Kubernetes: Frequently gets "Error adding network: no IP addresses available in network: cbr0"

I set up a single-node Kubernetes cluster, using kubeadm, on Ubuntu 16.04 LTS with flannel. Most of the time everything works well, but every couple of days, the cluster gets into a state where it can't schedule new pods - the pods are stuck in…
AlonL
  • 6,100
  • 3
  • 33
  • 32
4
votes
1 answer

L3 miss and Route not Found for flannel

So I have a Kubernetes cluster, and I am using Flannel for an overlay network. It has been working fine (for almost a year actually) then I modified a service to have 2 ports and all of a sudden I get this about a completely different service, one…
Christian Grabowski
  • 2,782
  • 3
  • 32
  • 57
1 2
3
16 17