QuestionQ4

Optimizing performance and cost

Your company runs services using Google Kubernetes Engine (GKE). The GKE clusters in the development environment run applications with verbose logging enabled. Developers inspect logs by using the kubectl logs command and do not use Cloud Logging. Applications do not have a defined uniform logging structure.

You need to minimize the costs associated with application logging while continuing to collect GKE operational logs. What should you do?

Explanation

GKE SYSTEM logging collects system logs required for cluster operations, while WORKLOAD logging collects logs generated by non-system application containers. Configuring the development cluster with --logging=SYSTEM prevents verbose application workload logs from being ingested into Cloud Logging while preserving GKE operational/system logs. About GKE logs

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!