forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experiment for
px-k8ssandra
to perf tool (pixie-io#1718)
Summary: Adds perf experiment for `px-k8ssandra` to new `k8ssandraExperimentSuite` The perf tool does not currently install the [cert-manager](https://cert-manager.io/docs/installation/helm/) automatically, which is required for px-k8ssandra, so we have to spin up a cluster, install the cert-manager and run the perf tool with `--use-local-cluster`. For this reason, this PR creates a new `k8ssandraExperimentSuite` to avoid polluting nightly. ```sh bazel run //src/e2e_test/perf_tool -- run --suite=k8ssandra --experiment_name=px-k8ssandra --commit_sha=$(git rev-parse HEAD) --api_key=$API_KEY --cloud_addr=$PL_CLOUD_ADDR --use_local_cluster ``` Another issue is that the perf tool currently does not properly clean up the demo; instead of running `px demo delete`, it just tries to delete the namespace. Since the k8ssandra demo uses CRDs, this could lead to orphaned resources or lingering finalizers that might complicate subsequent tests or deployments. A workaround is to comment out the lines in workload.go that delete the namespace and manually run `px demo delete`. Note that this is not an issue if perf tool deletes the entire cluster after a perf run (which it usually does). Type of change: /kind feature Test Plan: Ran the perf tool and verified that data showed up for `px-k8ssandra` --------- Signed-off-by: Benjamin Kilimnik <bkilimnik@pixielabs.ai>
- Loading branch information
1 parent
accb1dd
commit a2ff394
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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