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

dev/aberg/bump version fix probes #86azf65gh #14

Merged
merged 7 commits into from
Feb 29, 2024
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
7 changes: 7 additions & 0 deletions charts/langkit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ 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.12.0] - 2023-02-29

### Changed

- Updated default image from `py-llm-1.0.5` to `py-llm-1.0.8`
- Changed health probes to use HTTP instead of TCP

## [0.11.0] - 2023-02-22

### Changed
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.11.0
appVersion: "1.0.5"
version: 0.12.0
appVersion: "1.0.8"
24 changes: 14 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.11.0.tgz
langkit langkit-0.12.0.tgz
```

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

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

## Development
Expand All @@ -99,24 +99,28 @@ helm-docs --dry-run
| image.containerPort | int | `8000` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"whylabs/whylogs"` | |
| image.tag | string | `"py-llm-1.0.5"` | |
| image.tag | string | `"py-llm-1.0.8"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts | list | `[]` | |
| ingress.tls | list | `[]` | |
| livenessProbe.initialDelaySeconds | int | `15` | |
| livenessProbe.periodSeconds | int | `10` | |
| livenessProbe.tcpSocket.port | int | `8000` | |
| livenessProbe.failureThreshold | int | `3` | |
| livenessProbe.httpGet.path | string | `"/health"` | |
| livenessProbe.httpGet.port | int | `8000` | |
| livenessProbe.initialDelaySeconds | int | `30` | |
| livenessProbe.periodSeconds | int | `30` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| pod.annotations | object | `{}` | |
| pod.labels | object | `{}` | |
| pod.securityContext | object | `{}` | |
| readinessProbe.initialDelaySeconds | int | `15` | |
| readinessProbe.periodSeconds | int | `10` | |
| readinessProbe.tcpSocket.port | int | `8000` | |
| readinessProbe.failureThreshold | int | `10` | |
| readinessProbe.httpGet.path | string | `"/health"` | |
| readinessProbe.httpGet.port | int | `8000` | |
| readinessProbe.initialDelaySeconds | int | `30` | |
| readinessProbe.periodSeconds | int | `30` | |
| replicaCount | int | `2` | |
| resources.limits.cpu | string | `"4"` | |
| resources.limits.memory | string | `"3Gi"` | |
Expand Down
18 changes: 11 additions & 7 deletions charts/langkit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ingress:
image:
repository: whylabs/whylogs
pullPolicy: Always
tag: py-llm-1.0.5
tag: py-llm-1.0.8
containerPort: 8000

imagePullSecrets: []
Expand Down Expand Up @@ -84,15 +84,19 @@ secrets:
name: langkit-api-secret

livenessProbe:
tcpSocket:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 15
periodSeconds: 10
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 30
readinessProbe:
tcpSocket:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 15
periodSeconds: 10
failureThreshold: 10
initialDelaySeconds: 30
periodSeconds: 30

nodeSelector: {}

Expand Down
Loading