وبلاگ بلیان

معرفی سرویس کلاستر کابرنتیس آژور: راهنمایی عملی برای ارکستراسیون کانتینرها

Introducing Azure Kubernetes Service : A Practical Guide to Container Orchestration

جلد کتاب معرفی سرویس کلاستر کابرنتیس آژور: راهنمایی عملی برای ارکستراسیون کانتینرها

معرفی کتاب «معرفی سرویس کلاستر کابرنتیس آژور: راهنمایی عملی برای ارکستراسیون کانتینرها» (با عنوان لاتین Introducing Azure Kubernetes Service : A Practical Guide to Container Orchestration) نوشتهٔ Steve Buchanan, Janaka Rangama, Ned Bellavance، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2020. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Go from zero to sixty deploying and running a Kubernetes cluster on Microsoft Azure! This hands-on practical guide to Microsoft’s Azure Kubernetes Service (AKS), a managed container orchestration platform, arms you with the tools and knowledge you need to easily deploy and operate on this complex platform. Take a journey inside Docker containers, container registries, Kubernetes architecture, Kubernetes components, and core Kubectl commands. Drawing on hard-earned experience in the field, the authors provide just enough theory to help you grasp important concepts, teaching the practical straightforward knowledge you need to start running your own AKS cluster. You will dive into topics related to the deployment and operation of AKS, including Rancher for management, security, networking, storage, monitoring, backup, scaling, identity, package management with HELM, and AKS in CI/CD. **What You Will Learn** * Develop core knowledge of Docker containers, registries, and Kubernetes * Gain AKS skills for Microsoft’s fastest growing services in the cloud * Understand the pros and cons of deploying and operating AKS * Deploy and manage applications on the AKS platform * Use AKS within a DevOps CI/CD process **Who This Book Is For** IT professionals who work with DevOps, the cloud, Docker, networking, storage, Linux, or Windows. Experience with cloud, DevOps, Docker, or application development is helpful. Table of Contents 5 About the Authors 11 Acknowledgments 12 Foreword 13 Introduction 15 Chapter 1: Inside Docker Containers 16 The Value of Containers 16 What Is Docker 17 Containers vs. Virtual Machines 18 Images and Containers 21 Docker Components (Networking and Storage) 21 Networking 21 Storage 22 Installing Docker 23 Docker Command Cheat Sheet 25 Understanding the Dockerfile 27 Understanding Docker Build 28 Understanding Docker Compose 28 Running a Container 30 Orchestration Platforms 30 Summary 31 Chapter 2: Container Registries 32 Overview of Container Registries 32 Registries, Repositories, and Images 33 Private and Public Registries and Repositories 33 Basic Registry Operations 35 Login 35 Search 36 Pull 37 Push 38 Image Tagging 40 Common Registries 41 Docker Hub and Docker Registry 41 Azure Container Registry 42 Azure Container Registry Expanded 43 Security 43 Permissions 44 Tasks and Automation 45 Simple Tasks 45 Multi-step Tasks 46 Webhooks 47 Azure Kubernetes Service Integration 48 Summary 48 Chapter 3: Inside Kubernetes 50 Kubernetes Interfaces 52 Docker Runtime 53 Master Nodes Overview 53 Worker Nodes Overview 55 Namespaces 55 Labels and Annotations 56 Pods 58 Replicasets 58 DaemonSets 59 Jobs 59 Services 59 Deployments 60 ConfigMaps 60 Secrets 62 Networking 62 Storage 63 Summary 65 Chapter 4: kubectl Overview 66 Introduction to kubectl 66 kubectl Basics 68 kubectl Syntax 68 Formatting Output in kubectl 69 Listing Kubernetes Resources 69 Creating a Resource from Config 70 Remote Config 70 Local Config 71 Generating a Config from a Command 71 Viewing Pods Associated with Resources 72 Debugging Containers 72 Common Operations with kubectl 73 kubectl apply 74 kubectl get 74 kubectl describe 75 kubectl delete 76 kubectl exec 76 kubectl logs 77 Summary 77 Chapter 5: Deploying Azure Kubernetes Service 78 Azure Kubernetes Service Deployment Overview 78 Deployment Through the Azure Portal 78 Deployment Through Azure CLI 85 Deployment Through Azure Resource Manager Templates 87 Create an SSH Key Pair 87 Create a Service Principal 87 Using an Azure Resource Manager QuickStart Template 88 Deployment Through Terraform 91 Connecting to Your AKS Cluster 91 Summary 92 Chapter 6: Deploying and Using Rancher with Azure Kubernetes Service 93 What Is Rancher? 93 Why Use Rancher with Kubernetes? 94 How to Deploy Rancher on Azure 95 Authenticate Rancher with Azure Active Directory 104 Deploy AKS with Rancher 106 Summary 113 Chapter 7: Operating Azure Kubernetes Service 114 Cluster Operations in Azure Kubernetes Service 114 Manually Scaling AKS Cluster Nodes 115 Upgrading an AKS Cluster 116 Deleting an AKS Cluster 118 Creating Virtual Nodes 118 Using Virtual Kubelet with Azure Kubernetes Service 120 Using Kubernetes Dashboard 121 Scaling Azure Kubernetes Service 123 Manually Scaling Pods or Nodes 123 Automatically Scaling Pods or Nodes 124 Horizontal Pod Autoscaler 124 Cluster Autoscaler (Preview) 126 Burst On Demand with Azure Container Instances 127 Storage Options for Azure Kubernetes Service 128 Volumes 129 Persistent Volumes 129 Storage Classes 130 Persistent Volume Claims 130 Networking in Azure Kubernetes Service 132 Kubenet vs. Azure Container Networking Interface (CNI) 132 Kubenet (Basic) Networking 133 Azure Container Networking Interface (CNI) - Adavanced Networking 133 Network Security Groups and Network Policies 135 Access and Identity in Azure Kubernetes Service 135 Kubernetes Service Accounts 135 Azure Active Directory Integration 136 Azure Role-Based Access Controls (RBACs) 136 Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings 136 Control Deployments with Azure Policy (Preview) 137 Enable the Preview 137 Azure Policy Add-On 138 Installation Prerequisites 138 Installing the Azure Policy Add-on 139 Assigning Policy Definitions to AKS 139 Policy Validation 140 Azure Policy Add-On Logs 140 GateKeeper Logs 140 Security Concepts in Azure Kubernetes Service 141 Master Security 141 Node Security 141 Cluster Upgrades 143 Kubernetes Secrets 143 Monitoring Azure Kubernetes Service 144 Azure Monitor for Containers 144 Overview 144 Enable Monitoring 145 Azure Monitor 146 Insights 146 Cluster 147 Nodes 147 Controllers 147 Containers 147 Metrics 149 Log Analytics 151 Creating an Alert Rule Through Log Analytics 152 Kubelet Logs 155 Kubernetes Master Component Logs 155 Business Continuity and Disaster Recovery in Azure Kubernetes Service 158 Thinking About SLAs and What You Need 159 Data Persistence and Replications 159 Protecting Against Faults 160 Master Node Failures 160 Worker Node Failures 160 Datacenter Failures 160 Regional Failures 161 Summary 162 Chapter 8: Helm Charts for Azure Kubernetes Service 163 Helm Overview 163 Use Cases 164 Advantages over Kubectl 164 Key Components 165 Helm Client 165 Tiller 166 Helm Repository 167 Cloud Native Application Bundle 167 Installing Helm on AKS 167 Requirements 168 RBAC and Service Account 168 TLS Considerations 169 Helm init 171 Helm Charts 175 Chart Contents 175 Chart.yaml 176 Values.yaml 177 License 179 README.md 179 Requirements.yaml 180 Charts Directory 181 Templates Directory 181 Chart Repositories 182 Deployment Process 183 Creating a Helm Chart 185 Helm Create 185 Template Functions 186 Chart Tests 188 Packaging a Chart 188 Deploying a Helm Chart 190 Helm Install 190 Helm Status 192 Updating a Release 193 Removing a Release 196 CI/CD Integrations 197 Automating Deployments 197 Testing Helm Charts 198 Unattended Helm Chart Installs 199 Integrating Helm with Azure DevOps 199 Summary 201 Chapter 9: CI/CD with Azure Kubernetes Service 202 CI/CD Overview 203 Continuous Integration 204 Shared Repository 205 Build Pipeline 206 Triggers 207 Variables 208 Steps 208 Notifications 211 Artifacts 212 Continuous Delivery/Deployment 212 Release Pipeline 213 Triggers 214 Stages 215 Testing 223 Unit Testing 224 Integration Testing 224 System Testing 224 Acceptance Testing 225 Dev Spaces 225 CI/CD Best Practices with AKS 227 Cluster Operators 227 Separate Environments 227 Restrict Access 228 Admission Controls 228 Azure Monitor for Deployment 229 Application Developers 229 Debug on Kubernetes 229 Store Credentials Externally 229 Azure Monitor for Development 230 Summary 230 Index 231 Go from zero to sixty deploying and running a Kubernetes cluster on Microsoft Azure! This hands-on practical guide to Microsoft's Azure Kubernetes Service (AKS), a managed container orchestration platform, arms you with the tools and knowledge you need to easily deploy and operate on this complex platform. Take a journey inside Docker containers, container registries, Kubernetes architecture, Kubernetes components, and core Kubectl commands. Drawing on hard-earned experience in the field, the authors provide just enough theory to help you grasp important concepts, teaching the practical straightforward knowledge you need to start running your own AKS cluster. You will dive into topics related to the deployment and operation of AKS, including Rancher for management, security, networking, storage, monitoring, backup, scaling, identity, package management with HELM, and AKS in CI/CD. What You Will Learn Develop core knowledge of Docker containers, registries, and Kubernetes Gain AKS skills for Microsoft's fastest growing services in the cloud Understand the pros and cons of deploying and operating AKS Deploy and manage applications on the AKS platform Use AKS within a DevOps CI/CD process This book is for IT professionals who work with DevOps, the cloud, Docker, networking, storage, Linux, or Windows. Experience with cloud, DevOps, Docker, or application development is helpful. Steve Buchanan is Group Manager and Midwest Containers Services Lead on the Cloud Transformation/DevOps team with Avanade, the Microsoft arm of Accenture. He is an eight-time Microsoft MVP, and the author of five technical books. He has presented at tech events, including Midwest Management Summit (MMS), Microsoft Ignite, BITCon, Experts Live Europe, OSCON, and user groups. He is active in the technical community and enjoys blogging about his adventures in the world of IT at his website at buchatech.com. Janaka Rangama is a Microsoft Azure MVP and a Microsoft Certified Trainer. Currently a Senior Principal Product Technologist at Dell EMC Azure Stack Product Engineering Team, he is one of the leading hybrid cloud experts in the Australia and New Zealand regions. He loves to share his expertise in cloud technologies and is a well-regarded speaker and author. He co-leads the Melbourne Azure Nights user group and is one of the founding members of the Sri Lanka IT PRO Forum. Ned Bellavance is a Microsoft Azure MVP and Founder of Ned in the Cloud LLC. As a one-man tech juggernaut, he develops video courses, runs the Day Two Cloud Podcast for Packet Pushers, and creates original content for technology vendors. He is passionate about learning new technologies and sharing that knowledge with others, whether that is through courses, speaking, blogging, or authoring books. He has presented at tech events, including Microsoft Ignite, Cloud Expo NYC, and the Midwest Management Summit (MMS). You can find his musings on the IT industry at his website at nedinthecloud.com. Front Matter ....Pages i-xvii Inside Docker Containers (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 1-16 Container Registries (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 17-34 Inside Kubernetes (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 35-50 kubectl Overview (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 51-62 Deploying Azure Kubernetes Service (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 63-77 Deploying and Using Rancher with Azure Kubernetes Service (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 79-99 Operating Azure Kubernetes Service (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 101-149 Helm Charts for Azure Kubernetes Service (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 151-189 CI/CD with Azure Kubernetes Service (Steve Buchanan, Janaka Rangama, Ned Bellavance)....Pages 191-219 Back Matter ....Pages 221-226 Go from zero to sixty deploying and running a Kubernetes cluster on Microsoft Azure! This hands on practical guide to Microsoft's Azure Kubernetes Service (AKS), a managed container orchestration platform, arms you with the tools and knowledge you need to easily deploy and operate on this complex platform. Take a journey inside Docker containers, container registries, Kubernetes architecture, Kubernetes components, and core Kubectl commands. Drawing on hard-earned experience in the field, the authors provide just enough theory to help you grasp important concepts, teaching the practical straightforward knowledge you need to start running your own AKS cluster. You will dive into topics related to the deployment and operation of AKS, including Rancher for management, security, networking, storage, monitoring, backup, scaling, identity, package management with HELM, and AKS in CI/CD
دانلود کتاب معرفی سرویس کلاستر کابرنتیس آژور: راهنمایی عملی برای ارکستراسیون کانتینرها