Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

[WIP] Extract constants #62

Closed
wants to merge 17 commits into from

Conversation

mccheah
Copy link

@mccheah mccheah commented Jan 28, 2017

Closes #47.

- 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
Method nesting was getting confusing so pulled out the inner class and
removed the extra method indirection from createDriverPod()
* 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
@mccheah
Copy link
Author

mccheah commented Jan 28, 2017

Still more to do but this illustrates the general concept. Note this is an addition to #30 because #30 introduces a number of additional parameters and constants that I wanted to capture in this refactor.

@mccheah
Copy link
Author

mccheah commented Jan 30, 2017

Ah we have to change the base branch - we merged the other thing first!

@mccheah mccheah closed this Jan 30, 2017
@foxish
Copy link
Member

foxish commented Jan 30, 2017

@mccheah Sorry! I didn't realize this one was dependent on the nodeport PR.

@foxish
Copy link
Member

foxish commented Jan 30, 2017

It is possible to change the branch that it targets from the github UI IIRC.

@mccheah mccheah changed the base branch from nodeport-upload to k8s-support-alternate-incremental January 30, 2017 22:29
@mccheah mccheah reopened this Jan 30, 2017
@mccheah
Copy link
Author

mccheah commented Jan 30, 2017

Good call

@mccheah
Copy link
Author

mccheah commented Jan 31, 2017

Something is weird - going to start over again, apologize if you started reviewing.

@mccheah mccheah closed this Jan 31, 2017
@mccheah mccheah deleted the extract-constants branch January 31, 2017 00:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants