-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
speed up overwrites for cluster upgrades to reach a certain version level. based on design doc https://gitlab.cee.redhat.com/service/app-interface/-/merge_requests/100465 part of SDE-3696 Signed-off-by: Gerd Oberlechner <[email protected]>
- Loading branch information
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
"$schema": /metaschema-1.json | ||
version: '1.0' | ||
type: object | ||
|
||
additionalProperties: false | ||
properties: | ||
"$schema": | ||
type: string | ||
enum: | ||
- /openshift/cluster-upgrade-fast-path-1.yml | ||
description: | ||
type: string | ||
towardsVersions: | ||
description: | | ||
List of versions or version regexes that the cluster needs to | ||
upgrade towards. Once a cluster reaches or surpasses on of these | ||
versions, the effect of the upgrade fast path is disabled. | ||
type: array | ||
items: | ||
type: string | ||
schedule: | ||
description: | | ||
The allowed maintenance window for cluster upgrades while the fast | ||
path upgrade policy is in effect. If present, this schedule overwrites | ||
the one from the cluster upgrade policy. The schedule is a cron-like | ||
expression. | ||
type: string | ||
pattern: '(((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*) ?){5}' | ||
speedUpFactor: | ||
description: | | ||
The speed up factor scales down the required soak days for a version | ||
on a cluster. | ||
type: integer | ||
required: | ||
- towardsVersions | ||
- speedUpFactor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters