[3821] Remove deprecated Host Path, NFS, and EBS support for Kubernetes (#3825) helm-update 0.20.5-incubating-rc2
authorSaad Ur Rahman <surahman@users.noreply.github.com>
Sat, 7 May 2022 15:30:27 +0000 (11:30 -0400)
committerGitHub <noreply@github.com>
Sat, 7 May 2022 15:30:27 +0000 (11:30 -0400)
commitdc2d9f675a85effcaa74cba6c8fff8451597e146
treedd9d9887bebc62a8a1b8f02a362480a2c3644355
parentc18ff1b108f026fc2028391015252f46ebd6948a
[3821] Remove deprecated Host Path, NFS, and EBS support for Kubernetes (#3825)

* Removed deprecated loading of EBS, NFS, and Host Path via topology configurations for Kubernetes.

* Refactored creation of NFS, Host Path, Empty Directory, and Persistent Volume Claims (templates and volumes) for Kubernetes to a hybrid-factory pattern for volume generation.
heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesContext.java
heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/V1Controller.java
heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/Volumes.java
heron/schedulers/tests/java/org/apache/heron/scheduler/kubernetes/V1ControllerTest.java
heron/schedulers/tests/java/org/apache/heron/scheduler/kubernetes/VolumesTests.java