-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7962e5
commit 010bc97
Showing
12 changed files
with
838 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## tkn clustertask start | ||
|
||
Start clustertasks | ||
|
||
### Usage | ||
|
||
``` | ||
tkn clustertask start clustertask [RESOURCES...] [PARAMS...] [SERVICEACCOUNT] | ||
``` | ||
|
||
### Synopsis | ||
|
||
Start clustertasks | ||
|
||
### Examples | ||
|
||
Start ClusterTask foo by creating a TaskRun named "foo-run-xyz123" in namespace 'bar': | ||
|
||
tkn clustertask start foo -n bar | ||
|
||
or | ||
|
||
tkn ct start foo -n bar | ||
|
||
For params value, if you want to provide multiple values, provide them comma separated | ||
like cat,foo,bar | ||
|
||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for start | ||
-i, --inputresource strings pass the input resource name and ref as name=ref | ||
-l, --labels strings pass labels as label=value. | ||
-L, --last re-run the clustertask using last taskrun values | ||
-o, --outputresource strings pass the output resource name and ref as name=ref | ||
-p, --param stringArray pass the param as key=value or key=value1,value2 | ||
-s, --serviceaccount string pass the serviceaccount name | ||
--showlog show logs right after starting the clustertask | ||
-t, --timeout int timeout for taskrun in seconds (default 3600) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context) | ||
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config) | ||
-n, --namespace string namespace to use (default: from $KUBECONFIG) | ||
-C, --nocolour disable colouring (default: false) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [tkn clustertask](tkn_clustertask.md) - Manage clustertasks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
.TH "TKN\-CLUSTERTASK\-START" "1" "" "Auto generated by spf13/cobra" "" | ||
.nh | ||
.ad l | ||
|
||
|
||
.SH NAME | ||
.PP | ||
tkn\-clustertask\-start \- Start clustertasks | ||
|
||
|
||
.SH SYNOPSIS | ||
.PP | ||
\fBtkn clustertask start clustertask [RESOURCES...] [PARAMS...] [SERVICEACCOUNT]\fP | ||
|
||
|
||
.SH DESCRIPTION | ||
.PP | ||
Start clustertasks | ||
|
||
|
||
.SH OPTIONS | ||
.PP | ||
\fB\-h\fP, \fB\-\-help\fP[=false] | ||
help for start | ||
|
||
.PP | ||
\fB\-i\fP, \fB\-\-inputresource\fP=[] | ||
pass the input resource name and ref as name=ref | ||
|
||
.PP | ||
\fB\-l\fP, \fB\-\-labels\fP=[] | ||
pass labels as label=value. | ||
|
||
.PP | ||
\fB\-L\fP, \fB\-\-last\fP[=false] | ||
re\-run the clustertask using last taskrun values | ||
|
||
.PP | ||
\fB\-o\fP, \fB\-\-outputresource\fP=[] | ||
pass the output resource name and ref as name=ref | ||
|
||
.PP | ||
\fB\-p\fP, \fB\-\-param\fP=[] | ||
pass the param as key=value or key=value1,value2 | ||
|
||
.PP | ||
\fB\-s\fP, \fB\-\-serviceaccount\fP="" | ||
pass the serviceaccount name | ||
|
||
.PP | ||
\fB\-\-showlog\fP[=false] | ||
show logs right after starting the clustertask | ||
|
||
.PP | ||
\fB\-t\fP, \fB\-\-timeout\fP=3600 | ||
timeout for taskrun in seconds | ||
|
||
|
||
.SH OPTIONS INHERITED FROM PARENT COMMANDS | ||
.PP | ||
\fB\-c\fP, \fB\-\-context\fP="" | ||
name of the kubeconfig context to use (default: kubectl config current\-context) | ||
|
||
.PP | ||
\fB\-k\fP, \fB\-\-kubeconfig\fP="" | ||
kubectl config file (default: $HOME/.kube/config) | ||
|
||
.PP | ||
\fB\-n\fP, \fB\-\-namespace\fP="" | ||
namespace to use (default: from $KUBECONFIG) | ||
|
||
.PP | ||
\fB\-C\fP, \fB\-\-nocolour\fP[=false] | ||
disable colouring (default: false) | ||
|
||
|
||
.SH EXAMPLE | ||
.PP | ||
Start ClusterTask foo by creating a TaskRun named "foo\-run\-xyz123" in namespace 'bar': | ||
|
||
.PP | ||
.RS | ||
|
||
.nf | ||
tkn clustertask start foo \-n bar | ||
|
||
.fi | ||
.RE | ||
|
||
.PP | ||
or | ||
|
||
.PP | ||
.RS | ||
|
||
.nf | ||
tkn ct start foo \-n bar | ||
|
||
.fi | ||
.RE | ||
|
||
.PP | ||
For params value, if you want to provide multiple values, provide them comma separated | ||
like cat,foo,bar | ||
|
||
|
||
.SH SEE ALSO | ||
.PP | ||
\fBtkn\-clustertask(1)\fP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.