Mastering DevOps in Kubernetes: Maximize your container workload efficiency with DevOps practices in Kubernetes

Оглавление⌄
1. DevOps for Kubernetes....1Introduction....1Structure....2Objectives....2Challenges for the enterprise DevOps....2Managing multiple environments....3Scalability and high availability....4Implementation cost....5Traffic management....6Application upgrades and rollbacks....6Securing infrastructure....7Optimization of the delivery pipeline....7Choice of tools and technology adoption....8Kubernetes DevOps....9Infrastructure and configuration as code....9Upgrading infrastructure....10Updates and rollback....10On-demand infrastructure....11Reliability....11Zero downtime deployments....12Service mesh....12Infrastructure security....12Conclusion....13Key facts....13Multiple choice questions....14Answers....15References....152. Container Management with Docker....17Introduction....17Structure....18Objectives....18Working with Dockerfile....19Dockerfile and Docker build context....20Running a pre-build image....20Creating own Dockerfile....22Dockerfile instructions....23Building a multi-container application....28Docker compose....28Build images from the Docker compose....31Creating a WordPress website using Docker compose....33Container management....35Docker Swarm....39Inspecting Docker Swarm nodes....39Promoting docker nodes....40Managing services in Docker Swarm....43Using network in Docker Swarm mode....45Deploying stacks to a Swarm....47Conclusion....52Points to remember....52Multiple choice questions....53Answers....55References....553. Speeding up with Standard Kubernetes Operations....57Introduction....57Structure....57Objectives....58Kubernetes architecture....58Kubernetes setup....61Local setup with Minikube....61Create a Kubernetes cluster using Kubeadm....66Step 1—Create the Kubernetes servers....66Step 2—Install kubelet, kubeadm, and kubectl....66Step 3—Disable Swap....67Step 4—Enable Kernel modules....67Step 5—Install container runtime....67Step 6—Bootstrap master node....68Step 7—Add the worker nodes....69Access the Kubernetes dashboard....70Standard Kubernetes operations....73Deployment and services....74Labels and selectors....84Container lifecycle events and hooks....87ConfigMaps....89Init containers....94Secrets....98Autoscaling....103Affinity and anti-affinity....107Taints and tolerations....114Jobs....117Custom resource definitions....118Conclusion....122Points to remember....122Multiple choice questions....123Answers....123References....1244. Stateful Workloads in Kubernetes....125Introduction....125Structure....125Objectives....126Kubernetes storage....126Persistent Volume in Kubernetes....127Configure a Pod to use Persistent Volume....128Dynamic volume provisioning in Kubernetes....131Dynamic NFS provisioning in Kubernetes....132Stateful applications....141Managing stateful applications in Kubernetes....141StatefulSets best practices....146Conclusion....147Points to remember....148Multiple choice questions....148Answers....149References....1495. Amazon Elastic Kubernetes Service....151Introduction....151Structure....151Objectives....152Amazon elastic Kubernetes service....152Provisioning EKS cluster....154Install AWS, kubectl, and eksctl CLI....155Create the EKS cluster using eksctl....157Create node groups and IAM OIDC....158Amazon EBS....160AWS RDS....168AWS load balancers and AWS Ingress....173Classic load balancer....173Network load balancers....177Application load balancer....179Creating EKS cluster using IaC....189terraform version....190Conclusion....197Points to remember....197Multiple Choice Questions....198Answers....199References....1996. Azure Kubernetes Service....201Introduction....201Structure....201Objectives....202Azure Kubernetes Service....202Provisioning an AKS cluster....203Azure virtual network....205AKS storage using Azure disks....206AKS storage class and provisioners....206AKS managed storage with Azure MYSQL....217AKS Ingress using the NGINX Ingress controller....222Active directory integration for AKS clusters....231Azure AKS virtual nodes....235Provisioning an AKS cluster using Terraform IaC....242Conclusion....246Points to remember....247Multiple choice questions....247Answers....248References....2487. Google Kubernetes Engine ....249Introduction....249Structure....249Objectives....250Google Kubernetes Engine....250Provisioning a GKE cluster....251GKE service load balancer and Ingress controller....254Load balancer service type....254GKE load balancing with Ingress objects....255GKE cluster autoscaling....260Dynamic storage provisioning in GKE....261GKE and Google Cloud SQL....265Binary Authorization in GKE....270Creating GKE cluster using Terraform IaC....273Conclusion....277Points to remember....278Multiple choice questions....278Answers....279References....2798. Kubernetes Administrator....281Introduction....281Structure....281Objectives....282Resource quota....282Kubernetes networking....284Network policies....286Node maintenance....293Pod disruption budget....293Pod topology spread constraints....296High availability....298etcd backup and restore....299Kubernetes probes....303Startup probe....303Liveliness probe....304Readiness probe....305Conclusion....307Points to remember....307Multiple choice questions....307Answers....308References....3089. Kubernetes Security....309Introduction....309Structure....309Objectives....310Node restrictions....310Static analysis with Kubesec....312Security context....314Security context for pod....314Security context for container....316Pod security admission....318Role-Based Access Control....321Enable auditing in Kube APIServer....324Conclusion....327Points to remember....327Multiple choice questions....328Answers....328References....32910. Monitoring in Kubernetes....331Introduction....331Structure....331Objectives....332Monitoring using Prometheus and Grafana....332Prometheus....332Grafana....333Scrape metrics using Prometheus and Grafana....333EKS monitoring with CloudWatch....337AKS monitoring with insights....343GKE monitoring stack....346Conclusion....349Points to remember....350Multiple choice questions....350Answers....351References....35111. Packaging and Deploying in Kubernetes....353Introduction....353Structure....353Objectives....354Helm package manager....354Helm2 versus Helm3....355Deployment using Helm charts....356Creating Helm charts....362Deep dive Helm charts....365Helm repositories....367Helm pre and post hooks....372Conclusion....378Points to remember....378Multiple choice questions....379Answers....379References....37912. Continuous Development and Continuous Deployment....381Introduction....381Structure....381Objectives....382Understanding Skaffold....382Deployment of application using Skaffold....383Understanding GitOps flux....386Implementing Flux CD....387Conclusion....397Points to remember....397Multiple choice questions....397Answers....397References....39813. Managing Microservices Using Istio Service Mesh....399Introduction....399Structure....399Objectives....400Istio Service Mesh....400Features of Istio Service Mesh....402Installation of Istio Service Mesh....402Traffic management....406Weight based routing....409Blue–Green and Canary deployment....410Securing the mesh....411Observability....412Conclusion....416Points to remember....416Multiple choice questions....417Answers....417References....418Index....419
Описание
Коротко и по делу о том, что важно знать про kubernetes.
Kubernetes has become the de facto standard for container orchestration, while DevOps practices are rapidly becoming essential for organizations to manage their software development and delivery pipelines. DevOps with Kubernetes combines two powerful technologies to bring efficiency and speed to the software development process. By using Kubernetes and DevOps practices together, teams can streamline their deployment processes, reduce errors, and deliver software faster and more reliably. The book then helps you become acquainted with the fundamental and advanced Kubernetes features, and develop a comprehensive understanding of the standard CNCF components that accompany Kubernetes. The book starts by addressing the real-time challenges and issues that DevOps practitioners face. The book then delves deeper into the three leading managed Kubernetes services - GKE, AKS, and EKS. The book further explores a range of monitoring tools and techniques that can be used to quickly identify and resolve issues in Kubernetes clusters. Additionally, the book will help to learn how to implement security measures to protect your Kubernetes deployments. Finally, the book will help you learn how to use the Istio Service Mesh to secure communication between workloads hosted by Kubernetes. With this information, you will be able to deploy, scale, and monitor apps on Kubernetes.
What you will learnLearn how to manage stateful containers with Kubernetes.Get to know more observability and monitoring in Kubernetes.Package and deploy applications on Kubernetes using Helm.Learn how to use Skaffold and Flux for CI/CD.Learn how microservices can be managed and deployed using the Istio service mesh.Who this book is forThe book is a must-read for DevOps teams using Kubernetes to deploy container workloads. It offers valuable insights into the best practices required to make their application container-agnostic and streamline their workflows.
Если материал оказался полезен — сохраните страницу.
Поделиться
Частые вопросы
Можно ли скачать «Mastering DevOps in Kubernetes: Maximize your container workload efficiency with DevOps practices in Kubernetes» бесплатно?
Да, «Mastering DevOps in Kubernetes: Maximize your container workload efficiency with DevOps practices in Kubernetes» доступна для бесплатного скачивания на нашем сайте в формате PDF. Ссылка на файл находится на этой странице.
В каком формате и какого размера файл?
Книга предоставляется в формате PDF, размер файла 17,5 МБ.
Кто автор и когда вышла книга?
автор — Chowdhury Soumiyajit Das, издательство BPB Publications, год выпуска 2024, 445 страниц.
О чём книга «Mastering DevOps in Kubernetes: Maximize your container workload efficiency with DevOps practices in Kubernetes»?
DevOps with Kubernetes combines two powerful technologies to bring efficiency and speed to the software development process.