chore: Improve a sync with replace warning (#14161) (#20638)

Helps with #14161

Tell more about possible practical implications of sync with replace such as pods scaling down to min replicas.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
This commit is contained in:
Andrii Korotkov
2024-11-07 08:30:57 -08:00
committed by GitHub
parent 17c412e3f3
commit 3c366edc24

View File

@@ -5,7 +5,7 @@ import * as ReactForm from 'react-form';
import './application-sync-options.scss';
export const REPLACE_WARNING = `The resources will be synced using 'kubectl replace/create' command that is a potentially destructive action and might cause resources recreation.`;
export const REPLACE_WARNING = `The resources will be synced using 'kubectl replace/create' command that is a potentially destructive action and might cause resources recreation. For example, it might cause a number of pods to be reset to the minimum number of replicas and cause them to become overloaded.`;
export const FORCE_WARNING = `The resources will be synced using '--force' that is a potentially destructive action and will immediately remove resources from the API and bypasses graceful deletion. Immediate deletion of some resources may result in inconsistency or data loss.`;
export const PRUNE_ALL_WARNING = `The resources will be synced using '--prune', and all resources are marked to be pruned. Only continue if you want to delete all of the Application's resources.`;