diff --git a/slides/kube/whatsnext.md b/slides/kube/whatsnext.md index bbce2681..c77da18f 100644 --- a/slides/kube/whatsnext.md +++ b/slides/kube/whatsnext.md @@ -93,13 +93,35 @@ And *then* it is time to look at orchestration! --- -## Logging and metrics +## Logging - Logging is delegated to the container engine -- Metrics are typically handled with [Prometheus](https://prometheus.io/) +- Logs are exposed through the API - ([Heapster](https://github.com/kubernetes/heapster) is a popular add-on) +- Logs are also accessible through local files (`/var/log/containers`) + +- Log shipping to a central platform is usually done through these files + + (e.g. with an agent bind-mounting the log directory) + +--- + +## Metrics + +- The kubelet embeds cAdvisor, which exposes container metrics + + (cAdvisor might be separated in the future for more flexibility) + +- [Heapster](https://github.com/kubernetes/heapster) is a popular add-on + + (but is being [deprecated](https://github.com/kubernetes/heapster/blob/master/docs/deprecation.md) starting with Kubernetes 1.11) + +- It is now recommended to use the [Metrics Server](https://kubernetes.io/docs/tasks/debug-application-cluster/core-metrics-pipeline/) instead + +- It is a good idea to start with [Prometheus](https://prometheus.io/) + + (even if you end up using something else) ---