Teams must document deployment requirements in a clear & consistent way
NOTICE
This decision has been migrated to the Technical Council's Decision Log as part of a consolidation effort. See: DR-000020 - Teams must document deployment requirements in a clear & consistent way
Overview
One pain point identified during the Iris bugfest retrospective was that some modules have specific deployment requirements which were essentially undocumented. A few examples include:
- Environment variables and Java options
- Secrets that need to be provisioned in secret storage
- Dependencies on external infrastructure (Elasticsearch, Kafka, MinIO/S3, etc.)
- Load balancer requirements - some modules don't use HTTP and require a load balancer which can work w/ arbitrary TCP traffic
- Non-standard health check endpoints
Considerations
- Environment variables must be specified in the
LaunchDescriptor
section of theModuleDescriptor
.- Adding a
description
field would allow teams to provide context directly in the module descriptor, which is also used to generate docker hub documentation. This would give us information similar to the info captured in the README files of some module, e.g
- Adding a
- One drawback of using the wiki is that it's more or less free-form and could be difficult to find what you're looking for unless conventions are defined and strictly followed.
- Some modules have documented deployment requirements in their modules README file. This too is more or less free-form, but makes it easier to find since it's located in a standard place (top level of the module repo)
- This effort should be coordinated with SysOps SIG. It isn't surprising that they have a similar request for this type of documentation.