Skip to content

Tortoise updates pod resource requests while VPA is not ready #436

@randytqwjp

Description

@randytqwjp

Encountered an issue where a pod was deployed and tortoise changed the memory request, causing pod to OOM. Since pod OOMs immediately after creation, VPA could not record cpu resource values before OOM. This causes cpu values in vpa to be 0 and tortoise fails to reconcile with VPA not ready. This also prevents tortoise from respecting minAllocatedResources field
Original pod memory request: 12288M
Updated pod memory request: 128M

Resource Policy: Container Name: publicapi-graphql Min Allocated Resources: Cpu: 6 Memory: 12288M
Container Resource Requests: Container Name: publicapi-graphql Resource: Cpu: 1 Memory: 128M Container Name: istio-proxy Resource: Cpu: 500m Memory: 256M

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