-
Notifications
You must be signed in to change notification settings - Fork 38
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
Adds Remote Write changes for Prometheus #325
Conversation
70f3b30
to
6f9505b
Compare
results: | ||
- name: datapoint | ||
description: Stores the CL2 result that can be consumed by other tasks (e.g. cloudwatch) | ||
workspaces: | ||
- name: source | ||
mountPath: /src/k8s.io/ |
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.
Why do we need this?
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 just preferred this path as it coincides with GOPATH and also some hardcoding are there in CL2 code regarding this path https://github.com/kubernetes/perf-tests/blob/release-1.23/clusterloader2/pkg/prometheus/prometheus.go#L66. However if we are passing the manifests explicitly which indeed we are, we can avoid this. But this shouldn't be a breaking change.
could you add permissions/policies required to perform AMP operations here - https://github.com/awslabs/kubernetes-iteration-toolkit/blob/main/infrastructure/lib/kit-infrastructure.ts#L129-L148 so it works out of box without manual intervention during setup. Also, could you add a readme to setup AMP as it's a pre-req for some of our tekton pipelines in our doc here |
Very nice to see all this coming through. Thank you Ashish. |
@hakuna-matatah how is adding to place gonna help us ? We need this permission to the role we pass in the mng task which i guess this is currently not generated via cdk
|
No, tekton pods leverage IRSA hence the code link i shared in my comment will work for us if you add it there. The one you are pointing to is a node role which MNG APIs need as param for creating MNGs. |
Oops accidentally closed instead of adding comment. |
This commit addresses the comments of PR awslabs#325. Signed-off-by: Ashish Ranjan <[email protected]>
This commit adds changes to remote write Prometheus metrics to a AMP workspace. Signed-off-by: Ashish Ranjan <[email protected]>
This commit addresses the comments of PR awslabs#325. Signed-off-by: Ashish Ranjan <[email protected]>
f981c97
to
70f02b9
Compare
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.
LGTM!
/Do-not-merge
081d039
to
70f02b9
Compare
Please work with @hakuna-matatah to understand why he added |
This commit refactors mng create task based on comments provided on Signed-off-by: Ashish Ranjan <[email protected]>
…ups for #325 (#327) * Adds ASG with Prometheus taints for CL2 tests This commit adds an extra dedicated ASG for scheduling Prometheus monitoring pod. Signed-off-by: Ashish Ranjan <[email protected]> * Adds cluster name label for prometheus monitoring This commit adds cluster name label patch for prometheus monitoring. Signed-off-by: Ashish Ranjan <[email protected]> * Adds node selector for Prometheus manifest This commit adds node selector with monitoring asg to Prometheus manifest so that it is always tied to correct node. Signed-off-by: Ashish Ranjan <[email protected]> * Moves cw-metrics to addons folder. This commit moves cw-metrics file to addons to folder and corrects exit code. Signed-off-by: Ashish Ranjan <[email protected]> * Adds prometheus label for s3 path This commit adds prometheus label for s3 result path. Signed-off-by: Ashish Ranjan <[email protected]> * Updates load test to utilize tekton result for passing s3_path This commit updates load test to utilize tekton result for passing s3_path. Signed-off-by: Ashish Ranjan <[email protected]> * Refactor mng create task based on the comments on #325 This commit refactors mng create task based on comments provided on Signed-off-by: Ashish Ranjan <[email protected]> * Adds tasks for cluster role creation This commit adds tasks for cluster role creation. Signed-off-by: Ashish Ranjan <[email protected]> * Updates pipelines with role creation tasks This commit updates pipelines with role creation tasks. Signed-off-by: Ashish Ranjan <[email protected]> * Refactors Role Creation Tasks This commit refactors role creation tasks. Signed-off-by: Ashish Ranjan <[email protected]> * Updates role task name This comit updates role task name. Signed-off-by: Ashish Ranjan <[email protected]> * Updates Roles arns to to Role Names This commit updates logic to use Role Names instead of Role ARNs. Signed-off-by: Ashish Ranjan <[email protected]> * Removes default value for role names. This commit removes default value for role names. Signed-off-by: Ashish Ranjan <[email protected]> * Addresses comments of PR #327 Signed-off-by: Ashish Ranjan <[email protected]> Signed-off-by: Ashish Ranjan <[email protected]>
This commit adds changes to remote write Prometheus metrics to a AMP workspace.
Signed-off-by: Ashish Ranjan [email protected]