GoogleCloudPlatform / prometheus-test-infra

Apache License 2.0
11 stars 3 forks source link

Add rbac and deployment manifest for parca #103

Closed Adib234 closed 1 month ago

Adib234 commented 1 month ago

When make cluster_resource_apply is run, Parca will be deployed so that the collector can be continuously profiled. I have verified that this works on my end by running the following commands

make cluster_create && make cluster_resource_apply && make node_create && make resource_apply
kubectl get pods # parca is in default namespace
kubectl port-forward services/parca 31802:80 # port forward to see parca ui

after going to localhost:31802/profiles parca ui should be visible and the comparison of the two prometheus instances (1 current stable version, 1 incoming change) should be present

this change also fixes the documentation of running prombench locally because using GITHUB_ORG=prometheus fetches a bad image of prometheus and causes make resource_apply to fail

next changes