Home Page Icon
Home Page
Table of Contents for
Copyright and Credits
Close
Copyright and Credits
by Viktor Farcic
The DevOps 2.5 Toolkit
Title Page
Copyright and Credits
The DevOps 2.5 Toolkit
About Packt
Why subscribe?
Dedication
Contributors
About the author
Preface
Overview
Audience
Requirements
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Autoscaling Deployments and StatefulSets Based on Resource Usage
Creating a cluster
Observing Metrics Server data
Auto-scaling Pods based on resource utilization
To replicas or not to replicas in Deployments and StatefulSets?
What now?
Auto-scaling Nodes of a Kubernetes Cluster
Creating a cluster
Setting up Cluster Autoscaling
Setting up Cluster Autoscaler in GKE
Setting up Cluster Autoscaler in EKS
Setting up Cluster Autoscaler in AKS
Scaling up the cluster
The rules governing nodes scale-up
Scaling down the cluster
The rules governing nodes scale-down
Can we scale up too much or de-scale to zero nodes?
Cluster Autoscaler compared in GKE, EKS, and AKS
What now?
Collecting and Querying Metrics and Sending Alerts
Creating a cluster
Choosing the tools for storing and querying metrics and alerting
A quick introduction to Prometheus and Alertmanager
Which metric types should we use?
Alerting on latency-related issues
Alerting on traffic-related issues
Alerting on error-related issues
Alerting on saturation-related issues
Alerting on unschedulable or failed pods
Upgrading old Pods
Measuring containers memory and CPU usage
Comparing actual resource usage with defined requests
Comparing actual resource usage with defined limits
What now?
Debugging Issues Discovered Through Metrics and Alerts
Creating a cluster
Facing a disaster
Using instrumentation to provide more detailed metrics
Using internal metrics to debug potential issues
What now?
Extending HorizontalPodAutoscaler with Custom Metrics
Creating a cluster
Using HorizontalPodAutoscaler without metrics adapter
Exploring Prometheus Adapter
Creating HorizontalPodAutoscaler with custom metrics
Combining Metric Server data with custom metrics
The complete HorizontalPodAutoscaler flow of events
Reaching nirvana
What now?
Visualizing Metrics and Alerts
Creating a cluster
Which tools should we use for dashboards?
Installing and setting up Grafana
Importing and customizing pre-made dashboards
Creating custom dashboards
Creating semaphore dashboards
A better dashboard for big screens
Prometheus alerts vs. Grafana notifications vs. semaphores vs. graph alerts
What now?
Collecting and Querying Logs
Creating a cluster
Exploring logs through kubectl
Choosing a centralized logging solution
Exploring logs collection and shipping
Exploring centralized logging through Papertrail
Combining GCP Stackdriver with a GKE cluster
Combining AWS CloudWatch with an EKS cluster
Combining Azure Log Analytics with an AKS cluster
Exploring centralized logging through Elasticsearch, Fluentd, and Kibana
Switching to Elasticsearch for storing metrics
What should we expect from centralized logging?
What now?
What Did We Do?
Contributions
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Title Page
Next
Next Chapter
The DevOps 2.5 Toolkit
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset