forked from volcano-sh/volcano
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
【Issue volcano-sh#57】【BUG2019040101375 】【BUG2019032102153 】增加policy中action和events的校验,去掉RestartTask action 单号: BUG2019040101375; BUG2019032102153 特性/模块名称: volcano-admission 修改原因: 1. policy中RestartTask action配置后不生效 2. policy中action和event缺少校验 修改内容: 1. RestartTask未被state实现,去掉这个action 2. 增加policy中可配置action和event的校验,action的可取值为"AbortJob","RestartJob","TerminateJob","CompleteJob","ResumeJob" events的可取值为"*","PodFailed","PodEvicted","Unknown",“TaskCompleted” 自验情况 自验通过 验证yaml [policy.yaml](/uploads/2d684ceab9b5a399571c4aff233e790b/policy.yaml) 验证结果 ![image](/uploads/13973e45fd75d45b611791fd039488be/image.png) ![image](/uploads/d0b9cb5e7a501dc87d53f78a4ac29477/image.png) Issues info: Issue ID: 57 Title: 【BUG2019040101375 】restartTask不生效【BUG2019032102153 】envents/action组合不合理 Issue url: CBU-PaaS/Community/volcano/volcano#57 See merge request CBU-PaaS/Community/volcano/volcano!92
- Loading branch information
Showing
6 changed files
with
82 additions
and
13 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
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