-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Organize DEVELOPMENT.md, provide consistent examples & reflect go mod support #3955
Conversation
Hi @mrutkows. Thanks for your PR. I'm waiting for a tektoncd 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. |
/ok-to-test |
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.
@afrittoli also has an extremely useful script for getting a Kind cluster installed with the latest version tekton pipelines running inside it.
I wonder if something like that would be useful as an "extremely quick quickstart"? We could place in contrib/
and reference it from here. Not a blocker on this PR though at all.
DEVELOPMENT.md
Outdated
|
||
The recommended configuration is: | ||
|
||
- Kubernetes version 1.17 or later |
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.
This has changed very recently (pipelines 0.24) to "1.18 or later".
DEVELOPMENT.md
Outdated
The recommended configuration is: | ||
|
||
- Kubernetes version 1.17 or later | ||
- 4 vCPU nodes (`n1-standard-4`) |
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 wonder if we should be pointing developers at Kind, instead of cloud resources? Might be a lower barrier given it's free?
If we stick with machine recommendations, maybe change to e2-standard-2
? It's cheaper and, at least during my development, Tekton Pipelines alone hasn't required lots of CPU / RAM resources.
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.
Ah, I also notice we have GKE-specific instructions below. Maybe move the specific machine recommendation (which is a Google Cloud designation I think?) to that section instead?
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.
Ah, I also notice we have GKE-specific instructions below. Maybe move the specific machine recommendation (which is a Google Cloud designation I think?) to that section instead?
yes, I agree that referencing pre-packaged, named tiers for specific providers should not be part of the canonical documentation. Not sure when n1-standard-4
was added, but likely should remove altogether.
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.
yup, I agree, these recommendations might confuse developers compared to the machine specific recommendations. @mrutkows please feel free to delete these from here or can be addressed in a follow up PR.
Indeed, I find The script is in the plumbing repo.
Agreed, linking the |
Thanks Andrea, would love to integrate anything that would help developers here; if you like, I can add these in follow-on PRs and make sure I gather all the information you are referencing properly. |
thanks a bunch @mrutkows for all the updates, appreciate all your efforts 🙏 |
|
||
# Set your target namespace here | ||
TARGET_NAMESPACE=new-target-namespace | ||
**Setting cluster admin role example**: |
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.
is this something we can drop from here? or at least delay it until machine specific recommendations 🤔
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 reviewed the changes again and this does not apply here unless I am missing something. Not blocking this PR though, this can be revisited in later iteration.
integration tests should be back in working order once #3960 is merged. You'll need to rebase once that's in. |
/retest |
Opened #3970 to assure we add |
Please review (rebased, squashed commits). I have completed all the changes I intended for the scope of this PR and linked in additional work on |
Not sure why tests/checks say "failed".. clicking on their "details"
|
/test pull-tekton-pipeline-alpha-integration-tests |
@mrutkows just a flaky run 😜 runs fine now |
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.
Awesome, thanks a lot!
|
||
As you make changes to the code, you can redeploy your controller with: | ||
You can verify your development installation using `ko` was successful by checking to see oif the Tekton pipeline pods are running in Kubernetes: |
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.
nit: oif
-> if
|
||
This script will cause `ko` to: | ||
- Change (resolve) all `namespace` values in K8s configuration files within the `config/` subdirectory to be updated to a name of your choosing. | ||
- Builds and push images with the new namespace to your container registry and |
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.
nit: Builds
-> Build
to match tense with bullets above/below
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbwsg 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 |
--docker-email=me@here.com \ | ||
--namespace=tekton-pipelines | ||
``` | ||
> **NOTE** You may need to set `GOROOT` if you installed Go tools to a a non-default location or have multiple Go versions installed. |
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.
NIT: to a a non-default, extra a here
/lgtm thanks a bunch @mrutkows for revamping the Also, I have added appropriate release notes 😄 |
Changes
Organize DEVELOPMENT.md, provide consistent examples and reflect go mod support
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes