-
Notifications
You must be signed in to change notification settings - Fork 542
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
Install pdcsi driver in gke scalability test #1929
Conversation
Welcome @leiyiz! |
Hi @leiyiz. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Have you tested this on a migration-enabled cluster to make sure there's not another use of the default storage class hidden in there?
be2f398
to
14f4d97
Compare
clusterloader2/run-e2e.sh
Outdated
@@ -23,14 +23,14 @@ export KUBECONFIG="${KUBECONFIG:-${HOME}/.kube/config}" | |||
export KUBEMARK_ROOT_KUBECONFIG="${KUBEMARK_ROOT_KUBECONFIG:-${HOME}/.kube/config}" | |||
|
|||
# Deploy the GCP PD CSI Driver if required | |||
if [[ "${DEPLOY_GCI_DRIVER:-false}" == "true" ]]; then | |||
if [[ "${DEPLOY_GCI_DRIVER:-true}" == "true" ]]; then |
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 don't think we can change default here. This script is used also outside of gcp.
I think we should keep default and set this flag in our tests specifically.
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.
make sense, can you give me a pointer on where to change this flag? it's nowhere to be found in perf-tests
repo
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.
You can set any env variable for a given test in test-infra repo.
Here I recommend changing this in preset-e2e-scalability-periodics-master preset which will automatically affect all periodic jobs using master branch:
Then you should add this variable to other presets as described in kubernetes/test-infra#19710 (comment)
The potential problem is that once we add this to preset-e2e-scalability-periodics (as described there), this will affect also release presubmits in file:
which are also using this presubmit. Setting this env in that file will try to use perf-tests/release-1.22 version of this code DEPLOY_GCI_DRIVER which isn't intended.
I recommend manually adding --env= DEPLOY_GCI_DRIVER=false in all release-branch-jobs/1.X.yaml that are using preset-e2e-scalability-periodics to override this preset value.
I know it's quite complicated, we can figure out details during test-infra PR reviews.
Please do not update vendor/. It's simply a copy of some external repo. All changes should go to those repos. In fact, I don't think we need any changes to vendor, do we? |
so the runner.sh I think needs to be changed because the config in the update: I kinda got confused with prometheus.go and runner.go and all that, but anyway had some conversation with matt and we think installing pdcsi driver might not work and we'll probably have to 1.convert scalability test to use kubetest2 and 2.use cloud-provider-gcp to bring up cluster. |
c96922d
to
98213cf
Compare
I don't think you need to update vendor to pickup changes in prometheus/manifests/0ssd-storage-class.yaml. It's used by prometheus-operator in this repo and AFAIK changing value in yaml should just work. |
Yes, I got vender/ confused with prometheus.go, indeed vendor/ doesn't needs to be changed. But just changing the yaml did not get picked up. |
test passed here against kubernetes/kubernetes#104722 |
I think it's OK. Please revert the DEPLOY_GCI_DRIVER default change and LGTM |
…tallation manifest
/LGTM |
@leiyiz: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leiyiz, mborsz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
linked to kubernetes/kubernetes#104722
/assign @mborsz
/assign @mattcary
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: