Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Ansible for Kubernetes by Example

62,99 €

Sofort verfügbar, Lieferzeit: Sofort lieferbar

Format auswählen

Ansible for Kubernetes by Example, Apress
Automate Your Kubernetes Cluster with Ansible
Von Luca Berton, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "Ansible for Kubernetes by Example"

Learn how to automate your Kubernetes infrastructure using Ansible. This book will enable you to automate more tasks and save time with this human-readable platform.

Containerized microservices deployed via Kubernetes allows you to save time, reduce human interaction and errors, and create applications that are more robust. You’ll learn how to automate the most redundant activities such as reports, services, the launch of a pod, adding permanent storage, configuring load balancing, and adding or modifying any Kubernetes parameter. You'll also gain an understanding of end-to-end use cases and how advanced cluster automation, such as Helm packages and node states, are evolving.

Each lesson utilizes a specific use-case for the modern Kubernetes cluster and focuses on a single module from the most crucial parameter, complete with code demonstrations. Each code example is battle-proven in real-life with console interaction and verification.

WHAT YOU'LL LEARN

* Automate Kubernetes cluster management, cloud services, pods, and storage with Ansible
* Configure your Ansible controller node


* Write and execute Ansible Playbook code that follows best practices


* Augment your productivity by applying Infrastructure as Code (IaC)
* Troubleshoot Ansible

WHO THIS BOOK IS FOR

IT professionals who would like a jargon-free understanding of Ansible technology, Windows Systems Administrators, DevOps professionals, thought leaders, and infrastructure-as-code enthusiasts.

Luca Berton is an Ansible Automation Expert who has been working with Red Hat Ansible Engineer Team for three years. With more than 15 years of experience as a System Administrator, he has strong expertise in Infrastructure hardening and automation. Enthusiast of the Open Source supports the community by sharing his knowledge in different public access events. Geek by nature, Linux by choice, Fedora, of course.

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)

Artikel-Details

Anbieter:
Apress
Autor:
Luca Berton
Artikelnummer:
9781484292853
Veröffentlicht:
09.05.23

Barrierefreiheit

This PDF does not fully comply with PDF/UA standards, but does feature limited screen reader support, described non-text content (images, graphs), bookmarks for easy navigation and searchable, selecta

  • keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
  • navigierbares Inhaltsverzeichnis (11)
  • logische Lesereihenfolge eingehalten (13)
  • kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
  • Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
  • hoher Kontrast zwischen Text und Hintergrund (26)
  • Navigation über vor-/zurück-Elemente (29)
  • alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
  • Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)