Day27影片教学:Azure小白如何使用Azure Kubernetes Service部署Container应用程序

在昨天我们谈完如何使用Azure Container Registry异地复写建立多份Container Image後

今天我们来聊聊如何企业中使用Azure Kubernetes Service Cluster,YAML

档案布署Kubernetes workload 及整合Azure Container Registry以因应

重覆性的日常维运工作。

Azure Kubernetes Service cluster

Cluster是基於Node的,Kubernetes Cluster中有两种类型的Node可以提供特定

的功能。

-Control plane nodes:这些Node承载Cluster Control plane,并保留用於

控制Cluster服务。他们负责提供您和所有其他Node用於通信的API。这些Node上

没有部署或计划任何工作负载。

-Nodes:这些Node负责执行自定义工作负载和应用程序。

Cluster architectures

-Single control plane and multiple nodes

https://ithelp.ithome.com.tw/upload/images/20201012/20112182NHmhhyJ4DR.png

Single control plane and multiple nodes是最常见的架构模式。此模式最

容易部署,但不能为Cluster的cluster's core management提供高可用性。

尽管可用性不如其他架构好,但这种架构对於大多数情况而言应该足够了。如果

您要处理生产方案,则此体系结构可能不是最佳解决方案。

-Single control plane and a single node

https://ithelp.ithome.com.tw/upload/images/20201012/20112182UkgewpnT6y.png

Single control plane and a single node结构是先前体系结构的变体,并用

於开发环境中。此体系结构仅提供一个同时承载control plane和Work Node,在

测试或尝试不同的Kubernetes概念时,它很有用。Single control plane and

a single node限制了Cluster扩展,并使该体系结构不适用於生产使用。

手把手建立Azure Kubernetes Service Cluster步骤

https://docs.microsoft.com/zh-tw/learn/modules/aks-deploy-container-app/3-exercise-create-aks-cluster

手把手建立Azure Kubernetes Service Cluster部署应用程序步骤

https://docs.microsoft.com/zh-tw/learn/modules/aks-deploy-container-app/5-exercise-deploy-app

手把手启用应用程序的网路存取步骤

https://docs.microsoft.com/zh-tw/learn/modules/aks-deploy-container-app/7-exercise-expose-app

Day27教学教材:

https://docs.microsoft.com/zh-tw/learn/modules/aks-deploy-container-app/


<<:  【Day 29】 从知道到做到:方法我都知,但要怎麽做到?完成目标三阶段的好书推荐

>>:  Day 27:Using the Elasticsearch for IaaS

放开那本字典:匿名函式 anonymous function

唯心又看了诗忆之前写的几个高阶函式练习。「嗯⋯⋯我觉得你与其说是对高阶函式不熟,不如说是对匿名函式不...

Day22 - 前处理: 资料平衡&Label 调整

在 Day20 介绍资料集时有提到过五类情绪有资料不平衡的问题,为了处理资料不平衡的问题,我们会在 ...

Day4 Python 基础教学 (三)

介绍完一些基础的语法之後,来做个 python 型别的介绍, 型别介绍 内建型别 python 有内...

DeBug Day 26

修正Bug日 [ ] 修正首页的排版问题 [ ] 修正书本细节页面的排版问题 [ ] 修正新增照片到...

中学ICT的课程分享

留意到不少同学对於 ICT 读甚麽感到好奇,今天就跟大家分享一下中学ICT的课程分享~ DSE IC...