-
Notifications
You must be signed in to change notification settings - Fork 12
feat: Add autoscaling tests #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b691b61 to
f15a0ce
Compare
0ebcec4 to
f391d73
Compare
eefe17b to
1ed9576
Compare
.github/workflows/ci.yml
Outdated
| - name: Install Python dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install pytest requests psycopg2-binary |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
| ###################### | ||
| # 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. And moved up.
bb29db1 to
382256f
Compare
382256f to
028f651
Compare
This adds basic testing of autoscaling options.