Implement the Kubernetes executor
Type Params | Return Type | Name and description |
---|---|---|
|
TaskHandler |
createTaskHandler(TaskRun task) Creates a TaskHandler for the given TaskRun instance |
|
protected TaskMonitor |
createTaskMonitor() @return A TaskMonitor associated to this executor type |
|
boolean |
isContainerNative() @return true since containerised execution is managed by Kubernetes |
|
protected void |
register() Initialise the executor setting-up the kubernetes client configuration |
Methods inherited from class | Name |
---|---|
class Executor |
createTaskHandler, createTaskMonitor, getDisplayName, getMonitor, getStageDir, getTempDir, getWorkDir, init, isContainerNative, isForeignFile, register, signal, submit |
Creates a TaskHandler for the given TaskRun instance
task
- A TaskRun instance representing a process task to be executed
true
since containerised execution is managed by KubernetesInitialise the executor setting-up the kubernetes client configuration