Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing GitOps with Kubernetes

You're reading from   Implementing GitOps with Kubernetes Automate, manage, scale, and secure infrastructure and cloud-native applications on AWS and Azure

Arrow left icon
Product type Paperback
Published in Aug 2024
Publisher Packt
ISBN-13 9781835884225
Length 444 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Artem Lajko Artem Lajko
Author Profile Icon Artem Lajko
Artem Lajko
Pietro Libro Pietro Libro
Author Profile Icon Pietro Libro
Pietro Libro
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Understanding GitOps via Uncomplicated Orchestrations/ Kubernetes
2. Chapter 1: An Introduction to GitOps FREE CHAPTER 3. Chapter 2: Navigating Cloud-native Operations with GitOps 4. Chapter 3: Version Control and Integration with Git and GitHub 5. Chapter 4: Kubernetes with GitOps Tools 6. Part 2: Harnessing Advanced Orchestrations, Culture, and Control in GitOps Practices
7. Chapter 5: GitOps at Scale and Multitenancy 8. Chapter 6: GitOps Architectural Designs and Operational Control 9. Chapter 7: Cultural Transformation in IT for Embracing GitOps 10. Part 3: Hands-on Automating Infrastructure and CI/CD with GitOps
11. Chapter 8: GitOps with OpenShift 12. Chapter 9: GitOps for Azure and AWS Deployments 13. Chapter 10: GitOps for Infrastructure Automation – Terraform and Flux CD 14. Chapter 11: Deploying Real-World Projects with GitOps on Kubernetes 15. Part 4: Operational Excellence Through GitOps Best Practices
16. Chapter 12: Observability with GitOps 17. Chapter 13: Security with GitOps 18. Chapter 14: FinOps, Sustainability, AI, and Future Trends for GitOps 19. Index 20. Other Books You May Enjoy

A deep dive into Cluster API and GitOps – hands-on

In this section, we’ll use Cluster API to provision a Kubernetes cluster in Azure by using the declarative approach with Argo CD on VMs.

First, let’s see what our environment looks like:

  • Azure:
    • Azure tenant ID
    • Azure subscription
    • Azure app registration with Contributor access to the subscription
    • Azure Kubernetes Service (AKS)
    • The necessary Azure infrastructure, including Virtual Machines Scale Sets (VMSS), virtual networks, and more
  • Managed cluster – AKS:
    • Argo CD running on a managed cluster
  • Workload cluster – VMSS:
    • Control plane
    • Nodes
  • Tools:
    • kubectl
    • clusterctl
    • az cli
    • helm

Initializing the management cluster

The clusterctl command takes a list of providers to install as input. When executed for the first time, clusterctl init automatically includes the cluster-api core provider in the list. If not specified, it also adds the kubeadm bootstrap and kubeadm control plane providers...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image