The Simplest Way to Make Crossplane and Honeycomb Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing crossplane and honeycomb lets teams track cloud resource changes with trace data. Crossplane builds cloud resources from cluster state, while Honeycomb stores the trace events. Platform teams run Crossplane to create databases, buckets, and networks through Kubernetes APIs. When a resource fails to build, engineers need fast answers from their logs. Sending trace data to Honeycomb shows which cloud API call caused the delay. This pairing turns silent background reconcile loops into clea

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Pairing crossplane and honeycomb lets teams track cloud resource changes with trace data. Crossplane builds cloud resources from cluster state, while Honeycomb stores the trace events.

Platform teams run Crossplane to create databases, buckets, and networks through Kubernetes APIs. When a resource fails to build, engineers need fast answers from their logs. Sending trace data to Honeycomb shows which cloud API call caused the delay. This pairing turns silent background reconcile loops into clear visual timelines for your team.

How crossplane and honeycomb share data and keys

Crossplane runs as a set of controllers inside your Kubernetes cluster. Each controller watches custom resources and talks to external cloud provider APIs. To send telemetry, the controllers emit OpenTelemetry traces and metrics during each loop. An OpenTelemetry collector inside the cluster receives these signals from the controller pods.

The collector then forwards the batched trace events to Honeycomb over encrypted connections. To log in to Honeycomb, the collector uses an ingest key stored in Kubernetes. You must scope this key so it can only write trace events. It should never hold permissions to delete datasets or change team settings.

Inside Honeycomb, each reconcile step appears as a span within a larger trace. Engineers can see how long Crossplane waited for a cloud provider response. They can also group traces by resource kind, provider name, or error code. This flow keeps cloud credentials inside the cluster while sending performance metadata outward.

Common failure modes and role scoping

Many teams start by sharing one broad Honeycomb API key across all clusters. If that key leaks, an attacker can send fake traces or alter schemas. A better rule is to create one write-only ingest key per cluster. Rotate these keys on a fixed schedule using your secret store.

Another failure mode is high trace volume from fast Crossplane reconcile loops. Crossplane checks resource state often, which can flood Honeycomb with identical success spans. Set up your OpenTelemetry collector to sample routine checks and keep all errors. You should also keep spans that show state changes or slow API calls.

Crossplane Composition Security + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Traces can also pick up sensitive data from resource specs or error messages. If a spec holds a raw email or phone number, it may leak. Set up collector rules that rewrite emails, phone numbers, and card numbers first. Masking rewrites matched fields in results before the payload leaves your cluster network.

Scoping network paths and cluster roles

Within Kubernetes, Crossplane needs roles to read secrets and write status updates. Keep these cluster roles tight so controllers only touch their own namespaces. Do not give the telemetry collector rights to read cloud provider secrets. The collector only needs network access to receive local spans and send them out.

Lock down egress traffic from your cluster using network policies. Only allow the collector pods to talk to the Honeycomb ingest endpoint. Block direct external traffic from pods that do not need outside cloud access. This layout stops stray pods from sending unlogged data out of your network.

Review your trace fields each month to check for new data leaks. When teams add new Crossplane providers, check the spans they create in staging. Clean traces and scoped keys keep your cloud control plane safe and fast.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How does Crossplane send trace data to Honeycomb?

Crossplane emits OpenTelemetry spans to a local collector running inside the cluster. The collector batches those spans and sends them to Honeycomb using an ingest key.

How do we stop Crossplane from sending too many traces?

Use tail sampling in your OpenTelemetry collector to drop normal check loops. Keep traces that contain errors, high latency, or real cloud resource changes.

What permissions should the Honeycomb key have?

Give the collector an ingest key that only has rights to send events. Do not use config keys that can delete datasets or change board rules.

The query runs. The emails stay hidden.