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
1
vote
1 answer

Send and receive data to ZeroMQ socket from outside cluster using load balancer kubernetes

I have a service that is using a load-balancer in order to expose externally a certain IP. I am using metallb because my cluster is bare metal. This is the configuration of the service: Inside of the cluster the application running perform a…
panurjoma
  • 13
  • 3
1
vote
0 answers

How To Consume an API From a Nodemcu (ESP8266 WiFi Module)

I have configured a Kubernetes kind cluster to run a flask API. The flask App when run locally with flask run produces an IP which is the local machine assigned IP from the local network (192.168.100.19). My Nodemcu which also has an IP of…
sam hassan
  • 197
  • 3
  • 14
1
vote
0 answers

ingress give 404 response for .js and .css files

I'm trying to connect my web service using ingress on bare metal kubernetes with metallb. Since I'm trying to service at least to different service, but I only have one possible ip address. I set rules for ingress as follows: apiVersion:…
Xaviere
  • 121
  • 1
1
vote
2 answers

Exposing Service from a BareMetal(Kubeadm) Kubernetes Cluster to outside world

Exposing Service from a BareMetal(Kubeadm) Build Kubernetes Cluster to the outside world. I am trying to access my Nginx as a service outside of the cluster to get NGINX output in the web browser. For that, I have created a deployment and service…
1
vote
1 answer

How to make an app accessable over the internet using Ingress or metalLB on bare metal

I'm running a k8s cluter with one control and one worker node on bare metal ubuntu machines (IPs: 123.223.149.27 and 22.36.211.68). I deployed a sample app: kubectl create deployment nginx --image=nginx kubectl expose deploy nginx --port 80…
user3142695
  • 15,844
  • 47
  • 176
  • 332
1
vote
3 answers

Kubernetes Nginx-Ingress Host-Based Routing works, while Path Based Routing doesn't work

I am running a 2-node K8s cluster on OVH Bare Metal Servers. I've set up MetalLB and Nginx-Ingress.The 2 servers both have public IPs and are not in the same network segment. I've used one of the IPs as the entrypoint for the LB. The deployments I…
1
vote
0 answers

how to fix problem with metallb validating webhook

I just trying to install metallb using manifest just like described at https://metallb.universe.tf/installation/ My setup is a fresh setup k8s master node only. No worker joined to the cluster yet. No error found for --> kubectl apply -f…
Bino Oetomo
  • 571
  • 1
  • 10
  • 23
1
vote
1 answer

K8s metallb load balancer IP not reachable sometimes

I have on-premise k8s cluster with 3 masters and 4 workers. Metallb is installed and DHCP is provided for him from the same network as on-premise cluster IPs. I tried to start Kubernetes Dashboard app in the cluster and everything is working fine…
Just
  • 33
  • 6
1
vote
0 answers

Microk8s - LoadBalancer master api server

I have setup a microk8s HA cluster with 3 nodes. Among other things I have also enabled metal lb successfully. How should I configure the api server so that's actually LoadBalanced? microk8s config generates generates a different kubeconfig file for…
1
vote
1 answer

Metallb multiple ip(nic) in Layer 2 config

i have an on-premise kubernetes cluster setup with 1 master and 2 workernodes. I have two adress-ranges where master and workernodes having ips in boths nets. Master (192.168.0.10 and 192.168.1.10), node1 (192.168.0.11 and 192.168.1.11), node2…
Thomas
  • 53
  • 1
  • 7
1
vote
2 answers

UDP load-balancing with Metallb and Microk8s

I installed MicroK8s on two Ubuntu 20.04 systems. One is assigned as the CP and I joined the second system as a node to the cluster. I am trying to spin up a couple of pods with syslog-ng to consume syslog traffic on port UDP/514. I am generating…
Palezvar
  • 15
  • 2
1
vote
0 answers

MetalLB unable to reach external IP address

I have a 3 nodes Rancher RKE custom cluster deployed on Rocky Linux VMs on vSphere. I deployed MetalLB on the cluster and define IP pool from my node network. When I create a LoadBalancer service everything looks fine and I'm getting external IP…
1
vote
0 answers

IP provided by metallb is not accessible

I have a bare-metal Kubernetes cluster with metal LB. I have used a GCP external Load balancer for an IP that I have assigned to Metallb. Metallb has assigned that IP to service but still I am not able to access my service on that IP from outside…
ripuvendra
  • 11
  • 3
1
vote
0 answers

k3s MetalLB ingress-nginx bare metal server ingress problem

I have tentatively decided upon Kubernetes, ideally with Rancher, so I can readily spin up and take down containerised applications and run web servers etc on my home office setup. I have a fairly normal internet setup with a router connected to…
Boo
  • 29
  • 2
1
vote
1 answer

Kubernetes ingress css and jv not found

I created a kubernetes cluster using kubeadm. Services are declared as ClusterIP. At the moment I'm trying to deploy my app as ingress of type loadbalancer with Metallb but I faced some problems. If I deploy my app as ingress some jv and css…