Chapter 1: Modern IT Infrastructure and Hello App
Chapter Goal: The tools to handle a modern enterprise IT Infrastructure that enables Infrastructure as Code following DevOps methodologies
Sub -Topics
Modern IT Infrastructure (DevOps & IaC)
The move to containers
Ansible by Red Hat
Kubernetes and the CNCF
Kubernetes distributions - OpenShift by Red Hat, Rancher, EKS, AKS, GCP
Containers & Pod
Creating a 'Hello' app
Building Hello App
Running Hello in Docker
Deploying Hello in Kubernetes
Hello Operator
Chapter 2: Ansible Language Code
Chapter Goal: Description of the Ansible Platform and how to write and execute Ansible Playbook code that follows the best practices
Sub - Topics Ansible Architecture and Getting Started
Ansible Installation
Ansible Code Language
Chapter 3: Ansible For Containers Chapter Goal: How to automate container management using Ansible (Docker and podman)
Sub - Topics
Ansible For Containers
Install Docker in Linux and Windows
Install and Update flatpak in Linux
Install a snap in Linux
Deploy Web Server in a Container for Linux (Docker and Podman)
Chapter 4: Ansible For K8s Tasks Chapter Goal: How to configure your Ansible controller node to interact with a k8s cluster
Sub - Topics:
Why Kubernetes & How it works.
Set up your laboratory (cluster of VMs, Kubespray, Raspberry Pis, OpenShift local)
Minikube to Create a Cluster
Create a cluster with KOPS - ( Cloud )
Configure Ansible For Kubernetes
Ansible troubleshooting - Kubernetes K8s 401 Unauthorized
Configure a Python Virtual Environment
Configure an Ansible Execution Environment
Report a list of namespaces
Report all deployments in namespace
Create Kubernetes K8s namespace
Create Kubernetes K8s pod
Create Kubernetes K8s secret
Using a Service to Expose Your App
Scale Your App
Update Your App
Assign CPU Resources to Kubernetes K8s Containers and Pods
Assign Memory Resources to Kubernetes K8s Containers and Pods
Configure a Pod to Use a Volume for Storage
Apply Multiple YAML Files at Once on Kubernetes K8s
Chapter 5: Ansible For K8s Use-Cases Chapter Goal: Some end-to-end examples about Ansible for Kubernetes usage
Sub - Topics:
Configuring a Java Microservice
Stateless - Deploying PHP Guestbook application with Redis
Stateful Deploying WordPress and MySQL with Persistent Volumes
Apply Pod Security Standards at the Namespace Level
Restrict a Container's Access to Resources with AppArmor
Restrict a Container's Syscalls with seccomp
Chapter 6: Ansible For K8s Management Chapter Goal: How to automate system administration tasks for your K8s cluster using Ansible automation
Sub - Topics:
Report Helm package deployed inside the cluster
Report Helm plugins deployed inside cluster
Deploy a monitoring tool inside cluster
Manage Helm repositories
Remove Helm package deployed inside cluster
Install Helm plugin
Remove Helm plugin
Fetch logs from Kubernetes resources
Apply JSON patch operations to existing objects
Copy files and directories to and from pod
Manage Services on Kubernetes
Taint a node in a Kubernetes/OpenShift cluster
Drain, Cordon, or Uncordon node in k8s cluster
Kubernetes (K8s) dynamic inventory
Rollback Kubernetes (K8S) Deployments and DaemonSets
Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job
Chapter 7: Ansible For K8s Cloud Providers Chapter Goal: Some specific examples that automate Kubernetes with the major cloud providers using Ansible automation
Sub - Topics:
Amazon Elastic Kubernetes Service (EKS)
Google Kubernetes Engine (GKE)
Azure Kubernetes Service (AKS)