Forum Navigation
You need to log in to create posts and topics.

Kubernetes Baremetal installation error: context deadline exceeded

Problem

User  gets the following error when trying to deploy metallb when the control-plane and the worker nodes on a different networks

Error from server (InternalError): error when creating “metallb.yaml”: Internal error occurred: failed calling webhook “ipaddresspoolvalidationwebhook.metallb.io”: failed to call webhook: Post “https://webhook-service.metallb-system.svc:443/validate-metallb-io-v1beta1-ipaddresspool?timeout=10s”: context deadline exceeded

Solution

Make sure all ports are opened between control-plane and the worker-nodes

 

After investigating various similar cases the issue is always related to network / firewall connectivity.

Make sure you don’t have firewall rules between the control-plane / master node and the worker nodes.

remove IPtables /firewallD entries and configure your network firewall  remove rules between vlans / servers.

Make sure to change from application ( which only allows certain known ports ) to default