-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the capability for controller level checks (#285)
* Add controller level checks * Add check for multipleReplicas * Fixed spec * Add controller level check * Move controller schema checks to their own function.
- Loading branch information
baderbuddy
authored
May 18, 2020
1 parent
de98d9f
commit d50d9c8
Showing
13 changed files
with
240 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
successMessage: Multiple replicas are scheduled | ||
failureMessage: Only one replica is scheduled | ||
category: Reliability | ||
target: Controller | ||
controllers: | ||
include: | ||
- Deployment | ||
schema: | ||
'$schema': http://json-schema.org/draft-07/schema | ||
type: object | ||
required: | ||
- Object | ||
properties: | ||
Object: | ||
type: object | ||
required: | ||
- spec | ||
properties: | ||
spec: | ||
type: object | ||
required: | ||
- replicas | ||
properties: | ||
replicas: | ||
type: integer | ||
minimum: 2 |
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
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
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
Oops, something went wrong.