Google Kubernetes Engine (GKE) Logging and Monitoring
- Use Stackdriver to monitor and manage the availability and performance
- Locate and inspect Kubernetes logs
- Perform forensic analysis of logs
- Monitor performance
- Create probes for wellness checks on live applications
Stackdriver
Metrics represents the bottleneck, which event shows the errors.
Logging
GKE automatically streams it’s logs to Stackdriver to give you better visibility into the events and activity of your cluster.
Kubernetes native logging
Logs from Kubernetes system components such as Kubelets and KubeProxy are stored in each node’s file system in its /var/log directory.
Logging with Kubernetes and Stackdriver
Monitoring
Service reliability hierarchy
Probes
Service dependencies
If the request returns with a code range from 200 to 400, kubelet considers the container healthy.