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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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