Running Preflights

How to run preflights

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see

Before you can run preflight checks, you need to have a client-only component available. Nothing needs to be installed in the cluster. The Preflight client utility is packaged as a kubectl plugin, and can be installed using krew. For instructions on how to install krew, visit

If you have krew installed, the next step is to install the Preflight plugin:

kubectl krew install preflight
kubectl preflight <uri/path>

Once it’s installed, you can test it by running a set of sample preflight checks against your cluster:

kubectl preflight

This will connect to the cluster defined in your local kubecontext, and collect some basic information about the cluster. After it’s finished, it will show the results in a terminal based UI, highlighting the passed checks in green, the warning checks in yellow and the failed checks in red. The up and down arrow keys will select different checks, showing information messages and URLs to click for more information.