Tekton Pipelines is built as an extension to Kubernetes. How does Tekton add its custom types such as Task, Pipeline, and PipelineRun to a cluster?
Tekton Fundamentals
Question · Easy
In Tekton, what is the smallest unit of execution that runs as a single container inside a Task's Pod?
Tasks And Taskruns
What is the relationship between a Task and a TaskRun in Tekton?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
A Task author wants a Step's command to receive a value supplied at run time, for example an image tag. Which Tekton mechanism should they use?
Which variable substitution correctly references a Task parameter named 'image-url' inside a Step?
A Task parameter is declared with type 'array'. How is the full set of array values expanded when passed to a Step's args?
Question · Medium
How does a Step emit a Task result named 'commit' so it appears in the TaskRun status and can be consumed by later Tasks?
Tekton imposes a size limit on Task results because they are stored in the TaskRun's status (backed by the container termination message). What is the practical implication for what you store in a result?
Question · Hard
What is the primary purpose of a Workspace in a Tekton Task?
Inside a Step, which variable resolves to the mounted filesystem path of a Workspace declared with the name 'source'?
A Task declares a Workspace with 'optional: true'. What does this allow at run time?
In a multi-Step Task, what is the guaranteed execution behavior of the Steps?
What is the role of a Sidecar in a Tekton Task?
You want every Step in a Task to share the same image, environment variables, and security context without repeating them. Which Task field accomplishes this?
A Task parameter is declared without a default value and the TaskRun does not supply it. What happens?
A Task uses a 'script' field instead of 'command' and 'args' in a Step. What does the script field provide?
Which reserved directory does Tekton use inside a TaskRun Pod to collect the files that Steps write as Task results?
A Step needs to run even if a previous Step in the same Task failed, for example to upload diagnostic logs. Which Step-level field enables this?
How are environment variables sourced from a Kubernetes Secret made available to a Step in a Task?
Secrets And Auth
A Task needs to mount a Secret as files rather than environment variables, for example to provide a kubeconfig. What is the recommended Tekton approach?
Tekton authenticates a TaskRun's Steps (for example to clone a private Git repo) using credentials attached to which Kubernetes object?
Which annotation prefix on a Secret tells Tekton which Git host the Basic-auth or SSH credential should be matched against during credential initialization?
Which substitution exposes the name of the running TaskRun inside a Step for logging or tagging purposes?
A team wants the same Task definition stored in a Git repository to be reused across many Pipelines without copying YAML into each cluster. Which Tekton feature supports fetching that Task at run time?
When using the git resolver in a taskRef, which parameters are typically required to locate the Task?
In a Pipeline, what is a 'PipelineTask'?
Pipelines And Pipelineruns
By default, how does Tekton decide the execution order of the Tasks listed in a Pipeline?
Which field forces a PipelineTask to wait for one or more other Tasks to finish even though it does not consume their results?
Pipeline Task B sets a param value to $(tasks.clone.results.commit). What two effects does this have?
How do multiple Tasks in a Pipeline share the same cloned source code on disk?
What is the defining characteristic of Tasks listed under a Pipeline's 'finally' section?
Which constraint applies to Tasks declared in a Pipeline's 'finally' block?
A finally Task needs to know whether the overall Pipeline's main Tasks succeeded or failed so it can send a pass/fail notification. Which variable provides the aggregate status of all non-finally Tasks?
Which substitution lets a Pipeline result expose a value produced by a finally Task named 'report'?
A PipelineTask should only run when a parameter 'deploy' equals 'true'. Which Tekton construct expresses this guard?
Which operators are valid in a Tekton 'when' expression?
By default, when a PipelineTask is skipped because its when expression evaluates to false, what happens to Tasks that depend on it through runAfter only?
A team wants one Pipeline definition to run the same unit-test Task across browsers chrome, firefox, and safari, fanning out into parallel TaskRuns. Which feature does this?
A matrix PipelineTask is defined with two matrix params each having 3 values. How many TaskRuns does Tekton create?
Which PipelineTask field tells Tekton to re-execute a failed Task up to a set number of additional attempts before marking it failed?
You set 'timeout: 0h2m0s' on a single PipelineTask. What does this enforce?
What is the relationship between a Pipeline and a PipelineRun?
Which substitution gives the name of the current PipelineRun, useful for tagging artifacts uniquely per run?
How does a PipelineRun supply the storage that backs a Pipeline's declared Workspace?
A Pipeline declares a result at the Pipeline level. Where does its value typically come from?
In a Pipeline, how do you pass a value the PipelineRun provided (for example a git revision) down to an individual PipelineTask?
Which onError value on a PipelineTask allows the Pipeline to keep going even if that Task fails?
Loading more…