Kubernetes Administrator: The Logging Mechanism

Kubernetes    |    Intermediate
  • 14 videos | 58m 49s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 25 users Rating 4.4 of 25 users (25)
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

  • 1m 47s
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 189 users Rating 4.5 of 189 users (189)
Rating 4.4 of 42 users Rating 4.4 of 42 users (42)
Rating 4.4 of 93 users Rating 4.4 of 93 users (93)