Skip to content

[cetic/microservice] Isn't bad practice to set resource limits? #2

@Nico-Salamone

Description

@Nico-Salamone

Currently, in values.yaml file, resource limits are set. Isn't this a bad practice in Kubernetes?

Is your feature request related to a problem? Please describe.
By default, pods can only use 2 CPUs and 2 GB of memory. If a user of this chart doesn't notice this, they might wonder why a particular pod is "slow".

Describe the solution you'd like
In the values.yaml file, replace this:

resources:
  limits:
    cpu: 2
    memory: 2000Mi
  requests:
    cpu: 500m
    memory: 500Mi

by this:

resources:
  requests:
    cpu: 500m
    memory: 500Mi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions