https://github.com/kubeflow/katib
Raw File
Tip revision: 53aabc9e19af8ac8bf7d4ee434110125d0e8eb35 authored by andreyvelich on 01 March 2019, 01:24:55 UTC
Fix path to api protobuf
Tip revision: 53aabc9
developer-guide.md
# Developer Guide

## Requirements

- [Go](https://golang.org/)
- [Dep](https://golang.github.io/dep/)
- [Docker](https://docs.docker.com/) (17.05 or later.)

## Build from source code

Pull in the dependencies

```
dep ensure --vendor-only
```

You can build all images from source.

```bash
./scripts/build.sh
```

## Implement new suggestion algorithm

Suggestion API is defined as GRPC service at `pkg/api/api.proto`. Source code is [here](https://github.com/kubeflow/katib/blob/master/pkg/api/api.proto). You can attach new algorithm easily.

- implement suggestion API
- make k8s service named vizier-suggestion-{ algorithm-name } and expose port 6789

And to add new suggestion service, you don't need to stop components ( vizier-core, modeldb, and anything) that are already running.
back to top