-
Notifications
You must be signed in to change notification settings - Fork 110
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
kubetest2 gke retries creating the cluster if it fails due to specific reasons #13
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chizhg The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @chizhg. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
We also need to handle zonal clusters. I'd like to reconsider the use case for this functionality.
|
@chizhg: PR needs rebase. 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. |
The stockout issue, which corresponds to But I agree the other issues are preventable without blindly retrying, and since some |
As we synced offline,
kubetest2 gke
supports retrying cluster creation if it fails due to some reasons that cannot be prevented in advance, e.g. quota running out. This is achieved by adding an extraback-regions
flag which will enable the retry logic if it's not empty. IMO this approach is better than supportingregion
to be set asauto
since it allows users to restrict which region(s) they want the cluster to be in, and it's also backward compatible.Add a new flag
require-gcp-ssh-key
to allow the GCP SSH key to be empty, with which we can get rid of the hack in Knative - https://github.com/knative/test-infra/blob/master/scripts/e2e-tests.sh#L229-L233 (we are still usingkubetest
in Knative but will be likely switching tokubetest2
soon)./cc @amwat