# \#pre-flights

**URL:** https://community.replicated.com/tag/pre-flights/19.md

[Latest](https://community.replicated.com/latest.md) · [Categories](https://community.replicated.com/categories.md) · [Tags](https://community.replicated.com/tags.md)

---

## [Preflight and Support Bundles in subcharts](https://community.replicated.com/t/preflight-and-support-bundles-in-subcharts/1455)

<div class="topic-metadata">

**Author:** [@Brian](https://community.replicated.com/u/Brian)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 4:15pm UTC](https://community.replicated.com/t/preflight-and-support-bundles-in-subcharts/1455 "2024-11-18T16:15:04Z")

</div>

If I have a parent chart with multiple subcharts, and the subcharts define resources that I would like to check with pre-flight checks and use analyze to generate support bundles, do you recommend I create the pre-flight…

---

## [Detecting if its a fresh installation or an upgrade in preflight manifest](https://community.replicated.com/t/detecting-if-its-a-fresh-installation-or-an-upgrade-in-preflight-manifest/1231)

<div class="topic-metadata">

**Author:** [@Siddhant](https://community.replicated.com/u/Siddhant)\
**Replies:** 1\
**Last updated:** [June 27, 2023, 3:20pm UTC](https://community.replicated.com/t/detecting-if-its-a-fresh-installation-or-an-upgrade-in-preflight-manifest/1231 "2023-06-27T15:20:23Z")

</div>

Hello team, Is there any way to detect in preflight.yaml if the installation corresponding to the preflight checks is a fresh installation or an upgrade. The use case is that I would like to not run some preflight check…

---

## [System clock sync preflight check in airgap environment](https://community.replicated.com/t/system-clock-sync-preflight-check-in-airgap-environment/1075)

<div class="topic-metadata">

**Author:** [@zvikir](https://community.replicated.com/u/zvikir)\
**Replies:** 1\
**Last updated:** [December 21, 2022, 4:34pm UTC](https://community.replicated.com/t/system-clock-sync-preflight-check-in-airgap-environment/1075 "2022-12-21T16:34:14Z")

</div>

Hello, I have a single node airgap environment that is failing in the system clock synchronisation preflight check since there is no NTP server in the system. I was wondering if the best approach would be to disable th…

---

## [How Can I Conditionally Run a Preflight Check?](https://community.replicated.com/t/how-can-i-conditionally-run-a-preflight-check/744)

<div class="topic-metadata">

**Author:** [@Fernando\_Cremer](https://community.replicated.com/u/Fernando_Cremer)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 8:24am UTC](https://community.replicated.com/t/how-can-i-conditionally-run-a-preflight-check/744 "2022-11-30T08:24:49Z")

</div>

Question: I only want to run a specific set of preflight checks when a customer is deploying my app versus when our engineers deploy it. How can I set my analyzers so they only run in certain situations? Answer: All a…

---

## [Introduction to Custom App and Host Preflight Checks](https://community.replicated.com/t/introduction-to-custom-app-and-host-preflight-checks/870)

<div class="topic-metadata">

**Author:** [@dex](https://community.replicated.com/u/dex)\
**Replies:** 0\
**Last updated:** [July 16, 2022, 1:26am UTC](https://community.replicated.com/t/introduction-to-custom-app-and-host-preflight-checks/870 "2022-07-16T01:26:36Z")

</div>

Dropping a link here since I get a lot of questions from folks looking for an introduction to and advice around getting rolling with preflight checks. @Alex\_Parker does a great job reviewing these in his Q2 2022 Replicon…

---

## [In a preflight/support bundle collector, can I see if there are any pods that match a label?](https://community.replicated.com/t/in-a-preflight-support-bundle-collector-can-i-see-if-there-are-any-pods-that-match-a-label/984)

<div class="topic-metadata">

**Author:** [@MrSimonEmms](https://community.replicated.com/u/MrSimonEmms)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 3:02am UTC](https://community.replicated.com/t/in-a-preflight-support-bundle-collector-can-i-see-if-there-are-any-pods-that-match-a-label/984 "2022-09-28T03:02:39Z")

</div>

I’d like to create a preflight check that alerts users if one-or-more pod exist with the label component=workspace. I don’t care about the exact number, just so long as it’s greater than one. My initial thought was to u…

---

## [How Can I Use License Custom Fields Value in a Pre-Flight Check?](https://community.replicated.com/t/how-can-i-use-license-custom-fields-value-in-a-pre-flight-check/624)

<div class="topic-metadata">

**Author:** [@Fernando\_Cremer](https://community.replicated.com/u/Fernando_Cremer)\
**Replies:** 0\
**Last updated:** [December 29, 2021, 3:34pm UTC](https://community.replicated.com/t/how-can-i-use-license-custom-fields-value-in-a-pre-flight-check/624 "2021-12-29T15:34:51Z")

</div>

The short answer is YES! Let’s illustrate how to do this with a somewhat contrived example. Let’s say we want to license our product based on the number of nodes in the cluster. When we run a pre flight check, or even a…
