1
1
// This module is included in the following assemblies:
2
2
// * tkn_cli/op-tkn-reference.adoc
3
3
4
+ :_mod-docs-content-type: REFERENCE
4
5
[id="op-tkn-task-management_{context} "]
5
6
= Task management commands
6
7
@@ -16,19 +17,19 @@ $ tkn task -h
16
17
== task delete
17
18
Delete a task.
18
19
19
- .Example: Delete `mytask1` and `mytask2` tasks from a namespace
20
+ .Example: Delete tasks from a namespace
20
21
[source,terminal]
21
22
----
22
- $ tkn task delete mytask1 mytask2 -n myspace
23
+ $ tkn task delete <task_name_1> <task_name_2> -n <namespace_name>
23
24
----
24
25
25
26
== task describe
26
27
Describe a task.
27
28
28
- .Example: Describe the `mytask` task in a namespace
29
+ .Example: Describe a task in a namespace
29
30
[source,terminal]
30
31
----
31
- $ tkn task describe mytask -n myspace
32
+ $ tkn task describe <task_name> -n <namespace_name>
32
33
----
33
34
34
35
== task list
@@ -37,23 +38,14 @@ List tasks.
37
38
.Example: List all the tasks in a namespace
38
39
[source,terminal]
39
40
----
40
- $ tkn task list -n myspace
41
- ----
42
-
43
- == task logs
44
- Display task logs.
45
-
46
- .Example: Display logs for the `mytaskrun` task run of the `mytask` task
47
- [source,terminal]
48
- ----
49
- $ tkn task logs mytask mytaskrun -n myspace
41
+ $ tkn task list -n <namespace_name>
50
42
----
51
43
52
44
== task start
53
45
Start a task.
54
46
55
- .Example: Start the `mytask` task in a namespace
47
+ .Example: Start a task in a namespace
56
48
[source,terminal]
57
49
----
58
- $ tkn task start mytask -s <ServiceAccountName > -n myspace
50
+ $ tkn task start <task_name> -s <service_account_name > -n <namespace_name>
59
51
----
0 commit comments