Questions tagged [calico]

Project Calico is an open-source networking and security solution for Kubernetes. Use this tag to mark questions related to the project.

Project Calico

Project Calico is an open source networking and network security solution for containers, virtual machines, and native host-based workloads. Calico supports a broad range of platforms including Kubernetes, OpenShift, Docker EE, OpenStack, and bare metal services.

207 questions
4
votes
3 answers

kubeadm init starts cluster with incorrect IP addresses

I initialize a 5 node k8s cluster as below: [root@lpdkubpoc01a ~]# kubeadm init --pod-network-cidr=10.96.0.0/16 --service-cidr=10.97.0.0/16 --image-repository quaytest.phx.aexp.com/control-plane W0727 15:19:51.123991 1866 version.go:101] could…
user2405589
  • 881
  • 2
  • 14
  • 32
4
votes
1 answer

How to let calico use K8s etcd?

I read the calico docs, it says calico will start an etcd instance when it starts, but I noticed that the K8s cluster will start an etcd pod, when the cluster starts. I want calico use that etcd node, so I do the following action: Use calicoctl do…
user1208081
  • 1,057
  • 4
  • 15
  • 29
4
votes
4 answers

Kubernetes calico node CrashLoopBackOff

While there are some questions just like mine out there, the fixes do not work for me. I'm using the kubernetes v1.9.3 binaries and using flannel and calico to setup a kubernetes cluster. After applying calico yaml files it gets stuck on creating…
Alexander M.
  • 41
  • 1
  • 1
  • 4
4
votes
2 answers

etcd error when trying to start service rejected send message

I am using ubuntu 14.04 and Im configuring etcd for use with calico, but the service does not work. This is my etcd.conf file: # vim:set ft=upstart ts=2 et: description "etcd" author "etcd maintainers" start on stopped rc RUNLEVEL=[2345] stop on…
Asier Gomez
  • 6,034
  • 18
  • 52
  • 105
3
votes
0 answers

Network Policy not enforced on Minikube Calico cluster

I have a minikube cluster installed and I am trying to get a simple NetworkPolicy working. I have installed Calico CNI in my minikube cluster. NAMESPACE NAME READY STATUS RESTARTS…
Mandar K
  • 333
  • 4
  • 15
3
votes
1 answer

Calico - nf_conntrack_proto_sctp

I noticed this error in the calico log. calico-node [INFO][2355687] felix/int_dataplane.go 1660: attempted to modprobe nf_conntrack_proto_sctp error=exit status 1 output="" It attempts to turn on the nf_conntrack_proto_sctp kernel module, but the…
3
votes
1 answer

"Calico CNI - calico-kube-controllers Failed to initialize Calico data store" error

I am running Calico CNI v3.19.1 on Kubernetes version v1.19.13. using CentOS Steam 8 and RHEL 8 OS for this cluster with 3 master and 3 nodes. when calico-kube-controller starts on the worker node. Its failing with [FATAL][1] main.go 118: Failed to…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
3
votes
1 answer

calico network connectivity failing between pods and services and pods in different hosts

I have implemented a multi master HA kubernetes cluster and wanted to implement the Calico the hardway as described in here. I was able complete all the steps and my connectivity is not there between the pods and services and pods and other pods in…
3
votes
2 answers

How to change calico listening default port?

I am a begginer on kubernetes and I can see on the latest calico.yaml file (Install Calico on nodes) the configuration for the listening default 9099 port. I am deploying on a few nodes and that port (9099) is taken as other services are running in…
Thanos
  • 1,618
  • 4
  • 28
  • 49
3
votes
3 answers

Kubernetes dashboard: Get https://10.96.0.1:443/version: dial tcp 10.96.0.1:443: i/o timeout

I have a Kubernetes cluster in vagrant (1.14.0) and installed calico. I have installed the kubernetes dashboard. When I use kubectl proxy to visit the dashboard: Error: 'dial tcp 192.168.1.4:8443: connect: connection refused' Trying to reach:…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
3
votes
3 answers

Kubernetes + Calico on Oracle Cloud VMs

[ Disclaimer: this question was originally posted on ServerFault. However, since the official K8s documentation states "ask your questions on StackOverflow", I am also adding it here ] I am trying to deploy a test Kubernetes cluster on Oracle Cloud,…
Bogd
  • 673
  • 9
  • 16
3
votes
1 answer

Monitor Calico network policies behavior

How could I monitor the network policies behavior? I have a k8s cluster with calico as SDN. For example I create a network policy to deny traffic from a set of IPs. I try to make some executions from those IPs and they fail. Where can I see that…
Jxadro
  • 1,497
  • 2
  • 16
  • 36
3
votes
1 answer

All Kubernetes Pods go down simultaneously periodically

I've been running a Kubernetes cluster for a while now, but I haven't been able to keep it stable. My cluster consists of four nodes, two masters and two workers. All nodes run on the same physical server, which in turn runs VMware vSphere 6.5.…
Linus
  • 1,113
  • 1
  • 8
  • 14
2
votes
1 answer

Calico + ipvs/strict_arp kube-proxy + Metallb l2 mode multi interface problem

i am playing around with metallb in l2 mode and iptables routing on a ubuntu 22.04 system with 2 interfaces. I have ens160 (on all nodes master + worker) for all the local traffic and ens192 (only on my worker) where metallb has access to my public…
OLED01
  • 21
  • 2
2
votes
1 answer

Why access to the k8s service takes too long?

I've created a simple k8s cluster and deployed a microsocks server with the help of kallqvist/microsocks. After exposing it via service, it takes too long for a curl command to connect to this service and retrieve the info. Prerequisites: last…
mostafa8026
  • 273
  • 2
  • 12
  • 25
1
2
3
13 14