Book Image

End-to-End Automation with Kubernetes and Crossplane

By : Arun Ramakani
Book Image

End-to-End Automation with Kubernetes and Crossplane

By: Arun Ramakani

Overview of this book

In the last few years, countless organizations have taken advantage of the disruptive application deployment operating model provided by Kubernetes. With Crossplane, the same benefits are coming to the world of infrastructure provisioning and management. The limitations of Infrastructure as Code with respect to drift management, role-based access control, team collaboration, and weak contract make people move towards a control-plane-based infrastructure automation, but setting it up requires a lot of know-how and effort. This book will cover a detailed journey to building a control-plane-based infrastructure automation platform with Kubernetes and Crossplane. The cloud-native landscape has an overwhelming list of configuration management tools that can make it difficult to analyze and choose. This book will guide cloud-native practitioners to select the right tools for Kubernetes configuration management that best suit the use case. You'll learn about configuration management with hands-on modules built on popular configuration management tools such as Helm, Kustomize, Argo, and KubeVela. The hands-on examples will be patterns that one can directly use in their work. By the end of this book, you'll be well-versed with building a modern infrastructure automation platform to unify application and infrastructure automation.
Table of Contents (16 chapters)
1
Part 1: The Kubernetes Disruption
4
Part 2: Building a Modern Infrastructure Platform
10
Part 3:Configuration Management Tools and Recipes

What this book covers

Chapter 1, Introducing the New Operating Model, discusses how, for many people, Kubernetes is all about container orchestration. But Kubernetes is much more than that. Understanding the deciding factors on why Kubernetes disrupted the day 1 and day 2 IT operations is key to successful adoption and optimum usage.

Chapter 2, Examining the State of Infrastructure Automation, exposes the limitations of infrastructure as code and proposes control plane-based infrastructure automation as the new-age automation concept using Crossplane and Kubernetes.

Chapter 3, Automating Infrastructure with Crossplane, helps us to understand how to set up a Crossplane cluster, discusses its architecture, and explains how to use it as a vanilla flavor for infrastructure automation.

Chapter 4, Composing Infrastructure with Crossplane, helps us to understand composing, a powerful construct of Crossplane that can help us to create new infrastructure abstractions. These abstractions can be our custom Kubernetes-based cloud APIs with the organization policies, compliance requirements, and recipes baked into them.

Chapter 5, Exploring Infrastructure Platform Patterns, looks at how the success of running an infrastructure platform product within an organization requires a few key patterns that we can use with Crossplane. This chapter will explore these patterns in detail.

Chapter 6, More Crossplane Patterns, explores more Crossplane patterns that are useful for our day-to-day work. We will learn about most of these patterns with a hands-on journey.

Chapter 7, Extending and Scaling Crossplane, covers two unique aspects that make Crossplane extendable and scalable. The first part will deep dive into the Crossplane providers, and the second part will cover how Crossplane can work in a multi-tenant ecosystem.

Chapter 8, Knowing the Trade-Offs, discusses how managing configuration has many nuances to it. Understanding the configuration clock will help us to categorize tools and understand the trade-offs applicable for each category.

Chapter 9, Using Helm, Kustomize, and KubeVela, concentrates on explaining how to use different configuration management tools that are popular today, such as Helm, Kustomize, and KubeVela.

Chapter 10, Onboarding Applications with Crossplane, looks at how infrastructure provisioning and application onboarding involve a few cross-cutting concerns, such as setting up the source code repositories, the continuous integration workflow, and continuous deployment. This chapter will look at ways to approach application, services, and infrastructure automation with Crossplane in a unified way.

Chapter 11, Driving the Platform Adoption, explains that many organizations fail with their technology platform projects because they don’t apply the needed product development practices and team topology. This chapter aims to help understand the aspects required to build and adopt a successful infrastructure platform.