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

Changing nodeSelector key to generic keyname #369

Merged
merged 5 commits into from
Jun 16, 2020

Conversation

imrajdas
Copy link
Contributor

@imrajdas imrajdas commented May 23, 2020

Logs- logs.txt

@imrajdas
Copy link
Contributor Author

cc @geekodour

@geekodour
Copy link
Member

Thanks for the PR :) Looks good.

Was it necessary for the rename of /manifests/cluster-infra/1a_gcloud_rolebinding.yaml for updating the node labels? If not, then it'll be good to add those changes as another PR as that file has other mentions of GKE aswell which need changes.

… cluster.yaml and nodepools.yaml

Signed-off-by: Raj Das <mail.rajdas@gmail.com>
@imrajdas
Copy link
Contributor Author

imrajdas commented May 26, 2020

Thanks for the PR :) Looks good.

Was it necessary for the rename of /manifests/cluster-infra/1a_gcloud_rolebinding.yaml for updating the node labels? If not, then it'll be good to add those changes as another PR as that file has other mentions of GKE aswell which need changes.

Not necessary @geekodour, I reverted it to 1a_gcloud_rolebinding.yaml. Will raise another PR for this

@geekodour
Copy link
Member

Okay, thanks. :) Could you update the node labels for funcbench aswell in this PR? You'd probably need to rebase with master.

Signed-off-by: Raj Das <mail.rajdas@gmail.com>
Signed-off-by: Raj Das <mail.rajdas@gmail.com>
Signed-off-by: Raj Das <mail.rajdas@gmail.com>
@geekodour
Copy link
Member

geekodour commented Jun 12, 2020

LGTM, tested it aswell. @krasi-georgiev 's review would be nice :)

But this will break deployment/updating of manifest files like

because the current node(deployed test-infra) does not have the label node-type set. so can probably just set it for the main node and the rest of the nodepools will be created with the new labels for each benchmark anyway.

@krasi-georgiev
Copy link
Contributor

why node-type and not nodeName or node-name?

Signed-off-by: Raj Das <mail.rajdas@gmail.com>
@imrajdas
Copy link
Contributor Author

why node-type and not nodeName or node-name?

Hi @krasi-georgiev , Thanks for the review. I changed the node label from node-type to node-name. Please take a look

@imrajdas imrajdas requested a review from geekodour June 16, 2020 03:09
@geekodour
Copy link
Member

geekodour commented Jun 16, 2020

nodeName can be confusing as k8s already have nodeName and can be confused without proper context. I think node-type is a better name for this as it says which kind of node in our test-infra we want the pods to go to.

But node-type is a little confusing with things like node-type : funcbench-{{ .PR_NUMBER }}, which directly does not signify a type. Unlike node-type: main-node.

node-name still seems like a good option though but again is more similar to nodeName.

Will merge after @krasi-georgiev 's final review on the changes added.

@krasi-georgiev
Copy link
Contributor

LGTM
this is easy to change again if needed

@geekodour geekodour merged commit baa5695 into prometheus:master Jun 16, 2020
@geekodour
Copy link
Member

Thanks! 🥳

@imrajdas imrajdas deleted the naming-change branch June 17, 2020 00:50
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.

None yet

3 participants