Closed yatakoi closed 2 years ago
This is more like a configuration issue with traefik. Based on your output, I don't see anything wrong on Calico side. What you can do is to deploy some client/nginx pods and create Kubernetes services. If the client can access nginx pod, then Calico networking is fine. This would help to isolate the issue.
Thank you for answer.
The problem is that after enabling the IPVS mode in the
kube-proxy
, everything works fine for me. But as soon as I install Traefik, I immediately lose connection with Kubernetes.OS: CentOS 7.9
Kubernetes: 1.22.2 CNI: Calico
Below I will show the sequence of actions after which I lose connection with Kubernetes.
Enable Virtual Server support for IPVS on all nodes
I make sure that Traefik is not installed through Helm Chart
Then I turn on the IPVS mode in the kube-proxy
Here, instead of
mode: ""
I have specifiedmode: "ipvs"
and instead ofscheduler: ""
I have specifiedscheduler: "lc"
. Balance mode: Least Connection.After reviewing the logs in the proxy cube, I make sure that the IPVS mode was successfully enabled. The line
Using ipvs Proxier
.And I also check that all connections are now like
lc
Once again I check that I have a connection with Kubernetes
And finally, I try to install Traefik, but first in
values.yaml
I will edit theexternalIPs
line and add an array of IP addresses of my cluster there:I start the installation of Traefik
And:
etcd:
Please, tell me what could be the problem?