For questions relating to load-balancing bare metal Kubernetes clusters using MetalLB. Use this tag in combination with the general [kubernetes] tag. If your question applies to Kubernetes more generally, use the [kubernetes] tag only.
Questions tagged [metallb]
118 questions
1
vote
2 answers
Terraform apply, how to increment count and add kubernetes worker nodes to the existing workers?
I deployed k8s cluster on bare metal using terraform following this repository on github
Now I have three nodes:
ewr1-controller, ewr1-worker-0, ewr1-worker-1
Next, I would like to run terraform apply and increment the worker nodes (*ewr1-worker-3,…

Zstack
- 4,046
- 1
- 19
- 22
1
vote
1 answer
How to load balance Stateful application running on 2 pods
I want to load-balance 2 stateful applications running on 2 pods. This application cannot have 2 replicas as it is stateful.
I tried giving the same service names to both the pods but it looks like Kubernetes get confused and nothing is served.
I…

Aravind GV
- 41
- 5
1
vote
1 answer
Unable to get metallb working on my bare-metal cluster
I have a bare metal cluster with 3 servers which are publicly available but each one has a totally different ip address. I have my DNS entry to point to all 3 hosts - so traffic can received by any host. I have all of them connected via a vlan. Now…

papanito
- 2,349
- 2
- 32
- 60
1
vote
1 answer
Metallb with nginx ingress controller on minkube keeps resetting external IP for ingress
A MCVE example is here: https://github.com/chrissound/k8s-metallb-nginx-ingress-minikube
(just run ./init.sh and minikube addons enable ingress).
The IP assigned to the ingress keeps getting reset, I don't know what is causing it? Do I need…

Chris Stryczynski
- 30,145
- 48
- 175
- 286
0
votes
0 answers
how to configure loadbalancer to accsess kibana installed on bare metal kubernetes with helm chart (used metallb as load balancer)?
here is my helm chart for kibana with ssl and tls enabled.I have access to port 5601 with assined cluter ip (i have telnet throw port 5601)but not access throw loadbalancer(with assigned ip) but other apps working properly with assigned ip…

Ali farahzadi
- 274
- 2
- 10
0
votes
0 answers
Inaccessible LoadBalancer Service in Kind Tutorial – What am I Missing?
I am working through the Kind tutorial for local Kubernetes development, and I've reached the section on LoadBalancer configuration. I'm encountering an issue where the service seems to be running but is not accessible either within WSL2 or Windows.…

Edu
- 159
- 1
- 14
0
votes
0 answers
how to set custom headers when creating a metallb IPAddressPool CRD using client-go?
I'm using client-go interface to create metallb's IPAddressPool CRD. the dynamicClient works fine with create CRD, but since I need to send request to proxy server and have it forwarded to k8s api-server, I neet to set URL prefix and custom headers,…

YEZIHANG
- 25
- 5
0
votes
0 answers
How to open the application using Normal port in Istio-gateway using Metallb for RKE Cluster
I'm using Metallb for provisioning the Load Balancer in RKE cluster. Then I installed Istio for serivce mesh. Inside that, Istio Gateway is only allowing the random NodePort of the Istio-ingress gateway service to open the application after the…

Siddharth Pandey
- 1
- 1
0
votes
0 answers
How to expose jupyterhub , type=loadbalancer service using metallb on server's ip address
I want to run a setup of jupyterhub and ngshare on a server with IP address 10.129.131.4
I ssh into the server and run the setup given here.
This is what I get on running the kubectl get all command. the only difference being the External-IP for…

Anonymous
- 25
- 7
0
votes
1 answer
Minikube MetalLb addon Imagepullbackoff
I am trying to enable the metallb addon but I keep getting Imagepullbackoff errors.
Output of kubectl describe pod controller_pod
Name: controller-644c846477-pkvb7
Namespace: metallb-system
Priority: 0
Service Account: …

MichaelLong102
- 35
- 5
0
votes
2 answers
k3s + MetalLB: metallb-controller Failed to allocate IP for "default/nginx": no available IPs
I created a k3s cluster and disabled the service loadbalancer & traefik. I installed metallb via a manifest file. Also, I created a ConfigMap for Metallb below named "config" with an address pool so I don't know why the metallb-controller is…

Mark Matlock
- 149
- 1
- 10
0
votes
1 answer
Prometheus to count times an ip is announced by a given node (metallb)
I´d like to detect times where an IP is jumping between nodes. Each time an ip jumps, it is announced by the node and that is visible via this prometheus metric: metallb_speaker_announced
This metric will show the following…

carrotcakeslayer
- 809
- 2
- 9
- 33
0
votes
1 answer
Cannot access load balancer external ip address assigned by metallb installed on kind cluster using docker desktop on mac m1 from browser
I have MAC M1 running Docker Desktop (v20.10.17). Kubernetes is NOT enabled, just the docker engine is running.
I installed Kind Cluster:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
# Can add additional control planes
#- role:…

user1424876
- 133
- 1
- 7
0
votes
0 answers
How do i load balance services exposed by MetalLB Layer2?
I have 2 Kubernetes Clusters. Each K8s cluster is hosted in separate datacenters.
Within each Kubernetes Cluster, there’s MetalLB installed and configured.
There’s also a webapp that’s deployed and exposed using LoadBalancer, with an external IP…

Winson
- 1
0
votes
0 answers
MetalLB - admission webhooks - denied the request: resource must be created in operators namespace. What does it mean?
I am trying to create a self-hosted k3s cluster to explore the world of k8s.
I have used kubectl apply to apply the manifest at (not at the same…

fbonif
- 1