Questions tagged [kube-proxy]

kube-proxy is a component of kubernetes that is responsible for `service` and load balance.

The Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP,UDP stream forwarding or round robin TCP,UDP forwarding across a set of backends.

161 questions
2
votes
2 answers

In the kubernetes cluster, the host cannot access the SVC IP

This is my cluster environment: service cluster ip cidr:10.254.0.0/16 pod ip cidr: 172.30.0.0/16 kube-proxy: ipvs mode flannel : vxlan kubectl version Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4",…
Phil.Ding
  • 21
  • 1
2
votes
1 answer

kube-dns getsockopt no route to host

I'm struggling to understand how to correctly configure kube-dns with flannel on kubernetes 1.10 and containerd as the CRI. kube-dns fails to run, with the following error: kubectl -n kube-system logs kube-dns-595fdb6c46-9tvn9 -c kubedns I0424…
junglie85
  • 1,243
  • 10
  • 30
2
votes
1 answer

kube-dns gets kube-proxy Failed to list *core.Endpoints

Fresh Kubernetes (1.10.0) cluster stood up using kubeadm (1.10.0) install on RHEL7 bare metal VMs Linux 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Dec 28 14:23:39 EST 2017 x86_64 x86_64 x86_64 GNU/Linux kubeadm.x86_64 1.10.0-0 …
2
votes
1 answer

Outbound connection intermittent failed to response

I'm experiencing intermittent failed to response when make an outbound connection such as RPC call, it is logged by my application (Java) like this : org.apache.http.NoHttpResponseException: RPC_SERVER.com:443 failed to respond ! Outbound…
2
votes
1 answer

what parameters can impove kube-proxy performance?

We are having problems on kube-proxy loading iptables. It locks docker when there's a large number of services. Is there a way to tune this with its parameters? From its documentation, I can only find --iptables-min-sync-period and…
reachlin
  • 4,516
  • 7
  • 18
  • 23
1
vote
1 answer

Forwarding specific requests from Kubernetes cluster to a proxy machine to access internet enabled services

We have a microservice application, which uses paid software to do some specific operations. This software uses online license verification to function properly. As customer Kubernetes cluster is in the VPC, which doesn't have access to the…
mflame
  • 137
  • 1
  • 2
  • 9
1
vote
3 answers

How many kube-proxy should be in a kubernetes cluster?

I deployed kubernetes cluster in minikube which has one master node and one worker node. When I tried to see the kube-proxy with: kubectl get pods -n kube-system two kube-proxies apear kube-proxy-6jxgq kube-proxy-sq58d According…
Fstm
  • 23
  • 5
1
vote
1 answer

kubernetes kube proxy mode(which one IPVS,iptables or userspace)

how can i check if my kube-proxy is run in IPVS mode? kube proxy run in three diffrent mode, but my question is how to check in which mode my kube-proxy is runnig?
1
vote
0 answers

Kube-proxy iptables block port 443 outbound when applied. Can curl my kibana instance on port 443 before kube-proxy rules are applied just fine

When kube-proxy iptables rules are NOT applied, I can run: curl -k https://kibana.default.svc.cluster.local:443/api/status But, as soon as the kube-proxy rules automatically apply, I can no longer curl the url. Here are the rules that the…
Jeff M
  • 11
  • 1
1
vote
0 answers

GKE- default kube-proxy and other workloads are not healthy

I have created a new private cluster in Org/personal Google Project and i can see kube-proxy and few other workloads with DaemonSet is showing unhealthy. why these are unhealthy though created by GKE only and is there no impact of having these…
1
vote
1 answer

Kube-proxy was not found in my rancher cluster

My Rancher cluster is setup around 3 weeks. Everything works fine. But there is one problem while installing MetalLB. I found there is no kubeproxy in my cluster. Even there no kube-proxy pod in every node. I could not follow installation guide to…
Daniel Chang
  • 100
  • 1
  • 4
1
vote
2 answers

kube-proxy upgrade from 1.21 to 1.22 insert wrong iptables rule

I'm experimenting an issue upgrading kube-proxy from 1.21 to 1.22. Already update control-plane components (apiserver,scheduler and controller-manager) to 1.22 without any problem. When I updated the first worker node (kubelet and kube-proxy), from…
1
vote
2 answers

Can not get logs of Kubernetes K8S pod (to debug)

I have 1 master and 2 nodes running and kube-proxy to debug. kube-m1:/$ kubectl get pod -n kube-system kube-proxy-tmt58 NAME READY STATUS RESTARTS AGE kube-proxy-tmt58 1/1 Running 6 439d How can I specify a…
Artur Dino
  • 31
  • 3
1
vote
1 answer

HAProxy Not Working with Kubernetes NodePort for Backend (Bare Metal)

I have a host running HAProxy already. It's been up and running since before I did anything with Kubernetes. It works flawlessly as a reverse proxy and SSL terminator for various web things in various Docker containers on various other host…
Adam Winter
  • 1,680
  • 1
  • 12
  • 26
1
vote
1 answer

Why Kube-proxy not working ? No DNS resolution

i've juste set up a fresh cluster with kubeadm and kubernetes 1.21. All pods are mark ready. But i can't access any of them. After digging into the problem, it appear that no DNS resolution is possible. It seems that kube-proxy does not work. this…
Scandinave
  • 1,388
  • 1
  • 17
  • 41