-
Notifications
You must be signed in to change notification settings - Fork 15
Network policy L7 scale tests: Added supporting python modules #569
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… for configuration
…cessary chmod call
alyssa1303
reviewed
Mar 26, 2025
modules/python/clusterloader2/slo/config/network-policy-scale-config.yaml
Show resolved
Hide resolved
4eb84e8
to
87fd00d
Compare
alyssa1303
reviewed
Apr 1, 2025
20b53dc
to
d3d56f1
Compare
alyssa1303
reviewed
Apr 1, 2025
alyssa1303
approved these changes
Apr 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces new configurations and scripts to support network policy scale testing with Cilium and Envoy metrics in the
clusterloader2
module. The most important changes include adding new configuration files, implementing a new script for network policy scale testing, and updating utility functions.New configurations:
modules/python/clusterloader2/slo/config/modules/cilium-envoy-measurements.yaml
: Added configurations for gathering Cilium L7 and Envoy HTTP metrics using Prometheus queries.modules/python/clusterloader2/slo/config/network-policy-scale-config.yaml
: Added a new configuration file for network policy scale tests, including steps for starting and gathering metrics.New script:
modules/python/clusterloader2/slo/network_policy_scale.py
: Implemented a new script to configure, validate, execute, and collect results for network policy scale tests. This script also includes argument parsing for different commands.Utility updates:
modules/python/clusterloader2/utils.py
: Added a new measurement prefix for network policy soak tests and updated theget_measurement
function to handle the new prefix. [1] [2]Test data (for unit tests):
modules/python/tests/mock_data/network-policy-scale/report/GenericPrometheusQuery Cilium Envoy HTTP Metrics_netpol-scale-test_2025-03-04T05:35:56Z.json
: Added mock data for Cilium Envoy HTTP metrics.modules/python/tests/mock_data/network-policy-scale/report/junit.xml
: Added a mock JUnit report for network policy scale tests.