When i kill all services of kublet but it run again,
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN 781/kubelet
tcp6 0 0 :::10250 :::* LISTEN 781/kubelet
tcp6 0 0 :::10255 :::* LISTEN 781/kubelet
tcp6 0 0 :::4194 :::* LISTEN 781/kubelet
kubetctl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
When start proxy and the get pods command get that errors
I0702 11:35:37.016448 4276 <autogenerated>:1] http: Accept error: accept tcp 127.0.0.1:8080: accept4: too many open files; retrying in 5ms
I0702 11:35:37.017421 4276 <autogenerated>:1] http: proxy error: dial tcp 127.0.0.1:8080: socket: too many open files
I0702 11:35:37.314714 4276 <autogenerated>:1] http: Accept error: accept tcp 127.0.0.1:8080: accept4: too many open files; retrying in 5ms
I0702 11:35:37.315313 4276 <autogenerated>:1] http: proxy error: dial tcp 127.0.0.1:8080: socket: too many open files
I0702 11:35:37.641337 4276 <autogenerated>:1] http: Accept error: accept tcp 127.0.0.1:8080: accept4: too many open files; retrying in 5ms
I0702 11:35:37.641572 4276 <autogenerated>:1] http: proxy error: dial tcp 127.0.0.1:8080: socket: too many open files
I0702 11:35:37.902377 4276 <autogenerated>:1] http: Accept error: accept tcp 127.0.0.1:8080: accept4: too many open files; retrying in 5ms
I0702 11:35:37.902675 4276 <autogenerated>:1] http: proxy error: dial tcp 127.0.0.1:8080: socket: too many open files
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding (get pods)
-------------------------
In snap/bin dir this mapping is done
lrwxrwxrwx 1 root root 13 Feb 16 09:06 amazon-ssm-agent.ssm-cli -> /usr/bin/snap
lrwxrwxrwx 1 root root 11 Apr 4 2020 aws -> aws-cli.aws
lrwxrwxrwx 1 root root 13 Apr 4 2020 aws-cli.aws -> /usr/bin/snap
lrwxrwxrwx 1 root root 19 Jun 29 2019 kubectl -> kubectl-eks.kubectl
lrwxrwxrwx 1 root root 13 Jun 29 2019 kubectl-eks.kubectl -> /usr/bin/snap
lrwxrwxrwx 1 root root 19 Jun 29 2019 kubelet -> kubelet-eks.kubelet
lrwxrwxrwx 1 root root 13 Jun 29 2019 kubelet-eks.kubelet -> /usr/bin/snap
lrwxrwxrwx 1 root root 24 Feb 16 09:06 ssm-cli -> amazon-ssm-agent.ssm-cli
I check the AWS console but no eks, ECS , SSM configuration done on the AWS console
trying to remove kubelete but it can not remove from processes, I tried all commands kill, purge, autoremove, kubeadm but not succeed