Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

grpcio: downgrade to 1.40.0 to support raspberry pi os and armv7 #29

Merged
merged 1 commit into from
Nov 22, 2021
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ Reckon can be configured with the following environment variables:
| `GRPC_CLIENT_CERT` | Yes | | gRPC mTLS client cert |
| `GRPC_CLIENT_KEY` | Yes | | gRPC mTLS client cert key |

## Use it

- Find [the latest release](https://github.com/waltzofpearls/reckon/releases) and downlaod a `.tar.gz` archive
for your OS and architecture.
- Generate root CA, server and client keys and certificates for gRPC mTLS calls to Python ML models. Here is
an example for [generating the keys and certs with certstrap](https://github.com/waltzofpearls/reckon/blob/main/Makefile#L70-L80)
- Deploy reckon to bare metal hosts. Here is [an example with ansible](https://github.com/waltzofpearls/rpi-ansible/blob/main/setup-reckon.yml)
- Alternatively, [build a debian slim based docker container](https://github.com/waltzofpearls/reckon/blob/main/Makefile#L97-L126),
and deploy the container to kubernetes or other orchestration platforms.

## Monitor it

In addition to forecasted metrics, reckon also exposes runtime metrics to help monitor reckon itself.
Expand Down
4 changes: 2 additions & 2 deletions model/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ convertdate==2.3.2
cycler==0.10.0
Cython==0.29.23
ephem==4.0.0.2
grpcio==1.41.1
grpcio-tools==1.41.1
grpcio==1.40.0
grpcio-tools==1.40.0
hijri-converter==2.1.3
holidays==0.11.1
kiwisolver==1.3.1
Expand Down