Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Refactor config reference docs #368

@johananl

Description

@johananl

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 variable block 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 backend block in the reference.
  • Break down the attribute reference table. I find the section.attribute syntax confusing. I'd rather have a section for each config area. For example, worker_pool knobs should be described in their own table.
  • Remove the "Applying" and "Destroying" sections. These don't belong in a config reference.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions