This repository was archived by the owner on Jan 9, 2020. It is now read-only.
Commit 2e992be
Access the Driver Launcher Server over NodePort for app launch + submit jars (#30)
* Revamp ports and service setup for the driver.
- Expose the driver-submission service on NodePort and contact that as
opposed to going through the API server proxy
- Restrict the ports that are exposed on the service to only the driver
submission service when uploading content and then only the Spark UI
after the job has started
* Move service creation down and more thorough error handling
* Fix missed merge conflict
* Add braces
* Fix bad merge
* Address comments and refactor run() more.
Method nesting was getting confusing so pulled out the inner class and
removed the extra method indirection from createDriverPod()
* Remove unused method
* Support SSL configuration for the driver application submission (#49)
* Support SSL when setting up the driver.
The user can provide a keyStore to load onto the driver pod and the
driver pod will use that keyStore to set up SSL on its server.
* Clean up SSL secrets after finishing submission.
We don't need to persist these after the pod has them mounted and is
running already.
* Fix compilation error
* Revert image change
* Address comments
* Programmatically generate certificates for integration tests.
* Address comments
* Resolve merge conflicts
* Fix bad merge
* Remove unnecessary braces
* Fix compiler error1 parent 3b5901a commit 2e992be
File tree
10 files changed
+637
-252
lines changed- core/src/main/scala/org/apache/spark/deploy/rest
- docs
- resource-managers/kubernetes
- core/src/main/scala/org/apache/spark
- deploy
- kubernetes
- rest/kubernetes
- scheduler/cluster/kubernetes
- docker-minimal-bundle/src/main/docker/driver
- integration-tests
- src/test/scala/org/apache/spark/deploy/kubernetes/integrationtest
- sslutil
10 files changed
+637
-252
lines changedLines changed: 27 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | | - | |
| 23 | + | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
86 | 100 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
135 | 153 | | |
136 | 154 | | |
137 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
334 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
335 | 340 | | |
336 | 341 | | |
337 | 342 | | |
| |||
0 commit comments