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

Set resource limits based on current usage #58

Merged
merged 3 commits into from
Jan 16, 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
2 changes: 1 addition & 1 deletion charts/neon-pg-sni-router/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-pg-sni-router
description: Neon Postgres SNI Router
type: application
version: 0.0.3
version: 0.0.4
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
6 changes: 4 additions & 2 deletions charts/neon-pg-sni-router/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-pg-sni-router

![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon Postgres SNI Router

Expand Down Expand Up @@ -53,7 +53,9 @@ Kubernetes: `^1.18.x-x`
| podLabels | object | `{}` | Additional labels for neon-pg-sni-router pods |
| podSecurityContext | object | `{}` | neon-pg-sni-router's pods Security Context |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| resources.limits.memory | string | `"1Gi"` | |
| resources.requests.cpu | string | `"200m"` | |
| resources.requests.memory | string | `"512Mi"` | |
| securityContext | object | `{}` | neon-pg-sni-router's containers Security Context |
| service.annotations | object | `{}` | Annotations to add to the service |
| service.httpPort | int | `9090` | Http management port |
Expand Down
21 changes: 6 additions & 15 deletions charts/neon-pg-sni-router/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,12 @@ exposedService:
# exposedService.httpsPort -- (int) Exposed Service https port. If null, https server will not be exposed.
httpsPort: null

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
#
# resources.limits -- The resources limits for the container
# resources.requests The requested resources for the container
#
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
resources:
limits:
memory: 1Gi
requests:
cpu: 200m
memory: 512Mi

# -- Node labels for pod assignment.
nodeSelector: {}
Expand Down
2 changes: 1 addition & 1 deletion charts/neon-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-proxy
description: Neon Proxy
type: application
version: 1.7.13
version: 1.7.14
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
6 changes: 4 additions & 2 deletions charts/neon-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-proxy

![Version: 1.7.13](https://img.shields.io/badge/Version-1.7.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.7.14](https://img.shields.io/badge/Version-1.7.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon Proxy

Expand Down Expand Up @@ -52,7 +52,9 @@ Kubernetes: `^1.18.x-x`
| podLabels | object | `{}` | Additional labels for neon-proxy pods |
| podSecurityContext | object | `{}` | neon-proxy's pods Security Context |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| resources.limits.memory | string | `"32Gi"` | |
| resources.requests.cpu | string | `"400m"` | |
| resources.requests.memory | string | `"2Gi"` | |
| securityContext | object | `{}` | neon-proxy's containers Security Context |
| service.annotations | object | `{}` | Annotations to add to the service |
| service.httpPort | int | `9090` | Http management port |
Expand Down
21 changes: 6 additions & 15 deletions charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,12 @@ exposedService:
# exposedService.httpsPort -- (int) Exposed Service https port. If null, https server will not be exposed.
httpsPort: null

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
#
# resources.limits -- The resources limits for the container
# resources.requests The requested resources for the container
#
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
resources:
limits:
memory: 32Gi
requests:
cpu: 400m
memory: 2Gi

# -- Node labels for pod assignment.
nodeSelector: {}
Expand Down
2 changes: 1 addition & 1 deletion charts/neon-storage-broker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-storage-broker
description: Neon storage broker
type: application
version: 1.2.0
version: 1.2.1
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
6 changes: 4 additions & 2 deletions charts/neon-storage-broker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-storage-broker

![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon storage broker

Expand Down Expand Up @@ -52,7 +52,9 @@ Kubernetes: `^1.18.x-x`
| podAnnotations | object | `{}` | Annotations for neon-storage-broker pods |
| podLabels | object | `{}` | Additional labels for neon-storage-broker pods |
| podSecurityContext | object | `{}` | neon-storage-broker's pods Security Context |
| resources | object | `{}` | |
| resources.limits.memory | string | `"4Gi"` | |
| resources.requests.cpu | string | `"200m"` | |
| resources.requests.memory | string | `"1Gi"` | |
| securityContext | object | `{}` | neon-storage-broker's containers Security Context |
| service.annotations | object | `{}` | Annotations to add to the service |
| service.port | int | `50051` | broker listen port |
Expand Down
21 changes: 6 additions & 15 deletions charts/neon-storage-broker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,12 @@ service:
# service.port -- broker listen port
port: 50051

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
#
# resources.limits -- The resources limits for the container
# resources.requests The requested resources for the container
#
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
resources:
limits:
memory: 4Gi
requests:
cpu: 200m
memory: 1Gi

# -- Node labels for pod assignment.
nodeSelector: {}
Expand Down
Loading