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.

124 questions
0
votes
1 answer

kube-proxy: Another app is currently holding the xtables lock

We've been getting intermittent connectivity/dns issues in our Kubernetes cluster running 1.10 on Ubuntu. We've been all over the bug reports/etc., and nearest we can figure a process is holding onto /run/xtables.lock and it's causing issues in a…
ron
  • 31
  • 3
0
votes
1 answer

How to delete iptables rules added by kube-proxy?

I want to manually delete iptables rules for debugging. I have several rules created by kube-proxy based on service nettools: # kubectl get endpoints nettools NAME ENDPOINTS AGE nettools 172.16.27.138:7493 1h And its iptables…
Haoyuan Ge
  • 2,496
  • 2
  • 17
  • 36
0
votes
0 answers

Flannel pod failure (and DNS) for Kubernetes on CoreOS VMs

I have deployed a 3-node CoreOS Vagrant VMs following this guide, modified as described here. The VMs are healthy and running; K8s controller/worker nodes are fine; and I can deploy Pods; ReplicaSets; etc. However, DNS does not seem to work and,…
Marco Massenzio
  • 2,486
  • 1
  • 20
  • 32
0
votes
1 answer

Is it possible to have kube-proxy without the kubernetes environment in vm pod using istio mesh expansion

I have been working on a very innovative project which involves both Kubernetes and Istio. So, I have 2-node kubernetes cluster setup with istio installed withe their side cars in the pods. I have already hosted the bookinfo application in the nodes…
0
votes
1 answer

How to set a new logging level on kube-proxy, in a running cluster

Is there a way to change the logging level on a running cluster, specifically for a single system component such as kube-proxy? I see some discussion related to this: https://github.com/kubernetes/test-infra/pull/4311 and it seems like some sort…
S V
  • 1
  • 2
0
votes
1 answer

When a Kubernetes service is created, which one among these watchers is called first 'kube proxy' or 'a custom watcher'

I have a custom watcher as follows: watchlist := cache.NewListWatchFromClient(client.Core().RESTClient(), "configmaps", KubeSystemNameSpace, fields.SelectorFromSet(fields.Set{"metadata.name": "test-map"})) resyncPeriod := 30 *…
Pradeep
  • 906
  • 1
  • 9
  • 19
0
votes
1 answer

how to avoid snat when using service type clusterip on kubernetes?

For every service in k8s cluster, kubernetes do snat for request packets. The iptables rules are: -A KUBE-SERVICES ! -s 10.254.0.0/16 -d 10.254.186.26/32 -p tcp -m comment --comment "policy-demo/nginx: cluster IP" -m tcp --dport 80 -j…
duye
  • 95
  • 1
  • 2
  • 8
0
votes
1 answer

How to get all my applications' visit times running in kubernetes?

Is this a BUG REPORT or FEATURE REQUEST?: feature What happened: How to get all my applications' visit times running in kubernetes? something like visitor counter for website. Any suggestions? What you expected to happen: Get the total count. via…
Weiwen Zhong
  • 26
  • 1
  • 3
0
votes
1 answer

Kube-proxy fails to retrieve node info - invalid nodeIP

I've been trying to setup a Kubernetes cluster for a few months now, but I have no luck so far. I'm trying to set it up on 4 bare metal PCs running coreOS. I've just clean installed everything again, but I get to the same problem as before. I'm…
mythic
  • 763
  • 1
  • 8
  • 27
0
votes
2 answers

How to access Kubernetes pod in local cluster?

I have set up an experimental local Kubernetes cluster with one master and three slave nodes. I have created a deployment for a custom service that listens on port 10001. The goal is to access an exemplary endpoint /hello with a stable IP/hostname,…
Carsten
  • 1,406
  • 19
  • 44
0
votes
2 answers

Kubernetes on openstack, applications launched are not accessible

The way it is single node kubernetes on a OpenStack VM is: VMs IP : 10.120.20.227 (from outside) etcd version 3.0.16 kubectl --version 1.5.7 Flannel version 0.6.1 When I ssh in to the machine I could see the ip 192.168.0.5 So etcd service…
0
votes
1 answer

Kubernetes/CoresOS Nodes cannot communicate to ApiServer Kube Proxy issues

I followed this guide https://coreos.com/kubernetes/docs/latest/deploy-workers.html to setup a Kubernetes network and when I ran the Dashboard or DNS add-ons they resulted in crashloopbackoff after 25 seconds. I then followed this…
Waihibeachian
  • 181
  • 1
  • 3
0
votes
1 answer

How do I manually purge a service that has been deleted in kubernetes?

So, I was experimenting and added a Service with an ExternalIP set to the end hosts ipv6 address. This is a configuration that's accepted, but not supported, in Kubernetes, and causes the kube-proxy to do fail. From the kube-proxy logs: -A…
0
votes
2 answers

Does the kube-apiserver expect the presence of kube-proxy?

I've been running my kubernetes masters separate from my kubernetes nodes. So I have kube-apiserver, kube-scheduler and kube-controllermanager running on a server without kubelet, kube-proxy or flannel. So far this has worked perfectly. However,…
Andy Smith
  • 3,056
  • 4
  • 22
  • 34
0
votes
1 answer

Kubernetes Kube-Proxy Server: Can it run without iptables' nat module?

Background: In our environment, iptables' nat module is disabled. So I must use '-b=none --iptables=false' to start docker daemon and always add '--net host' when using 'docker run' command. The same problem arising when using kubernetes. When I try…
discover
  • 1
  • 1
1 2 3
8
9