This repository was archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
Refactor config reference docs #368
Copy link
Copy link
Open
Labels
kind/documentationIssues about documentationIssues about documentationkind/enhancementNew feature or requestNew feature or request
Description
The configuration reference docs currently contain lots of extra information and are missing some other information.
IMO, the critical information a config reference should describe is the configuration syntax and a list of all the knobs with an explanation about each one of them.
Looking at this for example, we should probably change the following:
- Remove the "Introduction" and "Prerequisites" sections. These are useful in a tutorial but have no real meaning in a reference guide AFAICT (e.g. prerequisites for what? For reading the document?).
- Add a section explaining the directory structure expected by lokoctl. For example, if we allow reading multiple .lokocfg files from the CWD, we should explicitly note it.
- Change the "Configuration" section to "Configuration Syntax" and explain the syntax. This means explaining the high-levle structure of a .lokocfg file and its various sections.
- Clean up the config sample. There is no value in including a
variableblock for each and every config knob. Rather, we should demonstrate the use of HCL variables in the "Configuration Syntax" section once, and then keep things simple in the rest of the document. Also, we should remove all the extra whitespace in the sample. - Cover all of the config knobs. For example, right now there is no information regarding the
backendblock in the reference. - Break down the attribute reference table. I find the
section.attributesyntax confusing. I'd rather have a section for each config area. For example,worker_poolknobs should be described in their own table. - Remove the "Applying" and "Destroying" sections. These don't belong in a config reference.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/documentationIssues about documentationIssues about documentationkind/enhancementNew feature or requestNew feature or request