Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Quick Look at Tekton

Aykut Bulgu
February 21, 2020

A Quick Look at Tekton

Aykut Bulgu

February 21, 2020

More Decks by Aykut Bulgu

Other Decks in Technology


  1. @systemcraftsman A Quick Look at Tekton Aykut M. Bulgu Technology

    Consultant | Software Architect @systemcraftsman
  2. @systemcraftsman #oc apply -f aykutbulgu.yaml apiVersion: redhat/v1.7 kind: Middleware &

    AppDev Consultant metadata: name: Aykut Bulgu namespace: Red Hat Consulting - CEMEA Annotations: twitter: @systemcraftsman email: [email protected] organizer: Software Craftsmanship Turkey founder: System Craftsman labels: married: yes children: daughter interests: tech (kubernetes/openshift, spring boot, middleware, camel, kafka, strimzi, ci/cd), aikido spec: replicas: 1 containers: - image: aykut:latest My Custom Resource
  3. @systemcraftsman 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 Definitions (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 participation.
  4. @systemcraftsman Kubernetes-style Pipelines Runs serverless Integrated CI/CD experience (on OpenShift)

    Use CRDs to define 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.
  5. @systemcraftsman An application used to create, configure and manage other

    complex applications Contains domain-specific domain knowledge Operator works based on input from Custom Resource Definitions (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 reconcile OperatorHub.io Observe Analyze Act The Operator Pattern
  6. @systemcraftsman Tasks A Task is a collection of sequential steps

    that run as part of a continuous integration flow. A Task runs in the pod on your cluster. A Task declares: ➔ Inputs ➔ Outputs ➔ Steps
  7. @systemcraftsman Pipeline Resources ➔ Git Resource ➔ Pull Request Resource

    ➔ Image Resource ➔ Cluster Resource ➔ Storage Resource ➔ Cloud Event Resource
  8. @systemcraftsman Installing Tekton ➔ Using YAML sources ➔ Via Operatorhub

    in OpenShift OLM ➔ By creating a subscription YAML in OLM
  9. @systemcraftsman Tekton CLI tkn [command or options] [arguments… ] Syntax

    Samples tkn pipeline start tkn pipeline list tkn pipeline ls tkn resource ls tkn taskrun logs