MetalLB AddOn Failing repository does not exist or may require 'docker login'

Problem

While trying to install or upgrade MetalLB Addon from Management Plane the docker logs shows following error:

logs
Copy

Environment

  • Platform9 Managed Kubernetes - v5.4 and Higher
  • MetalLB AddOn

Cause

MetalLB images that were earlier hosted on Docker have now moved to Quay officially. The old deployments are trying to reach the docker image repository which is causing this failure.

Resolution

Upgrade the Kubernetes cluster to any of the below list or higher version, that contains the fix with correct MetalLB repository

pf9-kube Versions
Copy

Patches for v1.20 will be available soon.

If upgrade of cluster is not feasible proceed with the below workaround steps.

Workaround

  • Edit the MetalLB controllerdeployment and change image location to quay:
Command
Copy
  • Update image to quay.io/metallb/controller:v0.10.2
Command
Copy
  • Edit the MetalLB speaker daemonset and the change image location to quay
Command
Copy
  • Update image to quay.io/metallb/speaker:v0.10.2
Command
Copy

Additional Information

Reference https://github.com/metallb/metallb/issues/696#issuecomment-714652624.

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches