Provide guidelines specifying why and how to set up a webhook to run ops readiness tests
tzifudzi opened this issue · 0 comments
What would you like to be added?
To guarantee that pods are appropriately scheduled on Windows nodes, a webhook can be added as a mechanism to ensure that pods are always scheduled on Windows nodes. Efforts were previosly made to attempt to update upstream e2e tests but it is not practical to attempt to update all usptream tests, because of the sheer amount of tests as well as the different ways in which their code is written. While a long term solution directly in the tests is performed, a webhook can assist in the interim and we should either create a webhook of our own or repurpose an existing one.
Why is this needed?
Running a webhook alongside ops readiness tests is of paramount importance to ensure the successful scheduling of pods on Windows nodes. If not done, it will result in false positives or false negatives whereby a test fails or passes because it was incorrectly scheduled.