shivam
shivam

Reputation: 111

Deploying a stateless Go app with Redis on Kubernetes

I had deploy a stateless Go web app with Redis on Kubernetes. Redis pod is running fine but the main issue with application pod and getting error dial tcp: i/o timeout in log. Thank you!!

enter image description here

Upvotes: 0

Views: 349

Answers (1)

Malgorzata
Malgorzata

Reputation: 7023

Please take look: aks-vm-timeout.

Make sure that the default network security group isn't modified and that both port 22 and 9000 are open for connection to the API server. Check whether the tunnelfront pod is running in the kube-system namespace using the kubectl get pods --namespace kube-system command. If it isn't, force deletion of the pod and it will restart.

Also make sure if Redis port is open.

More info about troubleshooting: dial-backend-troubleshooting.

EDIT:

Answering on your question about tunnelfront:

tunnelfront is an AKS system component that's installed on every cluster that helps to facilitate secure communication from your hosted Kubernetes control plane and your nodes. It's needed for certain operations like kubectl exec, and will be redeployed to your cluster on version upgrades.

Speaking about VM:

I would SSH into the it and start watching the disk IO latency using bpf / bcc tools and the docker / kubelet logs.

Upvotes: 1

Related Questions