kodekloudhub / certified-kubernetes-administrator-course

Certified Kubernetes Administrator - CKA Course
7.97k stars 7.64k forks source link

Apple m1 support #113

Closed jtprichett closed 11 months ago

jtprichett commented 1 year ago

Hello!

I recently took the Kubernetes for the Absolute Beginners - Hands-on course, and working through section 12, the provided repo Vagrantfile does not work for Apple M1 Pro machines.

I completed the section with no issues with the updated Vagrantfile and decided to contribute it back to the repository for others.

I also created a complementary repository to install vagrant and VMware fusion for folks needing guidance/help since many of the resources are stale.

Here is a link to that repo: https://github.com/jtprichett/setup-vagrant-apple-m1

Let me know what I can do to contribute.

csbertran commented 1 year ago

Hello!

I recently took the Kubernetes for the Absolute Beginners - Hands-on course, and working through section 12, the provided repo Vagrantfile does not work for Apple M1 Pro machines.

I completed the section with no issues with the updated Vagrantfile and decided to contribute it back to the repository for others.

I also created a complementary repository to install vagrant and VMware fusion for folks needing guidance/help since many of the resources are stale.

Here is a link to that repo: https://github.com/jtprichett/setup-vagrant-apple-m1

Let me know what I can do to contribute.

Hi @jtprichett I tried to set it up in my M1 Macbook but when I try to vagrant up I face this issue:

An error occurred while executing 'vmrun',  a utility for controlling
VMware machines. The command and output are below:

Command: ["-T", "player", "list", {:notify=>[:stdout, :stderr]}]

Stdout: Invalid host type 'player' specified
Error: The operation is not supported

Stderr: 

Do you have any idea what could be wrong? I installed VMWare Fusion 13 correctly

fireflycons commented 1 year ago

Hi @csbertran @jtprichett

We have recently released an alternative way to set up a kubeadm cluster on M1 using multipass https://github.com/kodekloudhub/certified-kubernetes-administrator-course/tree/master/apple-silicon