Documentation for limayaml #1489
Replies: 3 comments 9 replies
-
Maybe json schema could be used (for documenting yaml), both for validation and visualization? https://json-schema-everywhere.github.io/yaml It has some nice tools, like: https://github.com/coveooss/json-schema-for-humans |
Beta Was this translation helpful? Give feedback.
-
I'm not sure why you had to read the source code for this. Isn't the documentation in Lines 303 to 348 in b03835d This can certainly be improved, but I don't think having a separate file documenting this would really help much, and would be harder to keep up-to-date. Or were you not aware that the settings are documented in |
Beta Was this translation helpful? Give feedback.
-
Thinking out loud, a troubleshooting.md doc would be nice. My use case would seem common: start up two identical VMs to compare apps. identical VMs will have port conflicts so a quick q&a on how to set ports would be helpful. |
Beta Was this translation helpful? Give feedback.
-
This comment is about SSH port forwards, specifically, but all of lima.yaml generally.
I started up two k3s instances simultaneously. They both wanted to port-forward 6443. However, with this conflict, only one was able to do so. I resolved this by changing the port-forwarding options on the second VM:
In order to accomplish this, I had to read through limayaml's default.go and limayaml.go. It'd be nice if this were documented in a better form.
I'm happy to help with this. However, I wanted to discuss the form this should take.
godoc is the communities preference for technical, api-focused documentation. I'm not sure if there's something better to create end-user documentation. A static markdown doc could get this work started, but I'm not sure of the appetite for keeping a separate file up-to-date.
Beta Was this translation helpful? Give feedback.
All reactions