TaoYang526 commented on a change in pull request #81: [YUNIKORN-28] Support validating yunikorn-configs before admitting it URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/81#discussion_r390700026
########## File path: deployments/admission-controllers/scheduler/README.md ########## @@ -56,6 +59,28 @@ kubectl get pod task0 -o yaml you'll see the `schedulerName` has been injected with value `yunikorn`. +#### Validations + +After the admission controller is started, the config-map named `yunikorn-configs` can be validated + before it's created or updated, thus update/creation request with invalid content will be denied immediately and + the error cause will be returned to the client. Review comment: Sure, that's more clear. Thanks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
