Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helm chart #124

Merged
merged 3 commits into from
Jan 14, 2021
Merged

Add helm chart #124

merged 3 commits into from
Jan 14, 2021

Conversation

cephasara
Copy link

Adds helm chart support for Kubernetes with minimal documentation.

What works:

  1. Setting cpu/memory options
  2. Setting VNC password
  3. Persistance
  4. Setting SMBIOS
  5. QEMU/virtio cpu changes
  6. Toggling Audio
  7. Additional port forwarding
  8. Kubernetes resource requests/limits
  9. Defining install partition size

What doesn't/isn't defined:

  1. Defining a different version of macOS
  2. Additional QEMU parameters
  3. GPU support

I have written this to leverage everything defined in the Dockerfiles, without making changes to them directly, but via Kubernetes configmaps instead. This makes it easier to merge into the existing codebase without breaking anything, albeit this is less optimized as it could be. For example, mac_hdd_ng.img is created twice [once in the Dockerfile itself and again with the Kubernetes configmap] as this allows us to update parameters and to maintain persistence.

I just want to share this in case anyone else would like to use this and contribute to it. It is by no means perfect--as it has been a hobbyist project for me, but a good starting point for anyone else whom might like to pick it up.

@sickcodes
Copy link
Owner

Thanks for this! I will take a look shortly!

Copy link
Owner

@sickcodes sickcodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is insane!

@sickcodes sickcodes merged commit a9a7863 into sickcodes:master Jan 14, 2021
@sickcodes
Copy link
Owner

Thank you so much for this!

@sickcodes
Copy link
Owner

sickcodes commented Jan 14, 2021

Should I now register this at Helm? Or will you do the honors?

Edit: not sure how to, on mobile, will give it a whirl in a few hours

Edit: https://artifacthub.io/packages/helm/docker-osx/docker-osx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants