Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Documented ingress functionality #416

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,31 @@ Full documentation can be found [here](https://project-codeflare.github.io/codef

Can be installed via `pip`: `pip install codeflare-sdk`

## CodeFlare SDK in a Kubernetes environment
To create a Ray Cluster using the CodeFlare SDK in a Kubernetes environment an `ingress_domain` must be passed in the Cluster Configuration.
This is used for the creation of the Ray Dashboard and Client ingresses.

`ingress_options` can be passed to create a custom Ray Dashboard ingress, `ingress_domain` is still a required variable for the Client ingress.
An example of `ingress_options` would look like this.

```
ingress_options = {
"ingresses": [
{
"ingressName": "<ingress_name>",
"port": <port_number>,
"pathType": "<path_type>",
"path": "<path>",
"host":"<host>",
Bobbins228 marked this conversation as resolved.
Show resolved Hide resolved
"annotations": {
"foo": "bar",
"foo": "bar",
}
}
]
}
```

## Development

### Prerequisites
Expand Down