Skip to content

Commit

Permalink
feat: Remove kubeVersion restrictions from Chart to make it accessibl…
Browse files Browse the repository at this point in the history
…e to cloud providers with custom version (#20)
  • Loading branch information
tazarov authored Sep 27, 2023
1 parent 03732d4 commit 7cc339f
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma"
LATEST_VERSION: "0.4.9"
LATEST_VERSION: "0.4.13"

jobs:
build-images:
strategy:
matrix:
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9 ]
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma"
LATEST_VERSION: "0.4.9"
LATEST_VERSION: "0.4.13"
jobs:
build-images:
strategy:
matrix:
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9 ]
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
kubernetes-version: [1.23.0, 1.24.0, 1.27.3, v1.28.0-rc.0 ]
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9 ]
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
5 changes: 2 additions & 3 deletions charts/chromadb-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ maintainers:
- name: Amikos Tech
email: [email protected]
url: https://amikos.tech
kubeVersion: ">= 1.23.0 <= 1.28.x || >= 1.28.0-rc.0 <= 1.28.x-rc.x"
home: "https://github.com/amikos-tech/chromadb-chart"
sources:
- "https://github.com/amikos-tech/chromadb-chart"
Expand All @@ -17,6 +16,6 @@ keywords:
- ai/ml
type: application

version: 0.1.15
version: 0.1.16
# chromadb version
appVersion: "0.4.9"
appVersion: "0.4.13"
27 changes: 18 additions & 9 deletions charts/chromadb-chart/config/log_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,32 @@ version: 1
disable_existing_loggers: False
formatters:
default:
format: '%(asctime)s %(levelname)-8s %(name)-15s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
"()": uvicorn.logging.DefaultFormatter
format: '%(levelprefix)s [%(asctime)s] %(message)s'
use_colors: null
datefmt: '%d-%m-%Y %H:%M:%S'
access:
"()": uvicorn.logging.AccessFormatter
format: '%(levelprefix)s [%(asctime)s] %(client_addr)s - "%(request_line)s" %(status_code)s'
datefmt: '%d-%m-%Y %H:%M:%S'
handlers:
default:
formatter: default
class: logging.StreamHandler
stream: ext://sys.stderr
access:
formatter: access
class: logging.StreamHandler
stream: ext://sys.stdout
console:
class: logging.StreamHandler
stream: ext://sys.stdout
formatter: default
file:
class: logging.handlers.RotatingFileHandler
filename: chroma.log
formatter: default
loggers:
root:
level: WARN
# handlers: [console, file] we remove file handler as this is not needed in k8s and in cloud-native setups in general
handlers: [ console ]
handlers: [console]
chromadb:
level: DEBUG
uvicorn:
level: INFO
level: INFO
2 changes: 1 addition & 1 deletion charts/chromadb-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ startupProbe:
initialDelaySeconds: 10

chromadb:
apiVersion: "0.4.9"
apiVersion: "0.4.13"
allowReset: false
isPersistent: true
persistDirectory: /index_data
Expand Down
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG CHROMA_VERSION=0.4.9
ARG CHROMA_VERSION=0.4.13
FROM ghcr.io/chroma-core/chroma:${CHROMA_VERSION} as base

COPY ./image/docker_entrypoint.sh /docker_entrypoint.sh
Expand Down

0 comments on commit 7cc339f

Please sign in to comment.