You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scenarios/provider-to-consumer.md
+50-41Lines changed: 50 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,28 @@
1
1
---
2
+
2
3
outline: deep
3
4
---
4
5
# Provider to Consumer (P2C)
5
6
7
+
This section describes high-level scenarios of how the **Platform Mesh** enables secure, declarative, and flexible **Provider to Consumer** (P2C) interactions across clusters, organizations, and teams. It builds on concepts such as the [**Account Model**](../overview/account-model.md), [**Control Planes**](../overview/control-planes.md), and [**Managed Service Provider Pattern**](../overview/design-decision.md) to unify service exchange.
8
+
6
9
## Kube to Kube
7
10
8
11
### Problem Description
9
12
10
-
In a provider to consumer setting a Provider wants to transfer technical
11
-
information in a secure way to a Consumer for a Service.
13
+
In a direct **provider to consumer** setting, a provider wants to transfer technical information in a secure way to a consumer for a given service.
12
14
13
-
The Provider wants to expose as little information as needed while
14
-
giving the Consumer the ability to automatically consume instances of
15
-
the Service and retrieve the required information to interact with the
16
-
Service.
15
+
* The **Provider** must expose as little internal detail as possible.
16
+
* The **Consumer** should be able to automatically discover and consume instances of the service.
17
+
* Both parties must rely on a secure, declarative, contract-driven interaction.
17
18
18
19
### Solution
19
20
20
-
The Provider can offer a kube-bind backend, allowing the Consumer to
21
-
authenticate with OIDC and to bind the CRD of the Service into their
22
-
Cluster - or any KRM API.
21
+
The provider can offer a **kube-bind backend**, allowing the consumer to:
22
+
23
+
* Authenticate with OIDC.
24
+
* Bind the service’s CRD (or any KRM API) into their own cluster.
25
+
* Automatically receive service instances and secrets.
23
26
24
27
```mermaid
25
28
flowchart TD
@@ -43,21 +46,19 @@ subgraph Consumer
43
46
end
44
47
```
45
48
49
+
---
50
+
46
51
## Kube to KCP to Kube
47
52
48
53
### Problem Description
49
54
50
-
The problem is specified on the example of an Internal Developer
51
-
Platform (IDP). Teams can be Providers and Consumer of Services.
55
+
Within an **Internal Developer Platform (IDP)** setup, multiple teams act both as providers and consumers.
52
56
53
-
The Database Team (DB) offers a Postgres Service.
54
-
The Observability Team (Obs) wants to use the Postgres Service as the
55
-
database for their Elastic service.
56
-
The Webshop Team (WS) wants to use the Postgres Services as the database
57
-
for the Webshops they maintain for their customers and the Elastic
58
-
Service for logging and metrics.
57
+
***Database Team (DB)** offers a Postgres service.
58
+
***Observability Team (Obs)** wants to consume Postgres for their Elastic service.
59
+
***Webshop Team (WS)** wants to consume both Postgres and Elastic services for their applications.
59
60
60
-
This diagram shows the premise of the problem:
61
+
This creates a mesh of dependencies where teams provide and consume services through shared contracts.
0 commit comments