From ca5fbe82271d0871ab4021cb260152b5146d48b5 Mon Sep 17 00:00:00 2001 From: liyang Date: Mon, 26 Feb 2024 18:50:47 +0800 Subject: [PATCH] chore(greptimedb-cluster): not set resource requests and limits in pod template (#115) --- charts/greptimedb-cluster/Chart.yaml | 2 +- charts/greptimedb-cluster/README.md | 10 +++++----- charts/greptimedb-cluster/values.yaml | 13 +++++++------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/charts/greptimedb-cluster/Chart.yaml b/charts/greptimedb-cluster/Chart.yaml index cc97b8f..2e8b595 100644 --- a/charts/greptimedb-cluster/Chart.yaml +++ b/charts/greptimedb-cluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: greptimedb-cluster description: A Helm chart for deploying GreptimeDB cluster in Kubernetes type: application -version: 0.1.18 +version: 0.1.19 appVersion: 0.6.0 home: https://github.com/GreptimeTeam/greptimedb sources: diff --git a/charts/greptimedb-cluster/README.md b/charts/greptimedb-cluster/README.md index 6bdd3a2..143d08f 100644 --- a/charts/greptimedb-cluster/README.md +++ b/charts/greptimedb-cluster/README.md @@ -2,7 +2,7 @@ A Helm chart for deploying GreptimeDB cluster in Kubernetes -![Version: 0.1.18](https://img.shields.io/badge/Version-0.1.18-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.0](https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square) +![Version: 0.1.19](https://img.shields.io/badge/Version-0.1.19-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.0](https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square) ## Source Code @@ -64,16 +64,16 @@ helm uninstall mycluster -n default | Key | Type | Default | Description | |-----|------|---------|-------------| -| base.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"resources":{"limits":{"cpu":"1","memory":"1Gi"},"requests":{"cpu":"500m","memory":"512Mi"}}},"nodeSelector":{},"serviceAccountName":"","tolerations":[]}` | The pod template for base | +| base.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"resources":{"limits":{},"requests":{}}},"nodeSelector":{},"serviceAccountName":"","tolerations":[]}` | The pod template for base | | base.podTemplate.affinity | object | `{}` | The pod affinity | | base.podTemplate.annotations | object | `{}` | The annotations to be created to the pod. | | base.podTemplate.labels | object | `{}` | The labels to be created to the pod. | -| base.podTemplate.main | object | `{"args":[],"command":[],"env":[],"resources":{"limits":{"cpu":"1","memory":"1Gi"},"requests":{"cpu":"500m","memory":"512Mi"}}}` | The base spec of main container | +| base.podTemplate.main | object | `{"args":[],"command":[],"env":[],"resources":{"limits":{},"requests":{}}}` | The base spec of main container | | base.podTemplate.main.args | list | `[]` | The arguments to be passed to the command | | base.podTemplate.main.command | list | `[]` | The command to be executed in the container | | base.podTemplate.main.env | list | `[]` | The environment variables for the container | -| base.podTemplate.main.resources.limits | object | `{"cpu":"1","memory":"1Gi"}` | The resources limits for the container | -| base.podTemplate.main.resources.requests | object | `{"cpu":"500m","memory":"512Mi"}` | The requested resources for the container | +| base.podTemplate.main.resources.limits | object | `{}` | The resources limits for the container | +| base.podTemplate.main.resources.requests | object | `{}` | The requested resources for the container | | base.podTemplate.nodeSelector | object | `{}` | The pod node selector | | base.podTemplate.serviceAccountName | string | `""` | The global service account | | base.podTemplate.tolerations | list | `[]` | The pod tolerations | diff --git a/charts/greptimedb-cluster/values.yaml b/charts/greptimedb-cluster/values.yaml index fdf22c7..208c1c2 100644 --- a/charts/greptimedb-cluster/values.yaml +++ b/charts/greptimedb-cluster/values.yaml @@ -23,13 +23,14 @@ base: main: resources: # -- The requested resources for the container - requests: - cpu: 500m - memory: 512Mi + requests: {} + # cpu: 500m + # memory: 512Mi + # -- The resources limits for the container - limits: - cpu: "1" - memory: "1Gi" + limits: {} + # cpu: "1" + # memory: "1Gi" # -- The environment variables for the container env: []