Skip to content

Commit

Permalink
Merge pull request #100 from warpstreamlabs/epot/liveness
Browse files Browse the repository at this point in the history
Add liveness check to agent charts
  • Loading branch information
epot authored Sep 4, 2024
2 parents eecfce8 + e4b1ffe commit f5dee7c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.22] - 2024-08-30
## [0.13.23] - 2024-09-04

### Added

- Add a liveness check.

## [0.13.22] - 2024-09-03

### Added

Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: warpstream-agent
description: WarpStream Agent for Kubernetes.
type: application
version: 0.13.22
version: 0.13.23
appVersion: v578
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
7 changes: 7 additions & 0 deletions charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ spec:
port: http
initialDelaySeconds: 10
periodSeconds: 5
livenessProbe:
httpGet:
path: /v1/status
port: http
initialDelaySeconds: 10
failureThreshold: 5
periodSeconds: 5
resources:
{{- $cpuMillicoresRequest := .Values.resources.requests.cpu | include "convertToMillicores" -}}
{{- $goMaxProcs := divf $cpuMillicoresRequest 1000 -}}
Expand Down

0 comments on commit f5dee7c

Please sign in to comment.