Customizing Stackdriver Logs for Kubernetes Engine with Fluentd
This lab describes how to customize Fluentd logging for a Google Kubernetes Engine cluster.
In this hands-on lab you will learn how to host a configurable Fluentd daemonset to send logs to Stackdriver instead of selecting the cloud logging option when creating the Kubernetes Engine cluster, which does not allow configuration of the Fluentd daemon. You will customize Kubernetes Engine logging to remove sensitive data from the Stackdriver logs.
We encourage students to type the commands themselves, to help encourage learning of the core concepts. Many labs will include a code block that contains the required commands. You can easily copy and paste the commands from the code block into the appropriate places during the lab.
What you'll do
- Deploy a Fluentd daemonset on a Google Kubernetes Engine cluster, configured to log data to Google Stackdriver.
- Customize Kubernetes Engine logging to remove sensitive data from the Stackdriver logs.
- Familiarity with standard Linux text editors such as
- It's assumed that you are already familiar with Kubernetes.
Join Qwiklabs to Read the Rest of this Lab...and More!
- Get temporary access to the Google Cloud Console.
- Nearly 100 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.