Kubernetes Administrator: The Logging Mechanism

Kubernetes 1.19    |    Intermediate
  • 14 Videos | 1h 4m 49s
  • Includes Assessment
  • Earns a Badge
Kubernetes doesn't provide any native storage solution for log data, but it can be integrated with existing logging solutions. You can classify Kubernetes logs and manage them at the application and cluster level to enable observability and identify the root cause of issues. In this course, you'll learn how to do just that. You'll kick off by exploring the Logging architecture of Kubernetes clusters, the different log types maintained in Kubernetes clusters, the Kubernetes architecture that helps manage logging at the node and cluster level, best practices for Kubernetes logging, the role of the Resource Metrics pipeline, and the architecture of Metric server. Next, you'll configure a Pod specification with a container to write logs to standard output every 5 seconds and return snapshot logs from various Pod types. Moving on, you'll configure a Pod to write two different log files using different formats, create a Pod with two sidecar containers, and inspect, debug, and get logs from applications. Finally, you'll install the Metric server and use it to manage metrics for Nodes and Pods. You'll view Pod and Node resource metrics, create a Pod with one container, attach a Shell, and then execute commands in it. This course is part of a series that aligns with the Certified Kubernetes Administrator exam's objectives and can be used in its preparation.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    recognize the Logging architecture of a Kubernetes cluster along with the different types of logs maintained in a Kubernetes cluster
    create a manifest file and use the kubectl command to configure a Pod specification with a container that writes logs to standard output every 5 seconds
    demonstrate the use of the kubectl log command with various flags to return snapshot logs from Pods as well from Pods with single and multi-containers and from all containers in Pods defined by labels
    describe the Kubernetes architecture that helps manage logging at the Node-level and Cluster-level logging architectures
    configure a Pod that runs a single container and writes to two different log files using different formats
    create a configuration file that can be used to create a Pod with two sidecar containers where the sidecar containers tail a particular log file from a shared Volume and redirect the logs to their stdout stream
  • recall the best practices that need to be considered when using the Kubernetes logging mechanism
    use kubectl commands to inspect, debug, and get logs from applications
    describe the role of Resource Metrics pipeline along with the architecture and design of Metric server
    install and use the Metric server to manage metrics for Nodes and Pods in the Kube-system namespace
    use the Metric server add-on to view the metrics of the resources that are being used by Pods and nodes in a cluster
    create a configuration file that can be used to create a Pod with one container, attach a Shell to the running container, and execute commands in the Shell of the container
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 47s
    UP NEXT
  • Playable
    2. 
    Logging Architecture
    4m 14s
  • Locked
    3. 
    Configuring Pod and Writing Logs
    3m 57s
  • Locked
    4. 
    Logging Snapshots with kubectl Commands
    4m 22s
  • Locked
    5. 
    Node-level vs. Cluster-level Logging
    4m 2s
  • Locked
    6. 
    Logging in Different Files and Formats
    4m 22s
  • Locked
    7. 
    Using Sidecar to Log to File from Shared Volume
    6m 39s
  • Locked
    8. 
    Best Practices of Kubernetes Logging
    4m 16s
  • Locked
    9. 
    Inspecting Applications and Application Logging
    4m 28s
  • Locked
    10. 
    Resource Metrics Pipeline and Metric Server
    3m 30s
  • Locked
    11. 
    Installing and Using Metric Server
    6m 18s
  • Locked
    12. 
    Tracking Resource Usage with Metric Server
    4m 13s
  • Locked
    13. 
    Attaching and Executing Commands in Shell
    5m 18s
  • Locked
    14. 
    Course Summary
    1m 23s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.