forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the instruction for setting up cluster to run test (kubeflow#152)
* Fix some text format in README * checkin the vendor for test-infra app. * set service_type for jupyterHubLoadBalancer in nfs-jupyter.jsonnet
- Loading branch information
Showing
9 changed files
with
1,225 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# core | ||
|
||
> Core components of Kubeflow. | ||
|
||
* [Quickstart](#quickstart) | ||
* [Using Prototypes](#using-prototypes) | ||
* [io.ksonnet.pkg.kubeflow-core](#io.ksonnet.pkg.kubeflow-core) | ||
|
||
## Quickstart | ||
|
||
*The following commands use the `io.ksonnet.pkg.kubeflow` prototype to generate Kubernetes YAML for core, and then deploys it to your Kubernetes cluster.* | ||
|
||
First, create a cluster and install the ksonnet CLI (see root-level [README.md](rootReadme)). | ||
|
||
If you haven't yet created a [ksonnet application](linkToSomewhere), do so using `ks init <app-name>`. | ||
|
||
Finally, in the ksonnet application directory, run the following: | ||
|
||
```shell | ||
# Expand prototype as a Jsonnet file, place in a file in the | ||
# `components/` directory. (YAML and JSON are also available.) | ||
$ ks prototype use io.ksonnet.pkg.kubeflow-core \ | ||
--name core \ | ||
--namespace default \ | ||
--disks | ||
|
||
# Apply to server. | ||
$ ks apply -f core.jsonnet | ||
``` | ||
|
||
## Using the library | ||
|
||
The library files for core define a set of relevant *parts* (_e.g._, deployments, services, secrets, and so on) that can be combined to configure core for a wide variety of scenarios. For example, a database like Redis may need a secret to hold the user password, or it may have no password if it's acting as a cache. | ||
|
||
This library provides a set of pre-fabricated "flavors" (or "distributions") of core, each of which is configured for a different use case. These are captured as ksonnet *prototypes*, which allow users to interactively customize these distributions for their specific needs. | ||
|
||
These prototypes, as well as how to use them, are enumerated below. | ||
|
||
### io.ksonnet.pkg.kubeflow-core | ||
|
||
Kubeflow core components | ||
#### Example | ||
|
||
```shell | ||
# Expand prototype as a Jsonnet file, place in a file in the | ||
# `components/` directory. (YAML and JSON are also available.) | ||
$ ks prototype use io.ksonnet.pkg.kubeflow-core core \ | ||
--name YOUR_NAME_HERE | ||
``` | ||
|
||
#### Parameters | ||
|
||
The available options to pass prototype are: | ||
|
||
* `--name=<name>`: Name to give to each of the components [string] | ||
|
||
|
||
[rootReadme]: https://github.com/ksonnet/mixins |
Oops, something went wrong.