Skip to content

Commit

Permalink
- set default log level to warn to avoid print access log
Browse files Browse the repository at this point in the history
- add `extraction_config` to test-deploy.yaml
- update doc
  • Loading branch information
t83714 committed Jul 24, 2024
1 parent ade2df5 commit 27a7d7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Kubernetes: `>= 1.21.0`
| livenessProbe.periodSeconds | int | `20` | |
| livenessProbe.successThreshold | int | `1` | |
| livenessProbe.timeoutSeconds | int | `5` | |
| logLevel | string | `info`. | The log level of the application. one of 'fatal', 'error', 'warn', 'info', 'debug', 'trace'; also 'silent' is supported to disable logging. Any other value defines a custom level and requires supplying a level value via levelVal. |
| logLevel | string | `"warn"` | The log level of the application. one of 'fatal', 'error', 'warn', 'info', 'debug', 'trace'; also 'silent' is supported to disable logging. Any other value defines a custom level and requires supplying a level value via levelVal. |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| pluginTimeout | int | Default to 10000 (10 seconds). | The maximum amount of time in milliseconds in which a fastify plugin can load. If not, ready will complete with an Error with code 'ERR_AVVIO_PLUGIN_TIMEOUT'. |
Expand Down
5 changes: 2 additions & 3 deletions deploy/magda-embedding-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ debug: false
# -- (string) The log level of the application.
# one of 'fatal', 'error', 'warn', 'info', 'debug', 'trace';
# also 'silent' is supported to disable logging.
# Any other value defines a custom level and requires supplying a level value via levelVal.
# @default -- `info`.
logLevel: "info"
# Any other value defines a custom level and requires supplying a level value via levelVal.
logLevel: "warn"

# -- (int) The maximum amount of time in milliseconds in which a fastify plugin can load.
# If not, ready will complete with an Error with code 'ERR_AVVIO_PLUGIN_TIMEOUT'.
Expand Down
5 changes: 4 additions & 1 deletion deploy/test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ appConfig:
- name: Xenova/bge-small-en-v1.5
# set quantized to false to use the non-quantized version of the model
# by default, the quantized version of the model will be used
quantized: true
quantized: true
extraction_config:
pooling: "mean"
normalize: true

0 comments on commit 27a7d7b

Please sign in to comment.