-
Notifications
You must be signed in to change notification settings - Fork 376
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
docs: Add dev setup instructions for Apple silicon Macs #3231
Conversation
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks that's a great addition! I have a comment, let me know what you think. I think you don't need to change what you submitted but just as food for thoughts. Or maybe putting a little warning.
```shell | ||
brew install lima | ||
limactl create --tty=false --name=tetragon \ | ||
--set='.vmType = "vz" | .nestedVirtualization = true | .mounts[] |= (select(.location == "~") | .writable = true)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think vz might be the default now with lima 1.0, and that nestedVirt is not strictly needed in our situation. Also not sure if it's a good idea to recommend mounting the whole home folder as writable, I think they made it read only in the past because of potential issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool i'll update it.
i guess there is a way to only make the tetragon directory writable? 💭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just created this #3237 for using warning
and note
, I think that looks more native to the docs :)
Signed-off-by: Michi Mutsuzaki <[email protected]>
dc5e08c
to
212aa9c
Compare
deploy preview => https://deploy-preview-3231--tetragon.netlify.app/docs/contribution-guide/development-setup/#local-development-with-apple-silicon-mac