Comments (2)
Hi @tarunfeb27
The microk8s installer creates a multipass VM on the macOS machine, which uses a local bridge for networking. In order to reach the multipass VM from another host in your network, things you can do include (admittedly, all of them come with shortcomings and tradeoffs between simplicity/stability):
- If the microk8s VM is running on
192.168.50.111
and uses the local bridge192.168.64.0/24
, you can tell your other machines on the network to route the traffic by doing the equivalent of:
ip route add 192.168.64.0/24 via 192.168.50.111
-
Edit the multipass configuration of the machine, to add an extra network interface on the host network. This would make the multipass VM get an extra IP in the
192.168.50.0/24
subnet. Then, you can replace the IP in the kubeconfig file and use that from a remote machine. -
Create a port forward configuration on your macOS machine that forwards traffic to the multipass VM port 16443. That way, other machines on your network can just reach microk8s at
192.168.50.111:16443
Which of the above helps most depends on your setup and use-case.
from microk8s.
@neoaggelos Thank you so much ! Worked using the route option on my machine.
Please close. :)
from microk8s.
Related Issues (20)
- Traceback on `microk8s.enable dns`: `subprocess.CalledProcessError` HOT 1
- If NetworkManager is running connectivity-checks expect some suspicious looking logs
- add_token script creates small token sizes HOT 1
- Unable to install using brew on Mac M1. Download error HOT 4
- "Address not allowed" when trying to get stats summary of the node HOT 1
- Issue with pulling an image from the microk8s registry
- v1.29/stable not working on hetzner HOT 5
- how to update metaalb address range HOT 1
- The Microk8s Addon's GPU is not working. HOT 1
- traefik-dashboard pod not created after `microk8s enable traefik` HOT 1
- Expose port on host machine problem HOT 1
- microk8s Off-line installation fails on RHEL 9.3 HOT 7
- launch failed: Cannot open image file for computing hash HOT 2
- [MinIO addon] console pod goes into ImagePullBackOff HOT 5
- Microk8s clustering, Connection Filed, Invalid Token (500) error only when joining cluster with --worker flag in 1.30/stable HOT 1
- Status --wait-ready never ends HOT 1
- Installation of 1.30/stable on debian-12-genericcloud-amd64.qcow2 fails HOT 12
- Question: why microk8s.ctr shows additional container images tagged by hash HOT 1
- Join microk8s nodes in multipass VMs from two different physical machines on the same local network
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.