Advanced Kubernetes Bare Metal Installation with Kubespray and GitOps
Master Kubernetes bare metal deployments using Kubespray and GitOps for automated provisioning, configuration management, and application delivery.
...
Share
Introduction to Bare Metal Kubernetes and Kubespray
Unit 1: Bare Metal Kubernetes Fundamentals
Bare Metal K8s Intro
Why Bare Metal K8s?
Challenges of Bare Metal
Networking on Bare Metal
Storage on Bare Metal
Unit 2: Kubespray vs. Alternatives
Kubespray: An Overview
Kubeadm Explained
Talos Explained
Kubespray vs. Kubeadm
Kubespray vs. Talos
Unit 3: Kubespray Deep Dive and Lab Setup
Kubespray Architecture
Kubespray Components
Setting Up Your Lab
Lab Network Configuration
Kubespray Inventory and Configuration
Unit 1: Understanding Kubespray Inventory
Inventory File Overview
Hosts and Groups
Vars: Cluster Variables
Vars: Node Variables
Generating the Inventory
Unit 2: Networking Configuration
CNI Providers Overview
Calico Configuration
Cilium Configuration
Other CNI Options
Unit 3: Node Bootstrapping and OS Configuration
OS Configuration with Ansible
Node Bootstrapping Process
Customizing Bootstrapping
Unit 4: Pre-flight Checks and Validation
Importance of Pre-flight
Kubespray Pre-flight Checks
Automated Kubernetes Deployment with Kubespray
Unit 1: Executing Kubespray Playbooks
Running the Playbook
Verifying Cluster Status
Accessing the Cluster
Scaling the Cluster
Removing a Node
Unit 2: Troubleshooting Kubespray Deployments
Network Connectivity
Node Registration
Certificate Errors
Ansible Failures
Unit 3: Customizing Kubespray
Modifying Ansible Roles
Customizing Tasks
Adding Custom Services
Unit 4: Kubespray and Infrastructure-as-Code
Terraform Integration
Terraform Example
GitOps for Kubernetes Configuration Management
Unit 1: GitOps Fundamentals
GitOps: The Big Picture
Declarative Configuration
Git as Source of Truth
Automation and Operators
Benefits Deep Dive
Unit 2: GitOps Tools: Flux and Argo CD
Flux vs. Argo CD
Flux Architecture
Argo CD Architecture
Installing Flux
Installing Argo CD
Unit 3: GitOps Workflows and Repositories
Structuring Git Repos
Deploying with Kustomize
Deploying with Helm
Automated Rollbacks
Persistent Storage on Bare Metal Kubernetes
Unit 1: Local Persistent Volumes
Intro to Local PVs
Static Local PV Creation
Local PV Volume Binding
Local PV Clean-up
Unit 2: Network File System (NFS)
Intro to NFS
NFS Server Setup
NFS Volume Creation
NFS Volume Consumption
Unit 3: Software-Defined Storage (SDS) with Rook/Ceph
Intro to Rook and Ceph
Rook/Ceph Installation
Ceph Block Storage
Ceph Object Storage
Unit 4: Storage Classes and Dynamic Provisioning
Intro to Storage Classes
Dynamic Volume Provisioning
Monitoring and Logging for Bare Metal Kubernetes
Unit 1: Prometheus and Grafana Setup
Monitoring Overview
Prometheus Architecture
Deploying Prometheus
Grafana Setup
Basic Grafana Dashboards
Unit 2: Elastic Stack for Logging
Logging Overview
Elasticsearch Setup
Logstash Configuration
Fluentd as Log Forwarder
Kibana Exploration
Unit 3: Alerting and Best Practices
Alerting Overview
Alert Rules
Alertmanager Config
Kube State Metrics