craigcondit opened a new pull request #307: URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/307
### What is this PR for? This is the start of build support for Kubernetes 1.20 (part of the YUNIKORN-872 umbrella). At this point, `make build` succeeds, but tests have not been updated yet as the patch is large enough already. Predicate support is completely broken and I have opened YUNIKORN-874 to address this. YUNIKORN-875 has been opened to fix unit test compilation. Other JIRAs will be needed for test coverage, stabilization, etc. I've broken this up in the interest of allowing more contributors to make progress in parallel. Spark operator support has been modified slightly to use internally generated API clients for the CRDs that spark-operator-k8s supports. This allows those stubs to be compatible with K8S 1.20 even though the upstream repo is stlil using older verisons. This should also make it easier to track newer K8S releases in the future. This accounts for the lion's share of the patch size. ### What type of PR is it? * [ ] - Bug Fix * [x] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/YUNIKORN-873 ### How should this be tested? Verified basic ability to schedule a pod on a local 1-node cluster. Lack of predicate support yet makes further testing more difficult. To be completed in follow-up JIRAs. ### Screenshots (if appropriate) ### Questions: * [ ] - The licenses files need update. * [ ] - There is breaking changes for older versions. * [ ] - It needs documentation. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
