Skip to content
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>",
"annotations": {
"foo": "bar",
"foo": "bar",
}
}
]
}
```

## Development

### Prerequisites
Expand Down