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

Hands-On Intro to Cloud-Native CI/CD with Tekton - KubeCon EU 2020

Hands-On Intro to Cloud-Native CI/CD with Tekton - KubeCon EU 2020

This hands-on tutorial introduces the key concepts of Tekton, a flexible, Kubernetes-native CI/CD framework that enables the automation of deployments across multiple platforms - including Kubernetes, serverless, and VMs - by abstracting away the underlying details.

In this tutorial, participants will:

- Learn about fundamental Tekton concepts and benefits and how to use the tkn CLI
- Install tasks and learn about task catalogs
- Create a pipeline for building, testing, and deploying an application on Kubernetes
- Add pipeline resources
- Trigger a pipelinerun
- Deploy the application using a pipelinerun

Pre-requisites:
Install the following prior to the tutorial:
minikube:https://kubernetes.io/docs/tasks/tools/install-minikube/ (Kubernetes v1.16 or higher)
tkn CLI: https://github.com/tektoncd/cli
(optional) VS Code Tekton extension: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-tekton-pipelines

Jan Kleinert

August 17, 2020
Tweet

More Decks by Jan Kleinert

Other Decks in Technology

Transcript

  1. CI/CD CI/CD introduces ongoing automation and continuous monitoring throughout the

    lifecycle of apps, from integration and testing phases to delivery and deployment. https://www.redhat.com/en/topics/devops/what-is-ci-cd
  2. What is Cloud-Native CI/CD? Designed with microservices and distributed teams

    in mind Containers Built for container apps and runs on Kubernetes Serverless Runs serverless with no CI/CD engine to manage and maintain DevOps
  3. PIPELINE RUN PIPELINE Tekton Pipeline Example Build JAR Code analysis

    Build app image Deploy to DEV cluster Integration Tests Deploy to STAGE cluster Container Registry git url registry url dev cluster cred stage cluster cred DEV Cluster TASK PIPELINE RESOURCE STAGE Cluster