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
1
vote
1 answer

Exposed Service ClusterIps aren't accessible within Minikube

I've been working at this, and I'm not making any progress. The issue is that when I create a service out of a deployment, the ClusterIp that's created for the service isn't accessible within MiniKube as I expect it should be. I can verify that it's…
Rob Lake
  • 11
  • 2
1
vote
1 answer

How can I configure kube-proxy to connect via https to apiserver?

Reading the documentation from http://kubernetes.io/docs/admin/kube-proxy/ it doesn't look like I can connect to the apiserver via https. The same goes for scheduler and controller-manager, but those two maybe are supposed to run on the same machine…
cristi
  • 2,019
  • 1
  • 22
  • 31
1
vote
1 answer

Kube-proxy interaction with Kubernetes master api: config-sync-period

The kube-proxy gets the Services and Endpoints information from the master api, but how? According to these links: http://kubernetes.io/docs/user-guide/services/#proxy-mode-iptables…
victorgp
  • 882
  • 1
  • 13
  • 22
0
votes
0 answers

Create a copy of the default Kubernetes Endpoint

I want to create a copy of the Default Kubernetes Endpoint associated with the default Kubernetes SVC. I also want to have the same list of subsets.addresses as the default Endpoint. In order to achieve that I created a controller that watches the…
0
votes
0 answers

Kubernetes 1.25 - Topology Aware Hints not adding hints to endpointslice

I have been following the documentation https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/ to make use of Topology Aware Hints on kubernetes 1.25 After creating the service and pods, the endpointslice controller didn't…
0
votes
1 answer

Pods cannot resolve kubernetes DNS

TL;DR From a pod I am able to resolve DNS addresses only when I am using CoreDNS endpoint IP. How to make pods use coreDNS IP address? CoreDNS configuration IP address: 10.96.0.10 endpoint: 10.244.0.222 Kubelet configuration ... clusterDNS: -…
mlokos
  • 359
  • 2
  • 10
0
votes
0 answers

internalTrafficPolicy not work in Kubernetes

I am studying in Serverless Computing with OpenFaaS and Knative. I have some problem with svc of K8s. Arcording Kubernetes Documentation, we can using internalTrafficPolicy and externalTrafficPolicy to force kubeproxy to forward incomming traffic to…
0
votes
0 answers

Eror k8s nodeport not open tcp port on Host

I try to expose service in k8s. When I launch kubectl expose command kubectl expose deployment demo-api-app -n default --type=NodePort --name=my-service everything is OK. I have endpoints and a port to nodeport: [root@mys-servver test_connect]#…
0
votes
1 answer

kube-proxy changes reverting after couple of minutes on my AKS cluster

I am experimenting and tweaking a bit on my sandbox AKS cluster with the intention to configure it in a production ready state. Regarding that, I am following a book where the writer is redeployig the initial kube-proxy daemonset with some…
Luka Klarić
  • 323
  • 2
  • 16
0
votes
0 answers

Kubernetes K3s inter pod communication not Round Robin?

Kubernetes K3s load-balancer does not follow round robin algorithm What I tried: In Kubernetes K3s environment, I send HTTP requests to a pod that is replicated twice (autoscaled). The question is, if a POD is called (REST API call) by its service…
Nishanth
  • 66
  • 10
0
votes
0 answers

Kubernetes ingress intermittency when any node on the cluster is drained

I'm using Kubernetes 1.22 on AWS Cloud (EKS) and i'm facing a problem when any node on the cluster is drained. When any node is marked as "Scheduling Disabled" some requests that the "pod A" is reciving in another node stop comming or something like…
0
votes
1 answer

Why is cilium-proxy faster than kube-proxy ipvs mode?

I've read the cilium documents and the benchmark shows that cilium-proxy using ebpf is faster than kube-proxy ipvs mode. I'm not an expert on inner workings on ebpf or anything so it would be great if anyone could explain why cilium-proxy is faster…
pandawithcat
  • 571
  • 2
  • 13
0
votes
1 answer

Possible to monitor the entry changed in iptable in kube-proxy?

When creating a service in kuberate, it is kube-proxy to update the iptables, to understand how it update iptables, I tried to use the following command to understand how kube proxy works when creating a service, but there is no log printed. Anyway…
Daniel Wu
  • 5,853
  • 12
  • 42
  • 93
0
votes
1 answer

Can a single K8s deployment map to multiple K8s service objects?

I want to deploy an app on K8s cluster using the deployment, service object. I want to create two service objects and map it to the deployment (using labels and selectors). I want to know if this possible? deployment: name: test-deploy labels:…
0
votes
2 answers

Getting KubeControllerManager, KubeProxy, KubeScheduler down alert in Kube Prometheus Stack installed in GKE

I just installed the latest kube prometheus stack (kube-prometheus-stack-37.2.0) with default setting in my GKE cluster. helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm install prometheus…