{"action":"created","comment":{"url":"https://api.github.com/repos/dcos/examples/pulls/comments/187732832","pull_request_review_id":119579727,"id":187732832,"diff_hunk":"@@ -0,0 +1,389 @@\n+# How to use BeakerX on DC/OS\n+\n+[BeakerX](http://beakerx.com) is a collection of kernels and extensions to the [Jupyter](http://http://jupyter.org) interactive computing environment. It provides JVM support, interactive plots, tables, forms, publishing, and more. `BeakerX` supports:\n+\n+- Groovy, Scala, Clojure, Kotlin, Java, and SQL, including many magics and interactive widgets.\n+- Widgets for time-series plotting, tables, forms, and more. There are Python and JavaScript APIs in addition to the JVM languages.\n+- One-click publication with interactive plots and tables.\n+- Jupyter Lab\n+\n+The `DC/OS BeakerX` package comes in a `base` version or a `GPU` version. \n+\n+#### Base version\n+The `base` version consists of the official [beakerx/beakerx](https://github.com/twosigma/beakerx/tree/master/docker) package with additionally installed packages tailored for Data Scientists needs:\n+\n+- [H5PY](https://www.h5py.org/) 2.7.1\n+- [Keras](https://keras.io) 2.1.5\n+- [Numpy](http://www.numpy.org/) 1.14.2\n+- [Pandas](https://pandas.pydata.org/) 0.22.0\n+- [PySpark](https://spark.apache.org/docs/latest/api/python/index.html) 2.3.0\n+- [Scikit-Learn](http://scikit-learn.org/) 0.19.1\n+- [Tensorflow & Tensorboard](https://www.tensorflow.org/) 1.7.0\n+- [XLRD](https://pypi.org/project/xlrd/) 1.1.0\n+\n+#### GPU version\n+The `GPU` version extends the `base` package with:\n+\n+- [CUDA](https://developer.nvidia.com/cuda-toolkit/whatsnew) [9.0.176](https://gitlab.com/nvidia/cuda/blob/ubuntu16.04/9.0/base/Dockerfile)\n+- [CUDNN](https://developer.nvidia.com/cudnn) [7.1.3.16](https://gitlab.com/nvidia/cuda/blob/ubuntu16.04/9.0/runtime/cudnn7/Dockerfile )\n+- [Tensorflow-GPU](https://www.tensorflow.org/programmers_guide/using_gpu) 1.7.0\n+\n+## Prerequisites\n+\n+Required: \n+\n+- A running DC/OS 1.11 (or higher) cluster with at least 1 node (minimum 1 CPU, 4G of memory and 20GB of persistent disk storage in total)\n+- [DC/OS CLI](https://dcos.io/docs/1.11/cli/install/) installed.\n+\n+Optional:\n+\n+- [Marathon-LB](https://dcos.io/docs/1.11/networking/marathon-lb/) ( Just needed for Advanced Installation with `external_access` enabled ) \n+\n+## Quick Start\n+\n+To install `BeakerX` for the DC/OS, simply run `dcos package install beakerx` or install it via the Universe page in our DC/OS UI.\n+\n+BeakerX should now be available at http://MASTERADDRESS/service/beakerx. \n+\n+Use the default password `dcos` to authenticate. \n+\n+You can run multiple installations of `BeakerX` by simply changing the `Service Name` during installation, the `dcos-beakerx` service provides full context to admin router of your individual installation.\n+\n+See [advanced installation](#advanced-installation) for more in-depth instructions and configuration options.\n+\n+## Install BeakerX without GPU Support\n+\n+The default installation brings `BeakerX` up and running as described in [quick start](#quick-start). The advanced installation lets you customize your BeakerX installation even further. You can easily reach your `BeakerX` installation through the service weblink via the UI. \n+\n+### Deploy via UI\n+\n+The DC/OS UI provides an intuitive way to deploy the `BeakerX` package on your DC/OS cluster.\n+\n+1) Click on your `Catalog` tab and search for the `BeakerX` package.\n+2) Click `REVIEW & RUN` and then `EDIT` in the now opened modal.\n+3) Configure your package as needed in the [advanced installation](#advanced-installation), e.g. enabling persistence and external_access (more details provided in the package description).\n+4) Click `REVIEW & RUN` and then `RUN SERVICE` to deploy your `BeakerX` package as service.\n+\n+### Deploy via CLI\n+\n+The DC/OS CLI provides a convenient way to deploy applications on your DC/OS cluster:\n+\n+```bash\n+$ dcos package install beakerx --yes\n+This DC/OS Service is currently in preview. There may be bugs, incomplete features, incorrect documentation, or other discrepancies.\n+\n+Find the server token to authenticate in your service's stdout\n+\n+Advanced Installation options notes\n+\n+storage / persistence: create local persistent volumes for internal storage files to survive across restarts or failures.\n+\n+storage / host_volume_size: define the size of your persistent volume, e.g. 4GB.\n+\n+NOTE: If you didn't select persistence in the storage section, or provided a valid value for host_volume on installation,\n+YOUR DATA WILL NOT BE SAVED IN ANY WAY.\n+\n+networking / port: This DC/OS service can be accessed from any other application through a NAMED VIP in the format service_name.marathon.l4lb.thisdcos.directory:port. Check status of the VIP in the Network tab of the DC/OS Dashboard (Enterprise DC/OS only).\n+\n+networking / external_access: create an entry in Marathon-LB for accessing the service from outside of the cluster\n+\n+networking / external_access_port: port to be used in Marathon-LB for accessing the service. \n+\n+networking / external_public_agent_ip: dns for Marathon-LB, typically set to your public agents public ip.\n+\n+Access your BeakerX Server.\",\n+Installing Marathon app for package [beakerx] version [0.15.2]\n+beakerx on DCOS installed successfully!\n+```\n+\n+\n+### Install BeakerX with GPU support\n+\n+Before you can start, please make sure your cluster runs at least 1 GPU agent. See the instructions below that use Terraform to spin up a 1 master/1 GPU agent DC/OS 1.11.1 cluster.","path":"beakerx/1.11/README.MD","position":102,"original_position":102,"commit_id":"de7fad364e77211beb13deebce64e7ad3c628e45","original_commit_id":"de7fad364e77211beb13deebce64e7ad3c628e45","user":{"login":"joerg84","id":10809446,"avatar_url":"https://avatars1.githubusercontent.com/u/10809446?v=4","gravatar_id":"","url":"https://api.github.com/users/joerg84","html_url":"https://github.com/joerg84","followers_url":"https://api.github.com/users/joerg84/followers","following_url":"https://api.github.com/users/joerg84/following{/other_user}","gists_url":"https://api.github.com/users/joerg84/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg84/subscriptions","organizations_url":"https://api.github.com/users/joerg84/orgs","repos_url":"https://api.github.com/users/joerg84/repos","events_url":"https://api.github.com/users/joerg84/events{/privacy}","received_events_url":"https://api.github.com/users/joerg84/received_events","type":"User","site_admin":false},"body":"s/DC/OS 1.11.1 cluster/DC/OS cluster","created_at":"2018-05-11T21:04:29Z","updated_at":"2018-05-11T21:04:29Z","html_url":"https://github.com/dcos/examples/pull/351#discussion_r187732832","pull_request_url":"https://api.github.com/repos/dcos/examples/pulls/351","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dcos/examples/pulls/comments/187732832"},"html":{"href":"https://github.com/dcos/examples/pull/351#discussion_r187732832"},"pull_request":{"href":"https://api.github.com/repos/dcos/examples/pulls/351"}}},"pull_request":{"url":"https://api.github.com/repos/dcos/examples/pulls/351","id":187309903,"html_url":"https://github.com/dcos/examples/pull/351","diff_url":"https://github.com/dcos/examples/pull/351.diff","patch_url":"https://github.com/dcos/examples/pull/351.patch","issue_url":"https://api.github.com/repos/dcos/examples/issues/351","number":351,"state":"open","locked":false,"title":"Updated to DC/OS beakerx-0.16.1 with GPU documentation","user":{"login":"fabianbaier","id":10104582,"avatar_url":"https://avatars1.githubusercontent.com/u/10104582?v=4","gravatar_id":"","url":"https://api.github.com/users/fabianbaier","html_url":"https://github.com/fabianbaier","followers_url":"https://api.github.com/users/fabianbaier/followers","following_url":"https://api.github.com/users/fabianbaier/following{/other_user}","gists_url":"https://api.github.com/users/fabianbaier/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianbaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianbaier/subscriptions","organizations_url":"https://api.github.com/users/fabianbaier/orgs","repos_url":"https://api.github.com/users/fabianbaier/repos","events_url":"https://api.github.com/users/fabianbaier/events{/privacy}","received_events_url":"https://api.github.com/users/fabianbaier/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-10T21:16:48Z","updated_at":"2018-05-11T21:04:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f04b0ed42e1d03a4057abdc3f3d8a190decd6d6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dcos/examples/pulls/351/commits","review_comments_url":"https://api.github.com/repos/dcos/examples/pulls/351/comments","review_comment_url":"https://api.github.com/repos/dcos/examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/examples/issues/351/comments","statuses_url":"https://api.github.com/repos/dcos/examples/statuses/de7fad364e77211beb13deebce64e7ad3c628e45","head":{"label":"dcos:fabianbaier/beakerx-update-0.15.2-with-gpu","ref":"fabianbaier/beakerx-update-0.15.2-with-gpu","sha":"de7fad364e77211beb13deebce64e7ad3c628e45","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":72442987,"name":"examples","full_name":"dcos/examples","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/examples","description":"DC/OS examples","fork":false,"url":"https://api.github.com/repos/dcos/examples","forks_url":"https://api.github.com/repos/dcos/examples/forks","keys_url":"https://api.github.com/repos/dcos/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/examples/teams","hooks_url":"https://api.github.com/repos/dcos/examples/hooks","issue_events_url":"https://api.github.com/repos/dcos/examples/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/examples/events","assignees_url":"https://api.github.com/repos/dcos/examples/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/examples/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/examples/tags","blobs_url":"https://api.github.com/repos/dcos/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/examples/languages","stargazers_url":"https://api.github.com/repos/dcos/examples/stargazers","contributors_url":"https://api.github.com/repos/dcos/examples/contributors","subscribers_url":"https://api.github.com/repos/dcos/examples/subscribers","subscription_url":"https://api.github.com/repos/dcos/examples/subscription","commits_url":"https://api.github.com/repos/dcos/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/examples/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/examples/merges","archive_url":"https://api.github.com/repos/dcos/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/examples/downloads","issues_url":"https://api.github.com/repos/dcos/examples/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/examples/labels{/name}","releases_url":"https://api.github.com/repos/dcos/examples/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/examples/deployments","created_at":"2016-10-31T14:13:28Z","updated_at":"2018-05-11T16:02:33Z","pushed_at":"2018-05-11T17:53:41Z","git_url":"git://github.com/dcos/examples.git","ssh_url":"git@github.com:dcos/examples.git","clone_url":"https://github.com/dcos/examples.git","svn_url":"https://github.com/dcos/examples","homepage":null,"size":104926,"stargazers_count":107,"watchers_count":107,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":132,"mirror_url":null,"archived":false,"open_issues_count":77,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":132,"open_issues":77,"watchers":107,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"116a67a6dceb07c4f2ecb5067fa2fda03f0a5f6a","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":72442987,"name":"examples","full_name":"dcos/examples","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/examples","description":"DC/OS examples","fork":false,"url":"https://api.github.com/repos/dcos/examples","forks_url":"https://api.github.com/repos/dcos/examples/forks","keys_url":"https://api.github.com/repos/dcos/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/examples/teams","hooks_url":"https://api.github.com/repos/dcos/examples/hooks","issue_events_url":"https://api.github.com/repos/dcos/examples/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/examples/events","assignees_url":"https://api.github.com/repos/dcos/examples/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/examples/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/examples/tags","blobs_url":"https://api.github.com/repos/dcos/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/examples/languages","stargazers_url":"https://api.github.com/repos/dcos/examples/stargazers","contributors_url":"https://api.github.com/repos/dcos/examples/contributors","subscribers_url":"https://api.github.com/repos/dcos/examples/subscribers","subscription_url":"https://api.github.com/repos/dcos/examples/subscription","commits_url":"https://api.github.com/repos/dcos/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/examples/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/examples/merges","archive_url":"https://api.github.com/repos/dcos/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/examples/downloads","issues_url":"https://api.github.com/repos/dcos/examples/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/examples/labels{/name}","releases_url":"https://api.github.com/repos/dcos/examples/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/examples/deployments","created_at":"2016-10-31T14:13:28Z","updated_at":"2018-05-11T16:02:33Z","pushed_at":"2018-05-11T17:53:41Z","git_url":"git://github.com/dcos/examples.git","ssh_url":"git@github.com:dcos/examples.git","clone_url":"https://github.com/dcos/examples.git","svn_url":"https://github.com/dcos/examples","homepage":null,"size":104926,"stargazers_count":107,"watchers_count":107,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":132,"mirror_url":null,"archived":false,"open_issues_count":77,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":132,"open_issues":77,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/examples/pulls/351"},"html":{"href":"https://github.com/dcos/examples/pull/351"},"issue":{"href":"https://api.github.com/repos/dcos/examples/issues/351"},"comments":{"href":"https://api.github.com/repos/dcos/examples/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/examples/pulls/351/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/examples/pulls/351/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/examples/statuses/de7fad364e77211beb13deebce64e7ad3c628e45"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"joerg84"}}