The Simplest Way to Make Backstage and Kubler Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running backstage and kubler together links your internal service catalog to your container clusters. Teams use the portal to request, view, and manage cluster resources in one place. Backstage gives engineers a central catalog for all services, docs, and team ownership. Kubler builds and manages Kubernetes clusters across cloud providers and local servers. When you pair them, developers see cluster status right inside their service portal. Platform teams can also offer templates that spin up n

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.

Running backstage and kubler together links your internal service catalog to your container clusters. Teams use the portal to request, view, and manage cluster resources in one place.

Backstage gives engineers a central catalog for all services, docs, and team ownership. Kubler builds and manages Kubernetes clusters across cloud providers and local servers. When you pair them, developers see cluster status right inside their service portal. Platform teams can also offer templates that spin up new clusters or namespaces.

How backstage and kubler share identity and data

A working setup needs a clear path for user identity, roles, and cluster data. First, users log in to Backstage through a central identity provider like Okta. Backstage checks who the user is and which team groups they belong to. Next, Backstage talks to the Kubler API or the underlying Kubernetes cluster endpoints.

To read cluster state, the portal sends API calls to fetch pod and node data. Kubler manages the control plane and connects the cluster to the same identity provider. When a developer triggers an action, the request must carry a valid token. The cluster checks the token against role rules before it allows any change.

Data flows back to the catalog as status updates, health checks, and resource lists. Developers can read pod logs and check deployment health without leaving the portal. If the team uses catalog templates, Backstage sends a create request to Kubler. Kubler then runs the task to build or update the target cluster space.

Common failure modes and how to scope roles

Many teams take shortcuts when they first wire these two tools together. The most common mistake is using one shared admin token for all portal requests. If Backstage uses a single master key, every developer gets the same broad power. Cluster logs will show the shared service account instead of the real user.

Broad tokens also create a huge blast radius if a key ever leaks. An attacker who steals a static portal key can delete workloads across every cluster. Unlogged queries are another risk when teams share raw cluster config files. Auditors cannot tell which person ran a command or read sensitive pod data.

End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, map every action back to a single human user identity. Avoid long-lived static keys inside your catalog backend files. Set up your cluster roles with the minimum permissions needed for each team. Give read-only roles for status checks and strict write roles for deployment tasks.

Network paths between the portal and your clusters also need tight rules. Keep cluster control planes on private networks instead of open public addresses. Only allow traffic from trusted sources that check user identity on every request. Also, make sure your logging tools mask emails, phone numbers, and card numbers in output.

Auditing cluster actions across your teams

Security teams need a clear record of every change made through the developer portal. Native cluster logs often lack the business context of why an action happened. Combine your identity records with your cluster API logs in one central store. Each log entry should show the user, the time, the target, and the result.

Review role rules often to remove old permissions when people switch teams. Automated checks can spot unused roles and flag accounts that have too much power. When you keep permissions tight and logs clear, both tools work safely at scale.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

How does Backstage get data from Kubler clusters?

Backstage sends API calls to the Kubler interface or the Kubernetes API server. It uses tokens to read pod health, node status, and deployment logs for the catalog.

Why are shared service accounts a risk for cluster portals?

A shared account hides which person ran a command and gives everyone the same access. If that single token leaks, an attacker gains broad control over your clusters.

How can teams protect sensitive data in pod logs?

Teams should restrict log read roles to the group that owns the specific service. You can also use data masking rules to rewrite emails and card numbers in results.

The query runs. The emails stay hidden.