In Tekton, which primitive defines a reusable unit of work that can be composed into pipelines?

Prepare for the Red Hat OpenShift Developer II DO288 Exam with our quizzes. Study with flashcards and multiple choice questions, each with hints and explanations. Get ready for your certification!

Multiple Choice

In Tekton, which primitive defines a reusable unit of work that can be composed into pipelines?

Explanation:
A Task defines a reusable unit of work in Tekton that can be composed into pipelines. It encapsulates the steps to perform a job, with parameters and inputs/outputs, and is designed to be reused across different workflows. Pipelines bring together multiple Tasks in a specific order or in parallel to form a complete workflow. TaskRun is the execution instance of a Task, while PipelineRun is the execution instance of a Pipeline. Since the question asks for the primitive that represents the reusable unit you compose into pipelines, the element you’re looking for is a Task.

A Task defines a reusable unit of work in Tekton that can be composed into pipelines. It encapsulates the steps to perform a job, with parameters and inputs/outputs, and is designed to be reused across different workflows. Pipelines bring together multiple Tasks in a specific order or in parallel to form a complete workflow. TaskRun is the execution instance of a Task, while PipelineRun is the execution instance of a Pipeline. Since the question asks for the primitive that represents the reusable unit you compose into pipelines, the element you’re looking for is a Task.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy