Skip to content

Updated LoadGenerator to use Configmap to query downloaded data.#811

Open
kushalShukla-web wants to merge 12 commits intoprometheus:masterfrom
kushalShukla-web:query-blockdata
Open

Updated LoadGenerator to use Configmap to query downloaded data.#811
kushalShukla-web wants to merge 12 commits intoprometheus:masterfrom
kushalShukla-web:query-blockdata

Conversation

@kushalShukla-web
Copy link
Contributor

@kushalShukla-web kushalShukla-web commented Dec 14, 2024

In the previous PR #782, the Load Generator was using the bucket-config file from the Prometheus repository. Instead, it will now be stored as a ConfigMap inside the test-infra repository.

…ed blocks.

Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
…d loadgen

start and end time!
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
2. Replaced images to prominfra docker registery.
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
2. Removed Err and absoluteTime from the configState object.
3. Added flag package for debugging purpose and removed hard coded file path.

Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
@kushalShukla-web kushalShukla-web changed the title Updated querying blockdata to use Configmap. Updated LoadGenerator to use Configmap for quering downloaded data. Dec 14, 2024
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
@kushalShukla-web
Copy link
Contributor Author

kushalShukla-web commented Mar 3, 2025

Hi @bboreham @bwplotka , pr looks Mergeable

Copy link
Member

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

I think the basic idea is that someone will follow the instructions in #840 to create the blocksync-config ConfigMap.
However, as noted in my review of that PR, this has to be done by hand for each Prombench run, because they are all in a different namespace.

Comment on lines +152 to +153
configMap:
name: blocksync-config
Copy link
Member

Choose a reason for hiding this comment

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

Some extra scheme is needed to ensure this ConfigMap exists at the time this pod is started.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, but the copy command will copy the ConfigMap into the PR namespace, so I don't think it's going to be an issue.

@kushalShukla-web kushalShukla-web force-pushed the query-blockdata branch 2 times, most recently from d3304c2 to 5ff0876 Compare June 7, 2025 19:37
@kushalShukla-web kushalShukla-web requested a review from bboreham June 7, 2025 19:41
@kushalShukla-web kushalShukla-web changed the title Updated LoadGenerator to use Configmap for quering downloaded data. Updated LoadGenerator to use Configmap to quering downloaded data. Jun 8, 2025
@kushalShukla-web kushalShukla-web changed the title Updated LoadGenerator to use Configmap to quering downloaded data. Updated LoadGenerator to use Configmap to query downloaded data. Jun 8, 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