-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
doc: update example to use tag v3.3.1 #5265
doc: update example to use tag v3.3.1 #5265
Conversation
Welcome @rodrigc! |
Hi @rodrigc. 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. |
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.
approved
/ok-to-test |
@Aisuko: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
/ok-to-test |
@Aisuko: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
/assign |
/ok-to-test |
@Aisuko: Cannot trigger testing until a trusted user reviews the PR and leaves an 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 |
@Aisuko: changing LGTM is restricted to collaborators 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. |
@Aisuko Thanks! |
Hi, @koba1t may you please help us on this one? thanks. |
Hi @rodrigc I think |
@koba1t I just picked Which of these tags do you recommend I use: It looks like after |
I suggest using the latest Kustomzie release tag. |
@koba1t OK, I made the changed the tag to See rendered version of the file here: https://github.com/kubernetes-sigs/kustomize/blob/806f11341e2ac42fe642cfe5a8dad7f1d72b84d4/examples/remoteBuild.md |
I found an error when testing using
|
I tried to reproduce your problem. But then I ran it again and it worked, and I got:
I'm not sure what the issue is. It might be a performance issue against GitHub. |
Seems related to this: #3742 Does adding a Like this:
|
Yes, I got success for the build when I added
|
You want me to add a timeout value to all the URL's in this patch? Since this is just modifying a doc, might as well have a doc that the average user can try, and not run into GitHub errors? |
I added a timeout, so this should work with github |
Thanks! I can't understand why we take more time to clone, but I think there is no need to fix it here. |
/ok-to-test |
examples/remoteBuild.md
Outdated
@@ -48,7 +48,7 @@ one pod in the output: | |||
|
|||
<!-- @remoteOverlayBuild @testAgainstLatestRelease --> | |||
``` | |||
target="https://github.com/kubernetes-sigs/kustomize//examples/multibases/dev/?ref=v1.0.6" | |||
target="https://github.com/kubernetes-sigs/kustomize//examples/multibases/dev/?timeout=120&ref=kustomize/v5.1.1" |
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.
When I run this, the timeout is too small for me. I had to up the timeout to 3 minutes on my machine, so I'm not sure that this timeout will be universally ok for all users. I believe the reason that v5 takes so much longer to clone than v1 is because the repo is much, much bigger now.
I think it will be very confusing for users (and a bad user experience) who run this command and see it hang for over a minute while kustomize tries to clone the large repo. I myself thought it was broken at first and that there must be something wrong with the syntax or example until it timed out at 2 minutes.
I see in a previous thread that you had it originally using v3.3.1
. When I run that, it returns instantly and without printing the confusing warning. I think that will be the best user experience for users who follow these docs. After 3.3.1, we changed kustomize to have multiple modules, hence why the repository suddenly increased in size so much.
Really sorry for the back and forth (I know it's annoying) but let's stick with v3.3.1 for this (fyi @koba1t). Once you make that change, I can lgtm and approve this.
Signed-off-by: Craig Rodrigues <rodrigc@crodrigues.org>
OK, I changed the tag back to |
/lgtm Thanks! Bot will merge this once the tests are passing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Aisuko, natasha41575, rodrigc 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 |
Is there any option to specify a different default timeout? Rather than having to put the timeout in every URL? |
The current example uses tag v1.0.6 .
However, if you use a kustomization file that looks like this:
kustomize build
will work, but give a warning:For people like me who are newbies to customize, this was confusing.
It turns out that the underlying code in the kustomize repo has been fixed to use the latest syntax that does not emit deprecation warnings. So just use the newer tag.