Skip to main content

Preflight

The open source Troubleshoot project provides a Preflight custom resource that the Replicated app manager integrates with to make an application's cluster dependencies explicit.

For more information, see Introduction in the Troubleshoot documentation.

This enables the app manager and the Replicated admin console to provide cluster Operators with clear feedback on any missing requirements or incompatibilities in the target environment before an application is deployed.

The Preflight custom resource is optional.

You can also run preflight checks independently with the Preflight kubectl plugin.

A Preflight custom resource manifest file is a collector and an analyzer specification in one manifest. The following is an example manifest file for the Preflight custom resource:

apiVersion: troubleshoot.sh/v1beta2
kind: Preflight
metadata:
name: sample
spec:
collectors: []
analyzers: []

For more information about collectors and analyzers, see Collectors and Analyzing Data in the Troubleshoot documentation.