Skip to content

Conversation

@pantierra
Copy link
Contributor

@pantierra pantierra commented Nov 13, 2025

This adds basic testing of autoscaling options.

@pantierra pantierra force-pushed the feature/autoscaling-tests branch from b691b61 to f15a0ce Compare November 13, 2025 14:02
@pantierra pantierra self-assigned this Nov 13, 2025
@pantierra pantierra force-pushed the feature/autoscaling-tests branch 4 times, most recently from 0ebcec4 to f391d73 Compare November 13, 2025 16:45
@pantierra pantierra marked this pull request as ready for review November 13, 2025 17:24
@pantierra pantierra force-pushed the feature/autoscaling-tests branch 2 times, most recently from eefe17b to 1ed9576 Compare November 13, 2025 23:50
Comment on lines 117 to 120
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pytest requests psycopg2-binary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these can be installed in the pip install further up, rather than having two install steps

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, missed that one. Added them further up.

Comment on lines 191 to 212
######################
# ADDITIONAL NOTES
######################
#
# To use this configuration:
#
# 1. Update the ingress.host to your actual domain
# 2. Adjust scaling targets based on your load testing results
# 3. Monitor resource usage and adjust requests/limits accordingly
# 4. Consider enabling TLS for production deployments
#
# IMPORTANT: This configuration enables monitoring components that are
# disabled by default. This is required for autoscaling to work.
#
# For observability and dashboards, install the separate eoapi-observability chart:
# helm install eoapi-obs eoapi/eoapi-observability --namespace eoapi
#
# Load testing recommendations:
# - Test each service endpoint individually
# - Monitor HPA metrics: kubectl get hpa -n eoapi -w
# - Check custom metrics: kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1"
# - Review Prometheus targets to ensure metrics collection is working
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably put these steps at the top.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. And moved up.

@pantierra pantierra force-pushed the feature/autoscaling-tests branch 2 times, most recently from bb29db1 to 382256f Compare November 14, 2025 10:05
@pantierra pantierra force-pushed the feature/autoscaling-tests branch from 382256f to 028f651 Compare November 14, 2025 10:27
@pantierra pantierra merged commit 1253640 into main Nov 14, 2025
4 checks passed
@pantierra pantierra deleted the feature/autoscaling-tests branch November 14, 2025 10:31
pantierra added a commit that referenced this pull request Nov 14, 2025
pantierra added a commit that referenced this pull request Nov 14, 2025
pantierra added a commit that referenced this pull request Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants