Skip to content

Commit

Permalink
Merge pull request #110 from warpstreamlabs/increase-default-cpu-requ…
Browse files Browse the repository at this point in the history
…ests

Increase default CPU requests to 4 from 2
  • Loading branch information
richardartoul authored Oct 8, 2024
2 parents 2a33b17 + 6948783 commit e09d2b7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ 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.33] - 2024-10-08

### Added

- Increase default CPU requests from 2 to 4.

## [0.13.32] - 2024-09-27

### 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.32
version: 0.13.33
appVersion: v587
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
8 changes: 4 additions & 4 deletions charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ config:
enforceProductionResourceRequirements: true
resources:
# Recommendations:
# 1. At least 2 requests vCPUs per Agent, and only use whole numbers for CPUs
# 1. At least 4 requests vCPUs per Agent, and only use whole numbers for CPUs
# because we set GOMAXPROCS to the value of requested CPUs.
# The Agents use the value of GOMAXPROCS to determine how many cores they have,
# (to avoid throttling) and size caches and other data structures in accordance
Expand All @@ -82,14 +82,14 @@ resources:
# use-cases.
# 4. Keep memory requests and limits the same.
requests:
cpu: 2
memory: 8Gi
cpu: 4
memory: 16Gi
# we do not need the disk space, but Kubernetes will count some logs that it emits
# about our containers towards our containers ephemeral usage and if we requested
# 0 storage we could end up getting evicted unnecessarily when the node is under disk pressure.
ephemeral-storage: "100Mi"
limits:
memory: 8Gi
memory: 16Gi
ephemeral-storage: "100Mi"

extraEnv: []
Expand Down

0 comments on commit e09d2b7

Please sign in to comment.