Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
MetalLB AddOn Failing repository does not exist or may require 'docker login'
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
While trying to install or upgrade MetalLB Addon from Management Plane the docker logs shows following error:
logs
Error response from daemon: pull access denied for metallb/controller, repository does not exist or may require 'docker login': denied: requested access to the resource is deniedEnvironment
- 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
xxxxxxxxxxv1.21 -> 1.21.3-pmk.443v1.22 -> 1.22.9-pmk.299v1.23 -> 1.23.8-pmk.277v1.24 -> 1.24.7-pmk.130Patches 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
xxxxxxxxxx$ kubectl get deploy controller -n metallb-system -o yaml | grep image: image: metallb/controller:v0.10.2- Update image to
quay.io/metallb/controller:v0.10.2
Command
xxxxxxxxxx$ kubectl edit deploy controller -n metallb-systemdeployment.apps/controller edited $ kubectl get deploy controller -n metallb-system -o yaml | grep image: image: quay.io/metallb/controller:v0.10.2- Edit the MetalLB
speakerdaemonset and the change image location to quay
Command
xxxxxxxxxx$ kubectl get daemonset speaker -n metallb-system -o yaml | grep image: image: metallb/speaker:v0.10.2- Update image to
quay.io/metallb/speaker:v0.10.2
Command
xxxxxxxxxx$ kubectl edit daemonset speaker -n metallb-systemdaemonset.apps/speaker edited $ kubectl get daemonset speaker -n metallb-system -o yaml | grep image: image: quay.io/metallb/speaker:v0.10.2Additional 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
Last updated on
Was this page helpful?
Next to read:
StatefulSet PODs Not Getting Deleted After Helm UpgradeDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message