Skip to content

Commit

Permalink
Merge pull request #13 from whylabs/dev/aberg/bump-version-#86azekx7y
Browse files Browse the repository at this point in the history
Update default image
  • Loading branch information
AnchorArray authored Feb 22, 2024
2 parents a624f61 + bf52482 commit 496401f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 41 deletions.
6 changes: 6 additions & 0 deletions charts/langkit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning]
(https://semver.org/spec/v2.0.0.html).

## [0.11.0] - 2023-02-22

### Changed

- Updated default image from `py-llm-1.0.2.dev10` to `py-llm-1.0.5`.

## [0.10.0] - 2023-02-19

### Added
Expand Down
4 changes: 2 additions & 2 deletions charts/langkit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: langkit
description: A Helm chart for LangKit container deployment
type: application
version: 0.10.0
appVersion: "1.0.2.dev10"
version: 0.11.0
appVersion: "1.0.5"
20 changes: 10 additions & 10 deletions charts/langkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,22 @@ View the difference between the current state and desired state.
# helm plugin install https://github.com/databus23/helm-diff
helm diff upgrade \
--allow-unreleased \
langkit langkit-0.10.0.tgz
langkit langkit-0.11.0.tgz
```

### Install/Update
```shell
helm upgrade --install \
--create-namespace \
--namespace langkit \
langkit langkit-0.10.0.tgz
langkit langkit-0.11.0.tgz
```

### Uninstall
```shell
helm uninstall \
--namespace langkit \
langkit langkit-0.10.0.tgz
langkit langkit-0.11.0.tgz
```

## Development
Expand All @@ -92,14 +92,14 @@ helm-docs --dry-run

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| containers.env | list | `[{"name":"LANGKIT_WORKERS","value":"1"},{"name":"TRANSFORMERS_OFFLINE","value":"1"},{"name":"HF_DATASETS_OFFLINE","value":"1"},{"name":"HOME","value":"/home"},{"name":"HF_HOME","value":"/home/.cache/hf_home"}]` | Environment variables for the containers |
| containers.env | list | `[]` | Environment variables for the containers |
| containers.securityContext | object | `{"readOnlyRootFilesystem":true,"runAsUser":1000}` | Container security context |
| containers.volumeMounts | list | `[{"mountPath":"/tmp","name":"temp-dir"},{"mountPath":"/home","name":"home"}]` | Volume mounts for containers |
| fullnameOverride | string | `""` | |
| image.containerPort | int | `8000` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"whylabs/whylogs"` | |
| image.tag | string | `"py-llm-1.0.2.dev10"` | |
| image.tag | string | `"py-llm-1.0.5"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand All @@ -117,11 +117,11 @@ helm-docs --dry-run
| readinessProbe.initialDelaySeconds | int | `15` | |
| readinessProbe.periodSeconds | int | `10` | |
| readinessProbe.tcpSocket.port | int | `8000` | |
| replicaCount | int | `4` | |
| resources.limits.cpu | string | `"1"` | |
| resources.limits.memory | string | `"6Gi"` | |
| resources.requests.cpu | string | `"1"` | |
| resources.requests.memory | string | `"6Gi"` | |
| replicaCount | int | `2` | |
| resources.limits.cpu | string | `"4"` | |
| resources.limits.memory | string | `"3Gi"` | |
| resources.requests.cpu | string | `"4"` | |
| resources.requests.memory | string | `"3Gi"` | |
| secrets.langkitApiSecret.name | string | `"langkit-api-secret"` | Name of the secret that stores the WhyLabs LangKit API Secret |
| secrets.whylabsApiKey.name | string | `"whylabs-api-key"` | Name of the secret that stores the WhyLabs API Key |
| service.port | int | `80` | |
Expand Down
48 changes: 19 additions & 29 deletions charts/langkit/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
replicaCount: 4
replicaCount: 2

nameOverride: ""
fullnameOverride: ""
Expand Down Expand Up @@ -31,7 +31,7 @@ ingress:
image:
repository: whylabs/whylogs
pullPolicy: Always
tag: py-llm-1.0.2.dev10
tag: py-llm-1.0.5
containerPort: 8000

imagePullSecrets: []
Expand All @@ -55,17 +55,7 @@ containers:
# runAsNonRoot: true
# runAsUser: 1000
# containers.env -- (list) Environment variables for the containers
env:
- name: LANGKIT_WORKERS
value: "1"
- name: TRANSFORMERS_OFFLINE
value: "1"
- name: HF_DATASETS_OFFLINE
value: "1"
- name: HOME
value: "/home"
- name: HF_HOME
value: "/home/.cache/hf_home"
env: []
# containers.volumeMounts -- (list) Volume mounts for containers
volumeMounts:
- name: temp-dir
Expand All @@ -79,11 +69,11 @@ service:

resources:
requests:
cpu: "1"
memory: 6Gi
cpu: "4"
memory: 3Gi
limits:
cpu: "1"
memory: 6Gi
cpu: "4"
memory: 3Gi

secrets:
whylabsApiKey:
Expand Down Expand Up @@ -113,18 +103,18 @@ tolerations: []
# value: spot

# @ignored
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: "kubernetes.io/hostname"
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- langkit
affinity: {}
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# topologyKey: "kubernetes.io/hostname"
# labelSelector:
# matchExpressions:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - langkit

# volumes -- (list) Volumes to create
volumes:
Expand Down

0 comments on commit 496401f

Please sign in to comment.