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
0
votes
1 answer

Kube-proxy with IPVS mode doesn't keep a connection

I have a k8s cluster with an ipvs kube-proxy mode and a database cluster outside of k8s. In order to get access to the DB cluster I created service and endpoints resources: --- apiVersion: v1 kind: Service metadata: name: database spec: type:…
Al Ryz
  • 65
  • 1
  • 8
0
votes
1 answer

Load distribution: All HTTP requests are getting redirected to a single pod in a k8 cluster

I have created a very simple spring boot application with only one REST service. This app is converted into a docker image ("springdockerimage:1") and deployed in the Kubernetes cluster with 3 replicas. Contents of my "Deployment" definition is as…
0
votes
1 answer

Unable to open service via kubectl proxy

➜ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE airflow-flower-service ClusterIP 172.20.119.107 5555/TCP …
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
0
votes
0 answers

IPVS stickiness in case of many clients can be hidden behind a single IP address

I am using minikube cluster on AWS instance. I have replaced IPVS with iptables within kube-proxy to achieve session affinity. IPVS source hashing algorithm is used to achieve session affinity, now to my understanding, the source hashing algorithm…
zuri_nahk
  • 21
  • 2
  • 4
0
votes
2 answers

When is kube-proxy installation necessary?

If I only want to use K8s master to manage daemonsets running in worker nodes (no load balancing, no HTTP request processing, each worker node runs the same pods), is the kube-proxy installation necessary? I only want to use kubernetes to make sure…
Isabel
  • 1
  • 2
0
votes
0 answers

Enable Service Topology on k8s: kube-proxy config

I got stuck on the same problem of this post and couldn't make it work. When I try to edit kube-proxy using kubeadm and the config file as hinted, I get the following error: sudo kubeadm init --config ~/kube-proxy-custom.yaml I0709 17:02:12.954172 …
0
votes
2 answers

Connection refused between kube-proxy and nginx backend

We are regularly seeing connection refused errors on a bespoke NGINX reverse proxy installed in AWS EKS. (see below for kubernetes template) Initially, we thought it was an issue with the load balancer. However, upon further investigation, there…
silverdagger
  • 1,124
  • 13
  • 37
0
votes
1 answer

Unable to acccess nginx pod across nodes using ClusterIP

I have created nginx deployment and nginx service(ClusterIP) to access nginx pod. But not able to access pod through cluster IP across nodes other than node where pod is scheduled. I tried looking for IPtable too. But do not DNAT entry over…
vivek saurabh
  • 147
  • 1
  • 1
  • 7
0
votes
0 answers

K8s inter service communication timeout

We have a K8s Cluster (3 Master - 2 Worker) - v1.17 There are 2 Microservice in this cluster, a Microservices A call to Common. Sometimes, I face the problem is: A call to Common has timeout after 60s - Although this request is processed very…
user3611168
  • 335
  • 1
  • 6
  • 27
0
votes
0 answers

How to correctly interrogate a req_ssl_sni HAproxy defined Kubernetes Ingress?

I'm trying to figure out how I can verify if Kubernetes Ingress is correctly working AND if it is checking the Client Certificate. At the moment, this part of infrastructure is composed as such: The HAproxy configuration is as…
lsambo
  • 300
  • 3
  • 21
0
votes
0 answers

How do I automatically update ipvs information?

I am using kubernetes and using kube-proxy mode as ipvs(scheduler: lc). ipvsadm table information is not updated when pod is increased(replicas). Therefore, in order to load balance with the new pod, the service must be deleted and regenerated. Is…
김관응
  • 1
  • 1
0
votes
2 answers

How to make kube-proxy is distribute the load evently?

I have a ClusterIP Service which is used to distribute load to 2 PODs internally. The load is not distributed evenly across the PODs. How to make the load distributed evenly ?
Chandu
  • 1,837
  • 7
  • 30
  • 51
0
votes
0 answers

service-to-pod communication is broken in Kubernetes

I have an in house 5 node cluster running on bare-metal and I am using Calico. The cluster was working for 22 days but suddenly it stopped working. After investigating the problem I found out that the service to pod communication is broken while all…
AVarf
  • 4,481
  • 9
  • 47
  • 74
0
votes
1 answer

kube-proxy daemonset permission problems

I installed a brand new 1.16.0 worker node using kubeadm and I am getting the following: Kubernetes version: Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc",…
Daniel Maldonado
  • 314
  • 4
  • 19
0
votes
1 answer

Kube Proxy - IPVS proxier will not be used because the following required kernel modules are not loaded: [ip_vs_wrr ip_vs_sh]

I have setup Kubernetes 1.15 cluster on CentOS 7.6 server using IPVS. when I reboot the server kube-proxy changing to iptables mode. If I run modprobe -a ip_vs ip_vs_rr ip_vs_wrr ip_vs_sh nf_conntrack_ipv4 command and restart the kube-proxy on that…
sfgroups
  • 18,151
  • 28
  • 132
  • 204