Skip to content

Commit

Permalink
Merge pull request #67 from groundlight/harry/filesize-increase
Browse files Browse the repository at this point in the history
Increased file size limit to 10MB and new build image
  • Loading branch information
honeytung authored Jun 7, 2024
2 parents e4a256d + 102e349 commit e5454c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions configs/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ events {
http {
server {
listen 6717;
client_max_body_size 10M; # a bit more than enough for a large json of a 14MP image

location / {
proxy_pass http://localhost:6718;
Expand Down
2 changes: 1 addition & 1 deletion deploy/bin/build-push-edge-endpoint-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
# https://docs.docker.com/engine/install/ubuntu/

# Install QEMU, a generic and open-source machine emulator and virtualizer
docker run --rm --privileged linuxkit/binfmt:af88a591f9cc896a52ce596b9cf7ca26a061ef97
docker run --rm --privileged linuxkit/alpine:146f540f25cd92ec8ff0c5b0c98342a9a95e479e

# Check if tempbuilder already exists
if ! docker buildx ls | grep -q tempgroundlightedgebuilder; then
Expand Down
6 changes: 3 additions & 3 deletions deploy/k3s/edge_deployment/edge_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
serviceAccountName: edge-endpoint-service-account
initContainers:
- name: database-prep
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:main-286f50eb5-dirty-3195280a7c7c28a
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:harry-filesize-increase-97f8caf33-dirty-acfc15abc21676c
imagePullPolicy: IfNotPresent
env:
# Flag to indicate whether or not to reset all database tables. Resetting WILL delete
Expand All @@ -59,7 +59,7 @@ spec:

containers:
- name: edge-endpoint
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:main-286f50eb5-dirty-3195280a7c7c28a
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:harry-filesize-increase-97f8caf33-dirty-acfc15abc21676c
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6717
Expand All @@ -83,7 +83,7 @@ spec:
mountPath: /opt/groundlight/edge/sqlite

- name: inference-model-updater
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:main-286f50eb5-dirty-3195280a7c7c28a
image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:harry-filesize-increase-97f8caf33-dirty-acfc15abc21676c
imagePullPolicy: IfNotPresent
command: ["/bin/bash", "-c"]
args: ["poetry run python -m app.model_updater.update_models"]
Expand Down

0 comments on commit e5454c6

Please sign in to comment.