Qin | Certified Kubernetes Administrator (CKA) Exam Guide | E-Book | www.sack.de
E-Book

E-Book, Englisch, 322 Seiten

Qin Certified Kubernetes Administrator (CKA) Exam Guide

Validate your knowledge of Kubernetes and implement it in a real-life production environment
1. Auflage 2024
ISBN: 978-1-80324-995-7
Verlag: De Gruyter
Format: EPUB
Kopierschutz: 0 - No protection

Validate your knowledge of Kubernetes and implement it in a real-life production environment

E-Book, Englisch, 322 Seiten

ISBN: 978-1-80324-995-7
Verlag: De Gruyter
Format: EPUB
Kopierschutz: 0 - No protection



Kubernetes is the most popular container orchestration tool in the industry. The Kubernetes Administrator certification will help you establish your credibility and enable you to efficiently support the business growth of individual organizations with the help of this open source platform.
The book begins by introducing you to Kubernetes architecture and the core concepts of Kubernetes. You'll then get to grips with the main Kubernetes API primitives, before diving into cluster installation, configuration, and management. Moving ahead, you'll explore different approaches while maintaining the Kubernetes cluster, perform upgrades for the Kubernetes cluster, as well as backup and restore etcd. As you advance, you'll deploy and manage workloads on Kubernetes and work with storage for Kubernetes stateful workloads with the help of practical scenarios. You'll also delve into managing the security of Kubernetes applications and understand how different components in Kubernetes communicate with each other and with other applications. The concluding chapters will show you how to troubleshoot cluster- and application-level logging and monitoring, cluster components, and applications in Kubernetes.
By the end of this Kubernetes book, you'll be fully prepared to pass the CKA exam and gain practical knowledge that can be applied in your day-to-day work.

Qin Certified Kubernetes Administrator (CKA) Exam Guide jetzt bestellen!

Weitere Infos & Material


Table of Contents - Kubernetes Overview
- Installing and configuring Kubernetes Clusters
- Maintaining Kubernetes clusters
- Application scheduling and lifecycle management
- Demystifying Kubernetes Storage
- Securing Kubernetes
- Demystifying Kubernetes networking
- Monitoring and logging Kubernetes Clusters and Applications
- Troubleshooting cluster components and applications
- Troubleshooting security and networking


Table of Contents


Preface


Part 1: Cluster Architecture, Installation, and Configuration


1


Kubernetes Overview


CKA exam overview


What to expect in your CKA exam


CKA exam tips and tricks


Cluster architecture and components


Kubernetes core concepts


Containerized workloads


Container images


Container registry


Container runtimes


Kubernetes basic workflow


Kubernetes plugin model


Kubernetes API primitives


Sharing a cluster with namespaces


Kubernetes in-market distribution and ecosystems


Upstream vanilla Kubernetes


Managed Kubernetes


Kubernetes ecosystems


Summary


2


Installing and Configuring Kubernetes Clusters


Technical requirements


Hands-on Kubernetes tooling


Core tools


Deployment tools


Other tools


Installing and configuring a Kubernetes cluster


Prerequisites for installing a Kubernetes cluster


Using minikube to set up a single node Kubernetes cluster


Using kubeadm to install a basic Kubernetes cluster


Setting up a highly available cluster with kubeadm


Summary


Mock CKA scenario-based practice test


Scenario 1:


Scenario 2:


Scenario 3 (optional):


FAQs


3


Maintaining Kubernetes Clusters


Demystifying Kubernetes cluster maintenance


Upgrading a Kubernetes cluster using kubeadm


Upgrading the master node


Upgrading the worker node


Working with etcd


Exploring the ETCD cluster pod


Listing etcd cluster members


Checking the etcd cluster status


Installing etcd


Backing up etcd


Restoring etcd


Summary


Mock CKA scenario-based practice test


Scenario 1


Scenario 2


Scenario 3


Scenario 4


FAQs


Part 2: Managing Kubernetes


4


Application Scheduling and Lifecycle Management


Technical requirements


The basics of Kubernetes workloads


Imperative management versus declarative management


Understanding pods


Deploying and managing applications


Deploying applications


Performing rolling updates and rollbacks


Rolling updates with kubectl


Rollback


Scaling applications


ReplicaSets


Workload scheduling


Understanding namespaces


Labels, node selectors, and annotations


Node affinity and anti-affinity


Taints and tolerations


Resource management


Configuring applications


Manifest management with kustomize


Common package management and templating with Helm


Summary


Mock CKA scenario-based practice test


Scenario 1


Scenario 2


Scenario 3


Scenario 4


Scenario 5


FAQs


5


Demystifying Kubernetes Storage


Technical requirements


Stateful versus stateless workloads


Kubernetes volumes


Ephemeral storage


Persistent storage


Cracking stateful applications in Kubernetes


Configuring an application with mounted storage


Configuring an application with persistent storage


Summary


Mock CKA scenario-based practice test


Scenario 1


Scenario 2


FAQs


6


Securing Kubernetes


Technical requirements


Securing Kubernetes in layers


Kubernetes authentication and authorization


Service accounts versus user accounts


Kubernetes service accounts


Organizing the cluster access using kubeconfig


Configuring access to multiple clusters


Kubernetes authorization


Kubernetes RBAC


Managing the security of Kubernetes applications


Summary


Mock CKA scenario-based practice test


Scenario 1


Scenario 2


Scenario 3


FAQs


7


Demystifying Kubernetes Networking


Technical requirements


Understanding the Kubernetes networking model


Container-to-container communication


Pod-to-pod communication


Pod-to-service and external-to-service communications


Node-to-node communication


Choosing an appropriate Container Network Interface plugin


CNI networking in Kubernetes


Decision metrics


Configuring Ingress controllers and Ingress resources


How Ingress and an Ingress controller works


Using multiple Ingress controllers


Work with Ingress resources


Ingress annotations and rewrite-target


Configuring and leveraging CoreDNS


Check whether the CoreDNS server is up and running


Pod IPs and DNS hostnames


Service IPs and DNS hostnames


Summary


Mock CKA scenario-based practice test


Scenario 1


Scenario 2


Scenario 3


Scenario 4


Scenario 5


Scenario 6


FAQs


Part 3: Troubleshooting


8


Monitoring and Logging Kubernetes Clusters and Applications


Technical requirements


Monitoring on a cluster node


Checking whether Metrics Server is installed


Installing Metrics Server in your current Kubernetes cluster


Checking out CPU/memory metrics


Monitoring applications on a Kubernetes cluster


Monitoring the resource usage of an application


Checking application details


Monitoring cluster events


Managing logs at the cluster node and Pod levels


Cluster-level logging


Checking out the node details


Checking the node status


Managing container stdout and stderr logs


Summary


Mock CKA scenario-based practice test


Scenario 1


FAQs


9


Troubleshooting Cluster Components and Applications


Technical requirements


General practices in Kubernetes troubleshooting


Troubleshooting cluster components


Inspecting the cluster


Inspecting the node


Troubleshooting applications


Getting a high-level view


Inspecting namespace events


Troubleshooting failing pods


Troubleshooting init containers


Summary


FAQs


10


Troubleshooting Security and Networking


Technical requirements


Troubleshooting RBAC failures


Initiating a minikube cluster


Managing a minikube cluster


Troubleshooting networking


Troubleshooting a Kubernetes DNS server


Troubleshooting a service in Kubernetes


Get a shell for troubleshooting


Summary


FAQs


Appendix - Mock CKA scenario-based practice test resolutions


– Installing and Configuring Kubernetes Clusters


Scenario 1


Scenario 2


Scenario 3 (optional)


– Maintaining Kubernetes Clusters


Scenario 1


Scenario 2


Scenario 3


Scenario 4


– Application scheduling and lifecycle management


Scenario 1


Scenario 2


Scenario 3


Scenario...



Qin Mélony :

Mélony Y. QIN, also known as CloudMelon, is the founder of CloudMelon Vis, a tech media and educational platform for technopreneurs in the cloud-native and serverless space, and a former product manager at Microsoft. With a passion for cloud-native technologies, OSS, DevOps, Kubernetes, serverless, data, and AI, Mélony has authored multiple books, including the Certified Kubernetes Administrator (CKA) Exam Guide, the Kubernetes Workshop, and Microsoft Azure Infrastructure, all published by Packt Publishing. Mélony is a member of the Association for Computing Machinery (ACM) and the Project Management Institute (PMI), leveraging her extensive experience with diverse cloud technologies to drive innovation in the cloud-native, serverless, and generative AI space. She runs the CloudMelonVis YouTube channel and Cloud-Native Innovators newsletter, read by professionals from top tech companies such as Microsoft, Google, Amazon, Dell, and Carrefour.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.