eks-distro icon indicating copy to clipboard operation
eks-distro copied to clipboard

Run EKS-D on microk8s on MacOS

Open svaranasi-corporate opened this issue 5 years ago • 6 comments

What would you like to be added: I'd like to run EKS-D on microk8s on MacOS.

Why is this needed: This page: https://aws.amazon.com/blogs/opensource/introducing-amazon-eks-distro/, mentions being able to use microk8s to deploy an EKS-D compatible cluster.

Clicking through that link brings me here: https://snapcraft.io/eks

However, there is no 'snap' support on MacOS. On MacOS microk8s is installed via 'HomeBrew'.

I couldn't find equivalent instructions for microk8s on MacOs. If all I have to do is pass a channel name on microk8s launch, I didn't find it documented.

svaranasi-corporate avatar Dec 08 '20 16:12 svaranasi-corporate

Thanks, I'll do some research on this.

TerryHowe avatar Dec 14 '20 23:12 TerryHowe

As you probably know, you can install microk8s https://ubuntu.com/tutorials/install-microk8s-on-mac-os#1-overview on mac using brew. I've only run it on Ubuntu. I don't think Snap is going to be happening, but that is something to take up with Canonical.

TerryHowe avatar Dec 24 '20 13:12 TerryHowe

As you probably know, you can install microk8s https://ubuntu.com/tutorials/install-microk8s-on-mac-os#1-overview on mac using brew. I've only run it on Ubuntu. I don't think Snap is going to be happening, but that is something to take up with Canonical.

This issue isn't about getting Snap support on MacOS. That may never happen.

MicroK8S has documentation here with instructions for switching to a different k8s channel.

While the snap instructions to select 1.20 are: snap install microk8s --classic --channel=1.20/stable

the instructions for macOS would be: microk8s install --channel=1.20/stable, which to be honest, is also poorly documented.

However, neither Ubuntu nor AWS has documented which channel (if there is one) to choose to deploy EKS-D via microK8S.

AWS has clearly worked with Ubuntu to get EKS-D to work with microK8S, so the community would naturally expect AWS to provide an answer. I'm sure many were/are excited at the prospect of being able to run an EKS-like cluster on their own machines.

svaranasi-corporate avatar Dec 24 '20 15:12 svaranasi-corporate

It may be useful for reference to look at how Canonical did their integration which is in the Canonical EKS snap repo

I've only used microk8s on Ubuntu, but it would be nice to have the option documented.

TerryHowe avatar Dec 26 '20 16:12 TerryHowe

@ktsakalozos do you have any advice here as to which channel should be used to get the eks-d based distro?

jaxesn avatar Jan 05 '21 15:01 jaxesn

Sorry for the late response.

To get any snap on MacOS you need a Linux VM. After you have a VM you can snap install eks --classic --channel=1.18/edge.

ktsakalozos avatar Jan 13 '21 21:01 ktsakalozos