End-to-End Automation with Kubernetes and Crossplane: Develop a control plane-based platform for unified infrastructure, services, and application automation
- Length: 250 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-08-12
- ISBN-10: 1801811547
- ISBN-13: 9781801811545
- Sales Rank: #2192438 (See Top 100 Books)
A complete journey to automating infrastructure provisioning and cloud-native application deployment
Key Features
- Leverage Crossplane and Kubernetes for a unified automation experience of infrastructure and apps
- Build a modern self-service infrastructure platform abstracting recipes and in-house policies
- Clear guidance on trade-offs to manage Kubernetes configuration and ecosystem tools
Book Description
In the last few years, countless organizations have taken advantage of the disruptive app deployment operating model provided by Kubernetes. With the launch of 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 are making people move toward control-plane-based infrastructure automation, but setting it up requires a lot of know-how and effort.
This book will take you on a detailed journey through building a control-plane-based infrastructure automation platform with Kubernetes and Crossplane. Although the cloud-native landscape by CNCF has an overwhelming list of tools that can make it difficult to analyze and choose, this book will guide you in selecting 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, CNAB, Argo, Keptn, and Open Policy Agent. The examples in the book will be patterns that you can directly use in your work.
By the end of this DevOps book, you’ll be able to build a modern infrastructure automation platform to unify application and infrastructure automation.
What you will learn
- Understand the context of Kubernetes-based infrastructure automation
- Get to grips with Crossplane concepts with the help of practical examples
- Extend Crossplane to build a modern infrastructure automation platform
- Use the right configuration management tools in the Kubernetes environment
- Explore patterns to unify application and infrastructure automation
- Discover top engineering practices for infrastructure platform as a product
Who this book is for
This book is for cloud architects, platform engineers, infrastructure or application operators, and Kubernetes enthusiasts who want to simplify infrastructure and application automation. A basic understanding of Kubernetes and its building blocks like Pod, Deployment, Service, and Namespace is needed before you can get started with this book.
End-to-End Automation with Kubernetes and Crossplane Contributors About the author About the reviewer Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Share Your Thoughts Part 1: The Kubernetes Disruption Chapter 1: Introducing the New Operating Model The Kubernetes journey Characteristics of the new operating model Team collaboration and workflows Control theory Interoperability Extensibility Architecture focus Open source, community, and governance The next Kubernetes use case Summary Chapter 2: Examining the State of Infrastructure Automation The history of infrastructure automation The need for the next evolution The limitations of IaC A Kubernetes operating model for automation Multi-cloud automation requirements Crossplane as a cloud control plane A universal control plane Open standards for infrastructure vendors Wider participation The cloud provider partnerships Other similar projects Summary Part 2: Building a Modern Infrastructure Platform Chapter 3: Automating Infrastructure with Crossplane Understanding Custom Resource Definitions and custom controllers Adding a new CRD Working with the CRD Understanding the Crossplane architecture Managed resources Providers Composite resources Crossplane core Installing Crossplane Installing and configuring providers Setting up a cloud account Installing a provider Configuring the provider Multiple provider configuration An example of POSTGRES provisioning Summary Chapter 4: Composing Infrastructure with Crossplane Feeling like an API developer How do XRs work? XRD Composition Claim Postprovisioning of an XR Readiness check Patch status Propagating credentials back Preprovisioned resources Building an XR The infrastructure API requirement Creating the XRD Providing implementation Provisioning the resources with a claim Troubleshooting Summary Chapter 5: Exploring Infrastructure Platform Patterns Evolving the APIs API implementation change Hands-on journey with composition revision API contract changes Non-breaking changes Version upgrade Version upgrade with breaking changes Nested and multi-resource XRs PatchSets XRD detailed Naming the versions The openAPIV3Schema structure The additional parameter of an attribute Printer columns Managing external software resources Unifying the automation Summary Chapter 6: More Crossplane Patterns AWS provider setup Creating an AWS account and IAM user Creating the Kubernetes secret AWS provider and ProviderConfig setup Managing dependencies Resource reference within and nested XR Referring to an outside resource Secret propagation hands-on Helm provider hands-on Defining API boundaries Alerts and monitoring Enabling Prometheus to scrape metrics Setting up monitoring alerts Enabling the Grafana dashboard More troubleshooting patterns Summary Chapter 7: Extending and Scaling Crossplane Building a new provider XRM detailed Configuration fidelity Spec and status configuration Naming the custom and external resource Configuration ownership Sensitive input and output fields Framework to build a provider Packaging and distribution of XR/Claim Packaging and distribution Installing and using the configuration Testing the configurations Installing KUTTL KUTTL test setup TDD Multi-tenant control plane patterns Multi-tenancy with a single cluster Multi-tenancy with multiple clusters Summary Part 3:Configuration Management Tools and Recipes Chapter 8: Knowing the Trade-offs Unified automation scope Complexity clock, requirements, and patterns The configuration complexity clock Configuration management requirements Patterns and trade-off Open Application Model KubeVela, the OAM implementation Specialized and extendable abstraction Specialized abstraction Extendable abstraction Impact of change frequency XRM change frequency Summary Chapter 9: Using Helm, Kustomize, and KubeVela Application configuration management capabilities Using Helm for application deployment Working with an existing chart Hands-on chart development Chart generation Customizing configurations with Kustomize Deploying application workloads with KubeVela Anatomy of a KubeVela application definition Summary Chapter 10: Onboarding Applications with Crossplane The automation requirements The solution Preparing the control plane The GCP provider The GitLab provider Helm and Kubernetes provider setup Automating the application deployment environment The repository and CI setup GitLab configuration The onboarding XR/claim API The deployment dependencies API boundary analysis Summary Chapter 11: Driving the Platform Adoption Why we need an infrastructure platform as a product Understanding customers’ needs Product development practices Self-service Collaborative backlog management The platform product life cycle and team interaction The OAM personas Summary Why subscribe? Other Books You May Enjoy Packt is searching for authors like you Share Your Thoughts
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: End-to-End Automation with Kubernetes and Crossplane: Develop a control plane-based platform for unified infrastructure, services, and application automation
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.