-
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
Document how to use the kind tool and the Tekton/plumbing convenience script #3972
Conversation
/kind documentation |
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. |
@mrutkows: 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 |
/ok-to-test |
As I started looking at the inner workings of the script and providing a small "delete" example, I realized more was going on with the script and decided to create tektoncd/plumbing#849 in the plumbing repo. where the script resides to host canonical information that could be referenced in DEVELOPMENT.md to avoid too much duplication. |
@sbwsg @pritidesai Thanks for your help. I have now factored in the refs./content in the plumbing docs, rebased and flattened commits. Please review when able. Thanks! |
DEVELOPMENT.md
Outdated
@@ -265,7 +266,7 @@ The recommended minimum development configuration is: | |||
|
|||
<!-- TODO: Someone needs to validate the cluster-version--> | |||
1. Create a GKE cluster (with `--cluster-version=latest` but you can use any | |||
version 1.18 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.
Any reason to revert that back ? on main
(and most likely on 0.24 too), we have a minimum version of k8s at 1.18.
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.
Not sure how I reverted this... will put back.
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.
Done ;)
b9c1a52
to
60298dd
Compare
DEVELOPMENT.md
Outdated
|
||
### Standing up a K8s cluster with Tekton using the `kind` tool | ||
|
||
An alternative to standing up your own K8s cluster and installing Tekton using `ko` is by using the [kind](https://kind.sigs.k8s.io/) tool. It was designed to help create and run local, Kubernetes clusters in Docker to assist in local development and testing. |
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: looks like there might be a word missing here? create and run local, Kubernetes clusters
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 guess that I did not actually need a comma there between local and K8s. Can remove...
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.
@sbwsg Fixed
[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 |
DEVELOPMENT.md
Outdated
@@ -98,7 +99,7 @@ To [build, deploy and run your Tekton Objects with `ko`](#install-pipeline), you | |||
|
|||
1. `GOROOT`: Set `GOROOT` to the location of the Go installation you want `ko` to use for builds. | |||
|
|||
> **NOTE** You may need to set `GOROOT` if you installed Go tools to a a non-default location or have multiple Go versions installed. | |||
> **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: extra a
here 🙃 to a a non-default location
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.
Fixed the "a a" that was from previous PR ;)
```shell | ||
cd plumbing | ||
./hack/tekton_in_kind.sh | ||
``` |
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 haven't tried these instructions myself but excited to experiment with it. Thank you @mrutkows for documenting them in the pipeline repo.
thanks @mrutkows I have updated the release notes /lgtm |
/test pull-tekton-pipeline-alpha-integration-tests |
1 similar comment
/test pull-tekton-pipeline-alpha-integration-tests |
thanks again @mrutkows /lgtm |
Changes
This PR is a promised follow-on to PR #3955 (suggested by Andrea and Scott) which intends to document the use of the
kind
tool and specifically use of the convenience script(s) provided in the Tekton plumbing repo.It addresses the reference issue #3970 which captures the request more fully.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind documentation
Release Notes