Skip to content

Add Kubernetes horizontal pod autoscaler manifest #286

Description

@MissBlue00

Task

Create a HorizontalPodAutoscaler manifest for auto-scaling the API.

Details

  • Create k8s/hpa.yaml
  • Target CPU utilization: 70%
  • Min replicas: 2, Max replicas: 10
  • Reference the API Deployment
  • Add memory utilization target as secondary metric

Path

  • k8s/hpa.yaml

Test

Run kubectl apply --dry-run=client -f k8s/hpa.yaml to validate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions