Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Kubernetes on Azure. - Second Edition

You're reading from  Hands-On Kubernetes on Azure. - Second Edition

Product type Book
Published in May 2020
Publisher Packt
ISBN-13 9781800209671
Pages 368 pages
Edition 2nd Edition
Languages
Authors (3):
Nills Franssens Nills Franssens
Profile icon Nills Franssens
Shivakumar Gopalakrishnan Shivakumar Gopalakrishnan
Profile icon Shivakumar Gopalakrishnan
Gunther Lenz Gunther Lenz
Profile icon Gunther Lenz
View More author details
Toc

Table of Contents (16) Chapters close

Preface Section 1: The Basics
1. Introduction to Docker and Kubernetes 2. Kubernetes on Azure (AKS) Section 2: Deploying on AKS
3. Application deployment on AKS 4. Building scalable applications 5. Handling common failures in AKS 6. Securing your application with HTTPS and Azure AD 7. Monitoring the AKS cluster and the application Section 3: Leveraging advanced Azure PaaS services
8. Connecting an app to an Azure database 9. Connecting to Azure Event Hubs 10. Securing your AKS cluster 11. Serverless functions Index

Metrics reported by Kubernetes

Kubernetes reports multiple metrics. In this section, we'll first use a number of kubectl commands to get these metrics. Afterward, we'll look into Azure Monitor for containers to see how Azure helps with container monitoring.

Node status and consumption

The nodes in your Kubernetes are the servers running your application. Kubernetes will schedule Pods to different nodes in the cluster. You need to monitor the status of your nodes to ensure that the nodes themselves are healthy and that the nodes have enough resources to run new applications.

Run the following command to get information about the nodes on the cluster:

kubectl get nodes

The preceding command lists their name, status, and age:

Output for the kubectl get nodes command listing the name, status, and age of the nodes.
Figure 7.22: There are two nodes in this cluster

You can get more information by passing the -o wide option:

kubectl get -o wide nodes

The output lists the underlying OS-IMAGE and INTERNAL-IP, and other...

lock icon The rest of the chapter is locked
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.
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 ₹800/month. Cancel anytime