Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

minikube on unraid - using existing custom networks

Featured Replies

I'm looking to get minikube working with either my custom docker macvlan network or a similar macvtap network for a KVM guest.

 

Out of the box minikube works with either the docker or kvm drivers but the default network makes the dashboard inaccessible.  Has anyone had any success at this?

 

I've tried specifying custom network parameters but it would seem minikube isn't happy with them and ignores them and creates its own

 

I've seen the other post here in this forum with a guide on this but thats not a direction I want to take ideally given its manual setup of KVM guests.

 

Any insight would be appreciated.

Solved by KillerK

  • 1 month later...
  • Author
  • Solution

***Health warning*** I'm still learning k8s so there may be concerns with my solution. 

 

My reasons for doing this were to get away from using minikube on my Windows workstation, the course I was following was written for linux hosts and I was fed up with having to hack around the material to work in Windows.  I had my unraid server with both docker and kvm enabled so I wanted to be able to follow the courseware using that.

 

So after lots of failed attempts and reading I gave up with attempting to get minikube to use a macvtap network, I don't believe its possible by design.  Instead I focused on how to get the dashboard accessible via the bridge networks using minikubes docker or kvm2 driver.

 

Start minikube on the unraid server as normal (--force needed as unraid is root by default which minikube complains about):

minikube start --force --driver=docker

 

We cannot use the minikube binary to invoke the dashboard as there is no way I've found to enable remote access/get the local proxy instance listening to anything other than 127.0.01.  So to bypass minikuke first manually enable the needed addons:

minikube addons enable dashboard
minikube addons enable metrics-server

 

To then get to the k8s web dashboard from a remote client, instead of running 'minikube --dashboard' use:

kubectl proxy --address=0.0.0.0 --port=freeport --accept-hosts='.*'

This does allow you to configure the proxy to accept remote connections (--address=0.0.0.0) and means the dashboard url (http://unraid-server-ip:freeport/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/) will now work with clients on your local subnet.

Edited by KillerK

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.