Book description
Automate the delivery of applications using Tekton Pipelines and Triggers to deploy new releases quickly and more efficiently
Key Features
- Learn how to create powerful pipelines using CI/CD tools
- Understand how to run, deploy and test applications directly in a cloud-native environment
- Explore the new Tekton Pipelines 2021 features
Book Description
Tekton is a powerful yet flexible Kubernetes-native open source framework for creating continuous integration and continuous delivery (CI/CD) systems. It enables you to build, test, and deploy across multiple cloud providers or on-premise systems.
Building CI/CD Systems Using Tekton covers everything you need to know to start building your pipeline and automating application delivery in a cloud-native environment. Using a hands-on approach, you will learn about the basic building blocks, such as tasks, pipelines, and workspaces, which you can use to compose your CI/CD pipelines. As you progress, you will understand how to use these Tekton objects in conjunction with Tekton Triggers to automate the delivery of your application in a Kubernetes cluster.
By the end of this book, you will have learned how to compose Tekton Pipelines and use them with Tekton Triggers to build powerful CI/CD systems.
What you will learn
- Understand the basic principles behind CI/CD
- Explore what tasks are and how they can be made reusable and flexible
- Focus on how to use Tekton objects to compose a robust pipeline
- Share data across a pipeline using volumes and workspaces
- Discover more advanced topics such as WhenExpressions and Secrets to build complex pipelines
- Understand what Tekton Triggers are and how they can be used to automate CI/CD pipelines
- Build a full CI/CD pipeline that automatically deploys an application to a Kubernetes cluster when an update is done to a code repository
Who this book is for
This continuous integration and continuous delivery book is for anyone who wants to learn about one of the most powerful Kubernetes-native CI/CD systems - Tekton. Software developers who want to leverage the Custom Resource Definitions (CRDs) in Kubernetes and use Tekton to run pipeline tasks in order to build and own application delivery pipelines will also find this book particularly helpful. Beginner-level knowledge of software development concepts and Kubernetes is required to get the most out of this book.
Table of contents
- Building CI/CD Systems Using Tekton
- Contributors
- About the author
- About the reviewers
- Preface
- Section 1: Introduction to CI/CD
- Chapter 1: A Brief History of CI/CD
- Chapter 2: A Cloud-Native Approach to CI/CD
- Section 2: Tekton Building Blocks
- Chapter 3: Installation and Getting Started
- Chapter 4: Stepping into Tasks
- Chapter 5: Jumping into Pipelines
- Chapter 6: Debugging and Cleaning Up Pipelines and Tasks
-
Chapter 7: Sharing Data with Workspaces
- Technical requirements
- Introducing workspaces
- Types of volume sources
- Using your first workspace
- Using workspaces with task runs
- Adding a workspace to a pipeline
- Persisting data within a pipeline
- Cleaning up with finally
- Using workspaces in pipeline runs
- Using volume claim templates
- Getting your hands dirty
- Summary
- Chapter 8: Adding when Expressions
- Chapter 9: Securing Authentication
- Section 3: Tekton Triggers
- Chapter 10: Getting Started with Triggers
- Chapter 11: Triggering Tekton
- Section 4: Putting It All Together
- Chapter 12: Preparing for a New Pipeline
- Chapter 13: Building a Deployment Pipeline
- Assessments
- Other Books You May Enjoy
Product information
- Title: Building CI/CD Systems Using Tekton
- Author(s):
- Release date: September 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801078214
You might also like
book
Foundations of Scalable Systems
In many systems, scalability becomes the primary driver as the user base grows. Attractive features and …
book
Designing Distributed Systems
Without established design patterns to guide them, developers have had to build distributed systems from scratch, …
book
Kubernetes Patterns, 2nd Edition
This second edition comes with a dedicated playlist of interactive Katacoda labs mapped to sections of …
book
Kubernetes: Up and Running, 2nd Edition
Kubernetes radically changes the way applications are built and deployed in the cloud. Since its introduction …