Questions tagged [metallb]

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.

References:

118 questions
2
votes
1 answer

Is it double load-balancing when using MetalLB and a ClusterIP service?

I use MetalLB and Nginx-ingress controller to provide internet access to my apps. I see that in most configurations, the service is set to ClusterIP, as the ingress will send traffic there. My question is: does this end up with double load…
francisaugusto
  • 1,077
  • 1
  • 12
  • 29
2
votes
2 answers

Expose service to the world from my bare metal k8s node

I am following this guide to expose a service running on my bare metal k8s cluster to the world. The guide suggests using metallb for giving external access. The problem is, during the setup process of metallb, I am asked to give a range of…
john
  • 1,561
  • 3
  • 20
  • 44
2
votes
0 answers

MetalLB Cannot access service from outside of k8s cluster

I'm getting problem accessing k8s service from outside of cluster K8s version: v1.25 MetalLB version: 0.13 (Flannel v0.20) IP pool apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: first-pool namespace: metallb-system spec: …
Anh Tran
  • 21
  • 1
2
votes
1 answer

Matrices in MTLVertexDescriptor

I'm trying to write vertex descriptor for my vertex shader which takes following struct as stage_in input. struct VertexIn { float2x2 foo; } vertex float4 vertexShader(const VertexIn in [[stage_in]]) {...} Now when defining vertex…
ImShrey
  • 380
  • 4
  • 12
2
votes
1 answer

Unable to reach pod from outside of cluster using exposing external IP via metallb

I try to deploy nginx deployment to see if my cluster working properly on basic k8s installed on VPS (kubeadm, ubuntu 22.04, kubernetes 1.24, containerd runtime) I successfully deployed metallb via helm on this VPS and assigned public IP of VPS to…
corey
  • 300
  • 1
  • 16
2
votes
0 answers

JupyterHub not launching on Helm | K8s

I have a metalLB loadbalancer, k8s clusters (one master and one worker) v1.18.5, helm 3.7, and nfs dynamic volume provisioning using helm. I run up a jupyterhub instance with helm. Within a minute everything is set up but when I use the external IP…
SavvY
  • 131
  • 1
  • 6
2
votes
1 answer

How MetalLB works in Kubernetes

Can anybody explain me how MetalLB gets IP addresses in a Kubernetes environment? I have installed Kubernetes cluster in GCP compute engines. I have provided a range of Internal IP addresses in MetalLB ConfigMap. NAME STATUS INTERNAL-IP …
Dusty
  • 231
  • 1
  • 3
  • 16
2
votes
0 answers

Why does Kubernetes pod CPU usage vary drastically between nodes (DaemonSets)?

Preface: I'm a Kubernetes novice standing up their own cluster at home, I have 1 master and 3 worker nodes. I'm struggling to determine why some of my pods managed by DaemonSets are using more CPU than their counterparts on other nodes. Here's an…
Forreyer
  • 21
  • 1
2
votes
1 answer

minikube metallb external-ip vs minikube ip

apiVersion: v1 kind: ConfigMap metadata: namespace: metallb-system name: config labels: app: metallb data: config: | address-pools: - name: default protocol: layer2 addresses: -…
hochan
  • 220
  • 3
  • 10
2
votes
2 answers

Kubernetes MetalLB External IP not reachable from browser

I have a nginx deployment with service type LoadBalancer. I got a external IP which is accessible from master and worker node. I am not able to access it from browser. What am I missing?
2
votes
2 answers

What exactly happens when we try to ping an External IP for a service of type Load balancer (kubernetes)?

My cluster is running on-prem. Currently when I try to ping the external IP of service type LoadBalancer assigned to it from Metal LB. I get a reply from one of the VM's hosting the pods - Destination Host unreachable. Is this because the pods are…
2
votes
1 answer

MetalLB external load balancer on docker-desktop community edition on Windows 10 single-node Kubernetes Infrastructure

I am trying to set up a metalLB external load balancer with the intention to access an nginx pod from outside the cluster using a publicly browseable IP address. I have follwed all the steps provided in here. I have managed to get the External-IP…
2
votes
2 answers

LoadBalancer using Metallb on bare metal RPI cluster not working after installation

I'm fiddling around with my RPI cluster that I've setup using Kubeadm and I want to make LoadBalancers able to work on the cluster. The IPs for the nodes are static and set to the range of 192.168.1.100-192.168.1.103 for the master and worker…
Gurkang
  • 155
  • 1
  • 3
  • 16
2
votes
1 answer

Can't get external IP on bare metal kubernetes cluster

I'm trying to set up a bare metal Kubernetes cluster. I have the basic cluster set up, no problem, but I can't seem to get MetalLB working correctly to expose an external IP to a service. My end goal is to be able to deploy an application with 2+…
Pete.Mertz
  • 1,302
  • 2
  • 18
  • 34
1
vote
0 answers

Kubernetes ingresses not accessible from inside the cluster when Metallb externalTrafficPolicy set to Local

I'm running a bare-metal Kubernetes cluster with Traefik and Metallb in L2 mode. I set Metallb svc's externalTrafficPolicy=Local to preserve source IPs as described here. That works, but now I can't access ingresses by their external dns names from…
etherman
  • 37
  • 5