Microsoft’s Retina Joins Open Source for Kubernetes Observability

Kubernetes continues to dominate the container orchestration space, necessitating ever-more sophisticated network observability tools. Microsoft’s contribution to this need is Retina, a specialist network observability tool for Kubernetes that the tech giant has now generously shared with the open-source community. Here’s a guide to getting started with Retina and maximizing its potential for your Kubernetes infrastructure.

Setting Up Retina with GitHub and Helm

Begin your Retina implementation by cloning the repository from GitHub, giving you access to a suite of network observability tools. Deploy Retina in your Kubernetes setup using the Helm charts included in the repository. This seamless integration is sometimes complemented by configuring Prometheus to log the detailed network data Retina captures, offering deep insights into Kubernetes cluster operations.

Integrating Retina with Kubernetes CLI Tools

The Retina Command Line Interface (CLI) works best within a Linux-based Kubernetes environment and in tandem with kubectl, enhancing the command-line workings with Kubernetes. However, for those preferring a different approach, YAML custom resource definitions are available to control network captures, providing flexibility for diverse user preferences and needs.

Choosing the Right eBPF Network Capture Plugin

Retina’s power on Linux systems comes from an eBPF network capture plugin, based on the Inspektor Gadget tool which originated from the Kinvolk team, now integrated with Azure. eBPF exemplifies open-source community innovation, enabling detailed yet non-intrusive monitoring of network transactions in Kubernetes applications.

Operational Modes and Metrics Customization with Retina

Retina’s design philosophy shines with its user-centric approach. The tool offers three operational modes: basic per-node metrics, and more advanced “remote context” and “local context” insights. Users also benefit from customizable metrics, activating only the plugins needed for their specific monitoring requirements, prioritizing relevance, and reducing data overload.

Setting Up Prometheus and Grafana Dashboards

Advancing with Retina involves configuring Prometheus to manage the flow of networking data. Microsoft eases this process by providing sample configurations on the Retina GitHub repository. By creating an effective Grafana dashboard, the data Prometheus collects becomes an accessible visual analytics tool, essential for enterprises needing to monitor and maintain their Kubernetes clusters’ health.

In sharing Retina as an open-source project, Microsoft embodies the collaborative spirit of the Kubernetes community. These contributions not only improve Microsoft’s offerings but also benefit the wider Kubernetes ecosystem. With the growing reliance on containerized applications, tools like Retina will be critical for ensuring observability, and thereby performance and security, in the cloud-native world.

Explore more