The Replicated Troubleshoot project provides a Preflight spec that KOTS integrates with to make an application’s cluster dependencies explicit. This enables KOTS and the Admin Console to provide Cluster Operators with clear feedback on any missing requirements or incompatibilities in the target environment before an application is deployed. This custom resource is optional for KOTS applications.
Preflight checks can even be run independently, via the Preflight kubectl plugin.
A Preflight kind is a Collectors and an Analyzers spec in one document.
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Preflight
metadata:
name: sample
spec:
collectors: []
analyzers: []