Skip to content
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

Taints & Node Selector for Prometheus, Cluster Role Tasks and follow ups for #325 #327

Merged

Conversation

ashishranjan738
Copy link
Contributor

@ashishranjan738 ashishranjan738 commented Dec 5, 2022

This PR introduces node selector and node taint patch for scheduling CL2 prometheus and also adds other minor fixes discussed in PR #325 like parameterizing instance types in load test, cluster role creation tasks, moving cw-metrics file to addons and adding cluster-name label in prometheus.

This commit adds an extra dedicated ASG for scheduling Prometheus
monitoring pod.

Signed-off-by: Ashish Ranjan <[email protected]>
This commit adds cluster name label patch for prometheus monitoring.

Signed-off-by: Ashish Ranjan <[email protected]>
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]>
This commit moves cw-metrics file to addons to folder and corrects exit
code.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738
Copy link
Contributor Author

/assign @mengqiy @hakuna-matatah

This commit adds prometheus label for s3 result path.

Signed-off-by: Ashish Ranjan <[email protected]>
tests/tasks/generators/clusterloader/load.yaml Outdated Show resolved Hide resolved
tests/tasks/generators/clusterloader/load.yaml Outdated Show resolved Hide resolved
tests/tasks/setup/eks/awscli-mng.yaml Outdated Show resolved Hide resolved
This commit updates load test to utilize tekton result for passing
s3_path.

Signed-off-by: Ashish Ranjan <[email protected]>
This commit refactors mng create task based  on comments provided on

Signed-off-by: Ashish Ranjan <[email protected]>
This commit adds tasks for cluster role creation.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738 ashishranjan738 changed the title Taints and Node Selector for Prometheus and follow ups for #325 Taints & Node Selector for Prometheus, Cluster Role Tasks and follow ups for #325 Dec 7, 2022
This commit updates pipelines with role creation tasks.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from a39d326 to d463bb6 Compare December 7, 2022 17:21
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from 000c8db to 22c7306 Compare December 8, 2022 08:58
tests/tasks/teardown/awscli-eks.yaml Outdated Show resolved Hide resolved
tests/assets/eks_node_role_policy.json Outdated Show resolved Hide resolved
tests/assets/eks_service_role_trust_policy.json Outdated Show resolved Hide resolved
tests/assets/eks_service_role_policy.json Outdated Show resolved Hide resolved
tests/assets/eks_node_role_trust_policy.json Outdated Show resolved Hide resolved
This commit refactors role creation tasks.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from 22c7306 to 1d6b2a8 Compare December 8, 2022 19:12
This comit updates role task name.

Signed-off-by: Ashish Ranjan <[email protected]>
This commit updates logic to use Role Names instead of Role ARNs.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from 867d34d to 61f2eba Compare December 12, 2022 07:53
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from 61f2eba to cd25b1e Compare December 12, 2022 07:58
This commit removes default value for role names.

Signed-off-by: Ashish Ranjan <[email protected]>
@ashishranjan738 ashishranjan738 force-pushed the prometheus-monitoring-rebase branch from cd25b1e to f92f827 Compare December 12, 2022 08:07
Copy link
Contributor

@hakuna-matatah hakuna-matatah left a comment

Choose a reason for hiding this comment

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

LGTM!

@hakuna-matatah hakuna-matatah merged commit 1704f12 into awslabs:main Dec 13, 2022
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