Reader small image

You're reading from  DevOps with Kubernetes. - Second Edition

Product typeBook
Published inJan 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789533996
Edition2nd Edition
Languages
Concepts
Right arrow
Authors (3):
Hideto Saito
Hideto Saito
author image
Hideto Saito

Hideto Saito has around 20 years of experience in the computer industry. In 1998, while working for Sun Microsystems Japan, he was impressed by Solaris OS, OPENSTEP, and Sun Ultra Enterprise 10000 (also known as StarFire). He then decided to pursue UNIX and macOS operating systems. In 2006, he relocated to southern California as a software engineer to develop products and services running on Linux and macOS X. He was especially renowned for his quick Objective-C code when he was drunk. He is also an enthusiast of Japanese anime, drama, and motorsports, and loves Japanese Otaku culture.
Read more about Hideto Saito

Hui-Chuan Chloe Lee
Hui-Chuan Chloe Lee
author image
Hui-Chuan Chloe Lee

Hui-Chuan Chloe Lee is a DevOps and software developer. She has worked in the software industry on a wide range of projects for over five years. As a technology enthusiast, she loves trying and learning about new technologies, which makes her life happier and more fulfilling. In her free time, she enjoys reading, traveling, and spending time with the people she love
Read more about Hui-Chuan Chloe Lee

Cheng-Yang Wu
Cheng-Yang Wu
author image
Cheng-Yang Wu

Cheng-Yang Wu has been tackling infrastructure and system reliability since he received his master's degree in computer science from National Taiwan University. His laziness prompted him to master DevOps skills to maximize his efficiency at work so as to squeeze in writing code for fun. He enjoys cooking as it's just like working with software a perfect dish always comes from balanced flavors and fine-tuned tastes.
Read more about Cheng-Yang Wu

View More author details
Right arrow

Kubernetes on Azure

Just like AWS and GCP, Microsoft Azure's public cloud also has a hosted offering, which is Kubernetes. The Azure Kubernetes Service (AKS) was introduced in 2017. Users of Azure can manage, deploy, and scale their containerized applications on AKS without worrying about the underlying infrastructure.

In this chapter, we'll start by giving an introduction to Azure and then go through the major services that AKS uses. We'll then learn how to launch an AKS cluster and play with it:

  • Introduction to Azure
  • Fundamental services in Azure
  • Setting up AKS
  • Azure cloud providers

Introduction to Azure

Like GCP, Microsoft Azure provides Platform as a Service (PaaS). Users can deploy their applications to the Azure app service without having to know about detailed settings and VM management. Since 2010, Azure has been serving Microsoft software and third-party software to many users. Each Azure service provides different pricing tiers. In Azure, these pricing tiers are also called SKUs (https://en.wikipedia.org/wiki/Stock_keeping_unit).

The Azure Kubernetes Service (AKS) was announced in 2017 as the new support for their original container orchestrator solution, Azure Container Service (ACS). Since then, container solutions in Azure focused more on Kubernetes support rather than other container orchestrators, such as Docker Enterprise and Mesosphere DC/OS. As a Kubernetes cloud provider, AKS provides some native support, such as Azure active directory for...

Azure Kubernetes service

Azure Kubernetes service is a hosted Kubernetes service in Azure. A cluster contains a set of nodes (such as Azure VMs). Just like a normal Kubernetes node, kube-proxy and kubelet are installed on the node. kube-proxy, which communicates with the Azure virtual NIC, manages the route in and out for services and pods. kubelet receives the request from the master, schedules the pods, and reports the metrics. In Azure, we could mount various Azure storage options such as Azure disk and Azure files as the Persistent Volume (PV) for persisting the data for containers. An illustration of this is shown here:

Want to build a cluster from scratch?
If you would prefer to build a cluster on your own, be sure to check out the AKS-engine project (
https://github.com/Azure/aks-engine), which builds Kubernetes infrastructure in Azure using the Azure resource manager...

Summary

Microsoft Azure is a powerful and enterprise-grade cloud computing platform. Beside AKS, it also provides various services in different fields, such as analytics, virtual reality, and much more. In this chapter, we touched the surface of Azure virtual network, subnets, and load balancing. We also learned how to deploy and administrate the Kubernetes service in Azure. We walked through how Azure provides Kubernetes resources via the cloud controller manager for Azure. We got to know how the cloud controller manager for Azure provides a seamless experience for Azure users, such as by creating an Azure load balancer when a LoadBalancer service in Kubernetes is requested or pre-creating an Azure disk storage class.

This is the last chapter of this book. We have tried to walk through both basic and more advanced concepts in this Kubernetes learning journey. Because Kubernetes...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
DevOps with Kubernetes. - Second Edition
Published in: Jan 2019Publisher: PacktISBN-13: 9781789533996
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Authors (3)

author image
Hideto Saito

Hideto Saito has around 20 years of experience in the computer industry. In 1998, while working for Sun Microsystems Japan, he was impressed by Solaris OS, OPENSTEP, and Sun Ultra Enterprise 10000 (also known as StarFire). He then decided to pursue UNIX and macOS operating systems. In 2006, he relocated to southern California as a software engineer to develop products and services running on Linux and macOS X. He was especially renowned for his quick Objective-C code when he was drunk. He is also an enthusiast of Japanese anime, drama, and motorsports, and loves Japanese Otaku culture.
Read more about Hideto Saito

author image
Hui-Chuan Chloe Lee

Hui-Chuan Chloe Lee is a DevOps and software developer. She has worked in the software industry on a wide range of projects for over five years. As a technology enthusiast, she loves trying and learning about new technologies, which makes her life happier and more fulfilling. In her free time, she enjoys reading, traveling, and spending time with the people she love
Read more about Hui-Chuan Chloe Lee

author image
Cheng-Yang Wu

Cheng-Yang Wu has been tackling infrastructure and system reliability since he received his master's degree in computer science from National Taiwan University. His laziness prompted him to master DevOps skills to maximize his efficiency at work so as to squeeze in writing code for fun. He enjoys cooking as it's just like working with software a perfect dish always comes from balanced flavors and fine-tuned tastes.
Read more about Cheng-Yang Wu