Comments (5)
Hello,
Have you checked the doc[0] with the metallb/ingress examples?
Using the doc, my lab below:
kubectl get svc -n ingress
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress LoadBalancer 10.152.183.94 192.168.8.100 80:30440/TCP,443:32443/TCP 42s
[0] https://microk8s.io/docs/addon-metallb
from microk8s.
Hi @JCzz
Note that the IP address of the ingress is purely informative. You can access the ingress using any of the node IPs.
from microk8s.
Hi @JCzz sorry for taking long to reply here.
So, microk8s enable ingress
deploys nginx-ingress
with the daemonset mode, which means that you can use ports 80 and 443 on any cluster node to access the services, no need to get a separate loadbalancer service.
If you create more than one ingress (and there is no conflicts between them), then they will work as expected.
80:30440
is just a port mapping that Kubernetes creates for the services, you can consider this an implementation detail.
from microk8s.
Thanks both @neoaggelos and @pedrofragola
I do in fact have:
kubectl get svc -n ingress
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress LoadBalancer 10.152.183.94 192.168.8.100 80:30440/TCP,443:32443/TCP 42s
Sorry, I did not mention this as I disregarded it as I can't see how it is a "normal" ingress.
The yaml configuration is as a service as described here:
https://microk8s.io/docs/addon-metallb
- But I dont see any way to define the path?
- What if I need more than one ingress
- Also why pointing at 80:30440, but maybe this has to du with what @neoaggelos mentioned - it is only informative?
So I looked at this:
https://microk8s.io/docs/addon-ingress
hoping that it would pickup from the metallb and create an external ip(I have seen this for cloud providers).
- But this one, is the one creating an ingress for 127.0.0.1 and not using metallb.
from microk8s.
Thanks @neoaggelos
from microk8s.
Related Issues (20)
- join command with hostname misconfigures dqlite and puts it in error state
- Problem running a container witth mounted empty dir with memory medium
- MicroK8s 1.28.3 node not ready
- Can't get nvidia-smi to work in a pod HOT 1
- Is it Possible to Change the Expiry Dates in DLL files HOT 2
- CVE-2024-21626 Vulnerability: Attac/Access to HOST Filesystem via "runc" Leak for versions 1.26 - 1.29 HOT 3
- microk8s connect-external-ceph
- DNS resolving only works for the node coredns pod is on HOT 2
- re-enabling ha-cluster renders the cluster unusable
- nfs fails to mount with "bad option"
- Raspberry Pi pods stuck in: failed to create shim task: OCI runtime create failed ... unified resource "memory.oom.group" can't be set HOT 1
- microk8s is not running. Use microk8s inspect for a deeper inspection.
- Creating two containers of WSO2 Apim (Active-Active Setup) HOT 1
- Snap install fails on long hostnames HOT 1
- Enable cilium addon fails in multinode cluster HOT 1
- microk8s is not running - on a 4 node Rasp Pi 3 B+ cluster HOT 2
- Microk8s can't get swap to enable HOT 2
- Fresh install of microK8s won't come up HOT 3
- Can't apply some K8s manifests because of undefined symbol and GLIBC_PRIVATE HOT 1
- Cannot enable gpu addon on aarch64 instances (aws g5g.metal) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microk8s.