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 iptables proxy
No output for the command iptables-save | grep hostnames
I thought adding --proxy-mode
into the kube-proxy manifest would resolve my issue and couldn't find it.
I also tried to check the config file with this command:
ps -ef | grep kube-proxy
Output:
root 1423 24476 0 12:12 pts/0 00:00:00 grep --color=auto kube-proxy
root 8424 8392 0 11:45 ? 00:00:00 /usr/local/bin/kube-proxy --config=/var/lib/kube-proxy/config.conf --hostname-override=
ip-10-0-0-100.us-west-2.compute.internal
root@ip-10-0-0-100:~# find /var/lib/kube-proxy/config.conf
find: ‘/var/lib/kube-proxy/config.conf’: No such file or directory
root@ip-10-0-0-100:~# find /usr/local/bin/kube-proxy
find: ‘/usr/local/bin/kube-proxy’: No such file or directory
Any leads to help me find my way would highly be appreciated. Thanks!