Java Day Istanbul, 2020.
Follow me on twitter (@systemcraftsman) or subscribe to https://www.systemcraftsman.com/join/ to get any updates from me.
A Quick Look at Tekton
Aykut M. Bulgu
Technology Consultant | Software Architect
#oc apply -f aykutbulgu.yaml
kind: Middleware & AppDev Consultant
name: Aykut Bulgu
namespace: Red Hat Consulting - CEMEA
email: [email protected]
organizer: Software Craftsmanship Turkey
founder: System Craftsman
interests: tech (cloud & middleware), aikido, 80s
- image: aykut:latest
Me as Code
What is this
Tekton is an open source project that provides a framework to create
cloud-native CI/CD pipelines quickly. As a Kubernetes-native framework,
Tekton makes it easier to deploy across multiple cloud providers or hybrid
environments. By leveraging the Custom Resource Deﬁnitions (CRDs) in
Kubernetes, Tekton uses the Kubernetes control plane to run pipeline tasks.
Tekton is one of the initial projects in Continuous Delivery Foundation (CDF)
with 25+ members which serves as a governing body for fast-growing CI/CD
projects to encourage and sustain vendor-neutral collaboration and
Integrated CI/CD experience (on OpenShift)
Use CRDs to deﬁne pipelines that run as containers and scale on-demand.
Full control over team’s delivery pipelines, plugins and access control with no central CI/CD server to manage.
A streamlined user experience through the OpenShift Console developer perspective, CLIs, and IDEs.
An application used to create, conﬁgure and manage other complex applications
Contains domain-speciﬁc domain knowledge
Operator works based on input from Custom Resource Deﬁnitions (CRDs)
User describes the desired state
Controller applies this state to the application
It watches the *desired* state and the *actual* state and makes forward progress to
The Operator Pattern
A Task is a collection of sequential steps that run as part of a continuous integration
ﬂow. A Task runs in the pod on your cluster.
A Task declares:
➔ Git Resource
➔ Pull Request Resource
➔ Image Resource
➔ Cluster Resource
➔ Storage Resource
➔ Cloud Event Resource
➔ Using YAML sources
➔ Via Operatorhub in OpenShift OLM
➔ By creating a subscription YAML in
tkn [command or options] [arguments… ]
tkn pipeline start
tkn pipeline list
tkn pipeline ls
tkn resource ls
tkn taskrun logs