# Instrumentation and cAdvisor, with David Ashpole

> Episode of [Kubernetes Podcast from Google](https://podistic.com/podcast/kubernetes-podcast-from-google.md) · Published July 21, 2020 · Duration 35:12 · Episode 113, season 1

- **Listen on Podistic:** https://podistic.com/episode/instrumentation-and-cadvisor-with-david-ashpole
- **Audio:** https://traffic.libsyn.com/secure/e780d51f-f115-44a6-8252-aed9216bb521/KPfGep113.mp3?dest-id=3486674 (audio/mpeg)

## About this episode

Released on the same day as Kubernetes, cadvisor is a container monitoring daemon that collects metrics and serves them to monitoring tools. It's built into the Kubelet, and underpins many components in Kubernetes, such as eviction and autoscaling. [David Ashpole](https://twitter.com/k8s_dashpole) of Google Cloud is TL of Kubernetes SIG Instrumentation, and the maintainer of cadvisor; he joins [Adam and Craig](https://kubernetespodcast.com/about) this week to explain where instrumentation fits in the stack, and what you should do as a Kubernetes maintainer vs. a cluster administrator.

Do you have something cool to share? Some questions? Let us know:

*   web: [kubernetespodcast.com](https://kubernetespodcast.com)
*   mail: [kubernetespodcast@google.com](mailto:kubernetespodcast@google.com)
*   twitter: [@kubernetespod](https://twitter.com/kubernetespod)

### Chatter of the week

*   In Craig's neighbourhood:
    *   [Books](https://twitter.com/craigbox/status/1285555722546282496)
    *   [More books](https://twitter.com/craigbox/status/1285556657569828865)
    *   [Some less popular items](https://twitter.com/craigbox/status/1285556762901348352)
*   [Masks](https://twitter.com/craigbox/status/1285558219046346753)
    *   [ Archie the Mammoth](https://www.newsbreak.com/news/1597708175599/archie-the-mammoth-dons-mask-at-unl)
*   [National Ice Cream Day](https://nationaltoday.com/national-ice-cream-day/)
    *   [ Carmel](https://upload.wikimedia.org/wikipedia/commons/7/71/Carmel_by_the_Sea_Coastline_%28Unsplash%29_%28cropped%29.jpg)
    *   [ Caramel](https://images.unsplash.com/photo-1551024506-0bccd828d307?ixlib=rb-1.2.1\&auto=format\&fit=crop\&w=2800\&q=80)

### News of the week

*   GKE Ingress features:
    *   [ BackendConfig CRD](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#associating_backendconfig_with_your_ingress)
    *   [ Cloud CDN](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#cloud_cdn)
    *   [ Backend service timeout](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#timeout)
    *   [ Connection draining timeout](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#draining_timeout)
    *   [ HTTP access logging](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#http_logging)
    *   [ Identity-Aware Proxy (IAP)](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#iap)
    *   [ Session affinity](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#session_affinity)
    *   [ User-defined request headers](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#request_headers)
    *   [ Cloud Armor security policies](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#cloud_armor) (Beta)
    *   [ FrontendConfig CRD](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#associating_frontendconfig_with_your_ingress) (Beta)
    *   [ Custom GCLB health checks](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#direct_health) (Beta)
    *   [ SSL policies](https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#ssl) (Beta)
*   [ Exposing services on GKE](https://cloud.google.com/blog/products/containers-kubernetes/exposing-services-on-gke)
*   [ OpenShift 4.5](https://www.openshift.com/blog/openshift-4.5-arrives-bringing-new-supported-installations)
    *   [OKD4](https://www.openshift.com/blog/okd4-is-now-generally-available)
*   [ Spring Cloud Data Flow for Kubernetes](https://tanzu.vmware.com/content/blog/announcing-spring-cloud-data-flow-for-kubernetes) from VMware; part of the [Spring Runtime](https://tanzu.vmware.com/spring-runtime) package
*   [k8spin.cloud is closing](https://twitter.com/K8Spin/status/1284438986509950982) and [making their code open source](https://www.k8spin.cloud/oss-projects)
    *   [ Review of k8spin from launch](https://levelup.gitconnected.com/kubernetes-tips-all-i-need-is-a-namespace-c81dec026294)
*   [Custom Pod Autoscaler](https://github.com/jthomperoo/custom-pod-autoscaler) (and [docs](https://custom-pod-autoscaler.readthedocs.io/en/stable/)) by Jamie Thompson
*   [Envoy 1.15](https://www.tetrate.io/blog/envoy-proxy-1-15-release/) round-up from Tetrate; [ release notes](https://www.envoyproxy.io/docs/envoy/v1.15.0/version_history/current) from the team
*   [ Fluent Bit 1.5](https://www.cncf.io/blog/2020/07/14/fluent-bit-v1-5-lightweight-and-high-performance-log-processor/) summary at the CNCF
*   [k3d v3.0](https://github.com/rancher/k3d/releases/tag/v3.0.0) and [new web site](https://k3d.io/)
*   [ Best practices for creating a highly available GKE cluster](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-creating-a-highly-available-gke-cluster/)
*   [Recommended alerts for AKS](https://azure.microsoft.com/en-us/updates/ci-recommended-alerts/)
*   [ Ingress support added to AWS App Mesh](https://aws.amazon.com/blogs/containers/introducing-ingress-support-in-aws-app-mesh/)
*   [ Platform9 adds new apps to their Managed Kubernetes Service](https://platform9.com/press/platform9-unveils-new-capabilities-for-its-freedom-growth-and-enterprise-managed-kubernetes-solutions)
    *   [ Episode 88, with Madhura Maskasky](https://kubernetespodcast.com/episode/088-vms-edge-and-platform9/)
*   [CVE-2020-8557: Node disk DOS by writing to container /etc/hosts](https://github.com/kubernetes/kubernetes/issues/93032)
*   [CVE-2020-8559: Privilege escalation from compromised node to cluster](https://github.com/kubernetes/kubernetes/issues/92914)
    *   [ Alcide write-up](https://blog.alcide.io/new-kubernetes-api-server-vulnerability-enables-privileges-escalation-cve-2020-8559)
*   [ Threat Alert: Attacker Building Malicious Images Directly on Your Host](https://blog.aquasec.com/malicious-container-image-docker-container-host) from Aqua Security
*   [ Certified Kubernetes Security Specialist (CKS) coming in November](https://www.cncf.io/blog/2020/07/15/certified-kubernetes-security-specialist-cks-coming-in-november/)
*   [ Sign up for a free pass to Virtual KubeCon EU keynotes](https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/register/)
*   [ Diving Into Istio 1.6 Certificate Rotation](https://blog.christianposta.com/diving-into-istio-1-6-certificate-rotation/) by Christian Posta

### Links from the interview

*   [ SIG Instrumentation](https://github.com/kubernetes/community/tree/master/sig-instrumentation)
*   [inodes](https://en.wikipedia.org/wiki/Inode)
    *   [ Eviction on inodes](https://kubernetes.io/docs/tasks/administer-cluster/out-of-resource/#eviction-signals)
*   [cgroups](https://en.wikipedia.org/wiki/Cgroups)
*   [cadvisor](https://github.com/google/cadvisor)
    *   [ Launched on the same day as Kubernetes](https://cloudplatform.googleblog.com/2014/06/an-update-on-container-support-on-google-cloud-platform.html)
*   [Monitoring metrics with Prometheus](https://prometheus.io/docs/guides/cadvisor/)
*   [Victor Marmol](https://twitter.com/v_marmol) and [Vish Kannan](https://www.linkedin.com/in/vishnukanan/)
*   [Episode 22, with Dawn Chen](https://kubernetespodcast.com/episode/022-sig-node/)
*   [ CRI](https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/)
*   [ Resource metrics pipeline](https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/)
*   [Heapster](https://github.com/kubernetes-retired/heapster)
*   [Metrics Server](https://github.com/kubernetes-sigs/metrics-server)
*   [kube-state-metrics](https://github.com/kubernetes/kube-state-metrics)
    *   [ Managing Your Costs on Kubernetes](https://karlstoney.com/2018/07/07/managing-your-costs-on-kubernetes/) by Karl Stoney from Autotrader
    *   [Episode 52, with Russell Warman and Karl Stoney](https://kubernetespodcast.com/episode/052-autotrader/)
*   [ Metrics Stability Framework](https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20191028-metrics-stability-to-beta.md)
*   [ Structured logging](https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1602-structured-logging)
*   [ Distributed tracing in Kubernetes](https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/647-apiserver-tracing)
*   [ Node out of memory eviction](https://kubernetes.io/docs/tasks/administer-cluster/out-of-resource/#node-oom-behavior)
*   [ Pod priority](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/)
*   [David Ashpole on Twitter](https://twitter.com/k8s_dashpole)
