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

EKS: Route external VPC traffic to service ClusterIP using kube-proxy (or something else)?

Requirement/Problem: I would like to route traffic from the VPC network to a cluster IP. In AKS I was able to do this by adding an entry in the VNET route table to a node running kube-proxy. I can't seem to be able to do this in EKS. I would like…
Adrian
  • 251
  • 1
  • 5
0
votes
0 answers

Kubernetes forward traffic from specific host and port to pod

I am attempting to route client's requests to a specific pod (ingress) for TLS termination. The path way looks like the following: client request to https://172.16.0.20:8000 (this cannot change) -> k8s ingress pod (terminate tls) -> route traffic to…
tiger_groove
  • 956
  • 2
  • 17
  • 46
0
votes
1 answer

Deleted kube-proxy

I've accidently deleted kube-proxy from my k3s cluster. How can I restore it? Any object type is non-existent anymore, this command gives an empty result: kubectl get all --all-namespaces | grep prox Initiatlly, I've installed that cluster via…
Michael
  • 445
  • 4
  • 16
0
votes
0 answers

Some pod to pod connection fails on EKS

We have a cluster on EKS and from 2 days ago we noticed some network issues in our cluster. Imagine a scenario in which we have 2 workers nodes (w1 and w2) and 3 pods with their own services (A, B and C). Pods A and B are located on w1 and pod C are…
AVarf
  • 4,481
  • 9
  • 47
  • 74
0
votes
1 answer

Services not accesible from K8s node (MetalLB Layer2)

I have bare-metal deployed Kubernetes cluster on VMware vSphere private cloud. Spec: OS: Ubuntu 20.04.3 Cloud Image (Also trying 18.04 and 21.04) Kubernetes: 1.23.1 (Also trying 1.21.8) - depolyed with kubeadm and kube-proxy (with strictARP and…
0
votes
1 answer

kubernetes Nodeport service : can't access with cluster ip

1 Master : 10.166.232.164 2 Worker : 10.166.232.165, 10.166.232.166 Deploy 3 replica pods for 2 worker nodes Nodeport service problem is i can access by curl podIP:8080 but exec pod and access by clusterIP:Nodeport is not working kubectl exec -it…
0
votes
1 answer

Configure datadog agent to avoid kube-proxy logs

I am having lots of info logs from kube-proxy in Datadog and for now I would like to avoid that. The kind of logs I am having looks like the following: I have disabled payload expecting it would help, but with no luck. If anyone can point me in the…
hosseio
  • 1,142
  • 2
  • 12
  • 25
0
votes
0 answers

Connect to AWS managed redis cache, exposed by an upstream service, using kube-proxy

I have a following scenario in the k8s cluster. AWS managed redis cluster which is exposed by a upstream service called redis. I have opened a tunnel locally using kube-proxy. curl…
0
votes
1 answer

Internal API call from one pod to another pod in same Kubernetes cluster times out

I have two API that are publicly exposed, let's say xyz.com/apiA and xyz.com/apiB. Both these API are running node and are dockerized services running as individual pods in the same namespace of a Kubernetes cluster. Now, apiA calls apiB internally…
ams
  • 75
  • 1
  • 10
0
votes
0 answers

Azure kubernetes service (AKS) , load balancer with least Connection

I need to make a load balancer that works based on the "Least Connection" , here is the documentation on the Kubernetes website : https://kubernetes.io/docs/concepts/services-networking/_print/#proxy-mode-ipvs Look like I need to use IPVS (proxy…
Farzad J
  • 1,089
  • 2
  • 14
  • 28
0
votes
0 answers

Intermittent 502 bad gateway issue in kubernetes

Kubernetes cluster version : 1.11 we are using Nginx as our ingress controller. we have an ingress with host, my.domain.com, and it was working fine for years, but recently if I try to access my.domain.com, randomly gives- "502 Bad Gateway…
0
votes
2 answers

What's the difference between different KUBE-MARK-MASQ rules in kubernetes chain?

I know that the rule in KUBE-MARK-MASQ chain is a mark rule: iptables -t nat -nvL KUBE-MARK-MASQ Chain KUBE-MARK-MASQ (123 references) pkts bytes target prot opt in out source destination 16 960 MARK all -- *…
Jesse Stutler
  • 147
  • 2
  • 7
0
votes
1 answer

How to fix kube-proxy Unknown proxy mode "", assuming iptables proxy issue?

I'm new to K8s and struggling with some problems with kube-proxy. I have a service that needs to expose the deployment. Everything seems correct but it does not expose it. I found the problem in kube-proxy logs. Unknown proxy mode "", assuming…
cosmos-1905-14
  • 783
  • 2
  • 12
  • 23
0
votes
1 answer

k8s Pod 1 get wrong pod 2's ip address

I install the k8s master with kubernetes binaries and the cluster works well. But I face one strange problem. Firstly, I run command python -m SimpleHTTPServer 9999 in pod2. And then I make a request in pod1 curl http://:9999 The result in…
Hundred
  • 21
  • 4
0
votes
1 answer

Can I query kube-apiserver from kube-proxy pod?

I've got no access to kube-apiserver pod directly, but I do have an access to kube-proxy pod. Can I run curl https://localhost:6443/healthz as a healthness probe to kube-apiserver or something?