Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to Portainer Agent version 2.0.0 on Azure Kubernetes Service #160

Open
TVGSOFT opened this issue Dec 15, 2020 · 1 comment

Comments

@TVGSOFT
Copy link

TVGSOFT commented Dec 15, 2020

I have deployed portainer agent on AKS follow the scripts as below:
curl -L https://downloads.portainer.io/portainer-agent-k8s-lb.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml

And got an error as below, the portainer instance cannot connect to this endpoint:

2020/12/14 15:13:46 [INFO] [main] [message: Agent running on Kubernetes platform]
2020/12/14 15:13:49 [DEBUG] [main,net] [host: portainer-agent-headless] [result: 1] [ip: 20.4.0.19]
2020/12/14 15:13:49 [DEBUG] [cluster,serf] [advertise_address: 20.4.0.19] [join_address: [20.4.0.19]]
2020/12/14 15:13:49 [WARN] memberlist: Binding to public address without encryption!
2020/12/14 15:13:49 [INFO] serf: EventMemberJoin: -portainer-agent-864766cdbf-67t85 20.4.0.19
2020/12/14 15:13:49 [DEBUG] [cluster,serf] [contacted_nodes: 1]
2020/12/14 15:13:49 [DEBUG] [main,configuration] [agent_port: 9001] [cluster_address: portainer-agent-headless] [advertise_address: 20.4.0.19]
2020/12/14 15:13:49 [INFO] [http] [server_addr: 0.0.0.0] [server_port: 9001] [secured: true] [api_version: 2.0.0] [message: Starting Agent API server]
2020/12/14 15:13:54 http: TLS handshake error from 20.4.0.4:34153: read tcp 20.4.0.19:9001->20.4.0.4:34153: i/o timeout
2020/12/14 15:13:54 http: TLS handshake error from 20.4.0.115:61359: read tcp 20.4.0.19:9001->20.4.0.115:61359: i/o timeout

@Wamy-Dev
Copy link

same for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants