[!WARNING]
This Repository is under development and not ready for productive use. It is in an alpha stage. That means APIs and concepts may change on short notice including breaking changes or complete removal of apis.
kubernetes-graphql-gateway

The goal of this library is to provide a reusable and generic way of exposing k8s resources from within a cluster using GraphQL.
This enables UIs that need to consume these objects to do so in a developer-friendly way, leveraging a rich ecosystem.
Overview
This repository contains two main components:
- Listener: watches a cluster and stores its openAPI spec in a directory.
- Gateway: exposes the openAPI spec as a GraphQL endpoints.
Operation Modes
The system supports two modes of operation:
- KCP Mode (
ENABLE_KCP=true): Designed for KCP-based multi-cluster scenarios
- ClusterAccess Mode (
ENABLE_KCP=false): Designed for support of multiple standard clusters.
ClusterAccess
For detailed information, see Clusteraccess section.
Authorization
All information about authorization can be found in the authorization section.
Quickstart
If you want to get started quickly, you can follow the quickstart guide.
Contributing
Please refer to the contributing section for instructions on how to contribute to platform-mesh.
Releasing
The release is performed automatically through a GitHub Actions Workflow.
All the released versions will be available through access to GitHub (as any other Golang Module).
Security / Disclosure
If you find any bug that may be a security problem, please follow our instructions in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
Licensing
Copyright 2025 SAP SE or an SAP affiliate company and platform-mesh contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.