Overview/Description
Kubernetes auditing helps administrators understand and investigate issues affecting their system. In this course, you'll use Kubernetes to create various audit policies, capture and print logs, and debug Pods, nodes, container runtimes, and applications. You'll explore common issues associated with Pods and ReplicationController and the tools to aggregate different Kubernetes logging layers and log types. You'll create a Deployment with two Pods, use kubectl to retrieve Pod information, the kubectl alpha debug command to add ephemeral containers to a running Pod, and stdout and stderr to write a configuration file and capture container logs. Finally, you'll use crictl commands to debug container runtimes and Telepresence to create a virtual network. This course is part of a series that aligns with the Certified Kubernetes Administrator exam's objectives and can be used in preparation for it.
create a manifest file that can be used to create a deployment with two Pods and use kubectl to retrieve information about each Pod
outline how to debug pending Pods and down or unreachable Kubernetes cluster nodes
list the common critical Pod and ReplicationController issues that require debugging
outline the process of debugging scheduled and running Pods in a Kubernetes cluster
use the kubectl alpha debug command to add ephemeral containers to a running Pod
describe the features and role of Kubernetes Auditing and Audit Policy and list the known lifecycle stages inside the Kube-apiserver component
create an audit policy file and use it to set up and enable a cluster policy
name the log types found in Kubernetes and recognize the features of prominent tools that help aggregate different logging layers
write a configuration file and capture container logs using stdout and stderr
install crictl and utilize crictl commands to debug container runtimes on Kubernetes clusters
install and use Telepresence to create a virtual network between a local machine and a remote Kubernetes cluster to simplify debugging applications running on Kubernetes
use the kubectl log command to print logs from specific containers within Pods, logs that occurred after an absolute time, and logs that are newer than a set duration, then include timestamps in the log lines