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
1 answer
How to pass incoming traffic in bare-metal cluster with MetalLB and Ingress Controllers?
I'm trying to wrap my head around exposing internal loadbalancing to outside world on bare metal k8s cluster.
Let's say we have a basic cluster:
Some master nodes and some worker nodes, that has two interfaces, one public facing (eth0) and one…

Alex Smith
- 311
- 1
- 3
- 14
1
vote
1 answer
How to fix empty external IP from nginx ingress on k3s?
I want use metallb and nginx ingress for my k3s cluster.
Currently the external IP is
kubectl -n ingress-nginx get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) …

A.Dumas
- 2,619
- 3
- 28
- 51
1
vote
0 answers
Make istio-ingress working with metallb bare metal kubernetes cluster
Update 14-03-2021
Metallb LoadBalancer IP 192.168.0.21 accessible from Cluster (Master/Nodes) Only.
root@C271-KUBE-NODE-0-04:~# curl -s -I -HHost:httpbin.example.com "http://192.168.0.21:80/status/200"
HTTP/1.1 200 OK
server: istio-envoy
date: Sun,…

Rahul Sharma
- 779
- 2
- 12
- 27
1
vote
1 answer
Nginx reports "upstream connection timeout"
Discription:
The k8s nginx-ingress-controllers are exposed in loadbalancer type(implemented by metallb) with ip addr 192.168.1.254. Another nginx cluster is in front of k8s cluster and it has only one upstream which is 192.168.1.254(lb ip addr).The…

JONE LEE
- 13
- 1
- 4
1
vote
0 answers
How do you correctly enable and connect the MetalLB addon for Kubespray?
I am trying to get my cluster up an running with Kubespray, and I have to say it is a fantastic tool, but I cannot get it quite working correctly for me. Specifically, I am trying to enable the metalLB addon, but it does not seem to work.
After my…

MarkA
- 1,132
- 1
- 11
- 21
1
vote
0 answers
Metallb Kubernetes Loadbalancer fails without the port
I'm using Metallb for a bare-metal kubernetes cluster.
I've modified the configmap as below,
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
#- name: default
…

Nurhun
- 475
- 1
- 9
- 21
1
vote
1 answer
nginx with minikube and metallb
Hello i'm trying to launch my own deployment with my own container in minikube. Here's my yaml file
apiVersion: apps/v1
kind: Deployment
metadata:
name: wildboar-nginx-depl
labels:
app: services.nginx
spec:
replicas: 2
selector:
…

WildBoar
- 101
- 7
1
vote
2 answers
accessing Kubernetes from remote hosts
I'm pretty sure I have something misconfigured or missing something.
my home network is 10.11.0.0/16
I setup a kubernetes instance with
sudo kubeadm init --pod-network-cidr=10.166.0.0/16
Then I installed calico…

phomlish
- 189
- 1
- 2
- 13
1
vote
1 answer
nginx ingress: conflicting host in yaml definition ignored in nginx-controller log, but creating non working situation
Installed: https://helm.nginx.com/ stable version
[root@node1 ~]# helm search repo nginx-stable
NAME CHART VERSION APP VERSION DESCRIPTION
nginx-stable/nginx-ingress 0.6.1 1.8.1 NGINX Ingress…

Arch
- 27
- 1
- 4
1
vote
1 answer
Can't access my local kubernetes service over the internet
Implementation Goal
Expose Zookeeper instance, running on kubernetes, to the internet.
(configuration & version information provided at the bottom)
Implementation Attempt
I currently have a minikube cluster running on ubuntu 14.04, backed by docker…

Iggydv
- 166
- 2
- 12
1
vote
1 answer
Services not accessible behind nginx and metalLB
I have a bare-metal kubernetes cluster with metal LB and ngnix and I'm able to access nginx on port 80 and see the welcome page. I applied an Ingress resource but yet I can't access my service although I'm able to access my service via the workers…

Yaakov Shami
- 59
- 6
1
vote
1 answer
In kubernetes, I can't access externalIP that is assigned with MetalLB Loadbalancer
First of all, I am setting up the cluster with kubernetes on premise.
As displayed at https://metallb.universe.tf/installation/, I installed MetalLB as followed and configured configmap, deployment, and service.
kubectl apply -f…

yhshin
- 75
- 2
1
vote
1 answer
metallb speaker crashloopbackoff
I want to expose a pod app to port 80, for that i have installed Metallb and configured a load balancer like this:
metallb-config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
…

Jaume Garcia Sanchez
- 190
- 12
1
vote
2 answers
Kubernetes nginx ingress controller as loadbalancer gets random ports
I'm trying to expose kubernetes dashboard publicly via an ingress on a single master bare-metal cluster. The issue is that the LoadBalancer (nginx ingress controller) service I'm using is not opening the 80/443 ports which I would expect it to…

David
- 2,109
- 1
- 22
- 27
1
vote
1 answer
k8s: forwarding from public VIP to clusterIP with iptables
I'm trying to understand in depth how forwarding from publicly exposed load-balancer's layer-2 VIPs to services' cluster-IPs works. I've read a high-level overview how MetalLB does it and I've tried to replicate it manually by setting…

morgwai
- 2,513
- 4
- 25
- 31