Skip to content

Commit b22828e

Browse files
committed
feat: add Service and ServiceConfiguration resources for the networking-datumapis-com catalog entry
1 parent f42c6d7 commit b22828e

3 files changed

Lines changed: 120 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
resources:
5+
- service.yaml
6+
- service-configuration.yaml
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
apiVersion: services.miloapis.com/v1alpha1
2+
kind: ServiceConfiguration
3+
metadata:
4+
name: networking-datumapis-com
5+
spec:
6+
phase: Published
7+
serviceRef:
8+
name: networking-datumapis-com
9+
monitoredResourceTypes:
10+
- type: networking.datumapis.com/HTTPRoute
11+
displayName: HTTP Route
12+
description: |
13+
A customer-defined HTTP routing configuration attached to a managed
14+
Gateway. One HTTPRoute represents a single HTTP service surface on
15+
the Datum Cloud edge. Usage events cover proxied request count,
16+
egress bytes, ingress bytes, and active connection seconds.
17+
gvk:
18+
group: gateway.networking.k8s.io
19+
kind: HTTPRoute
20+
labels:
21+
- name: region
22+
description: Datum deployment region serving the requests.
23+
- name: gateway
24+
description: Name of the underlying Gateway resource.
25+
- name: gateway_namespace
26+
description: Namespace of the underlying Gateway resource.
27+
- name: gateway_class
28+
description: GatewayClass of the underlying Gateway.
29+
- name: httproute_name
30+
description: Name of the HTTPRoute that served the request.
31+
- name: httproute_namespace
32+
description: Namespace of the HTTPRoute that served the request.
33+
- name: project_name
34+
description: Name of the project serving the request.
35+
metrics:
36+
- name: networking.datumapis.com/gateway/requests
37+
displayName: HTTP Route Requests
38+
description: HTTP requests proxied through the route.
39+
kind: Delta
40+
unit: "{request}"
41+
dimensions:
42+
- region
43+
- gateway
44+
- gateway_namespace
45+
- gateway_class
46+
- httproute_name
47+
- httproute_namespace
48+
- project_name
49+
- name: networking.datumapis.com/gateway/egress-bytes
50+
displayName: HTTP Route Egress Bytes
51+
description: Bytes sent downstream by the route.
52+
kind: Delta
53+
unit: By
54+
dimensions:
55+
- region
56+
- gateway
57+
- gateway_namespace
58+
- gateway_class
59+
- httproute_name
60+
- httproute_namespace
61+
- project_name
62+
- name: networking.datumapis.com/gateway/ingress-bytes
63+
displayName: HTTP Route Ingress Bytes
64+
description: Bytes received from clients by the route.
65+
kind: Delta
66+
unit: By
67+
dimensions:
68+
- region
69+
- gateway
70+
- gateway_namespace
71+
- gateway_class
72+
- httproute_name
73+
- httproute_namespace
74+
- project_name
75+
- name: networking.datumapis.com/gateway/connection-seconds
76+
displayName: HTTP Route Connection Seconds
77+
description: Seconds long-lived connections (e.g. WebSocket) are held open.
78+
kind: Delta
79+
unit: s
80+
dimensions:
81+
- region
82+
- gateway
83+
- gateway_namespace
84+
- gateway_class
85+
- httproute_name
86+
- httproute_namespace
87+
- project_name
88+
billing:
89+
consumerDestinations:
90+
- monitoredResourceType: networking.datumapis.com/HTTPRoute
91+
metrics:
92+
- networking.datumapis.com/gateway/requests
93+
- networking.datumapis.com/gateway/egress-bytes
94+
- networking.datumapis.com/gateway/ingress-bytes
95+
- networking.datumapis.com/gateway/connection-seconds
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: services.miloapis.com/v1alpha1
2+
kind: Service
3+
metadata:
4+
name: networking-datumapis-com
5+
labels:
6+
app.kubernetes.io/name: network-services-operator
7+
app.kubernetes.io/managed-by: kustomize
8+
spec:
9+
serviceName: networking.datumapis.com
10+
phase: Published
11+
displayName: Network Services
12+
description: |
13+
Managed HTTP/HTTPS edge proxy, routing, and traffic protection
14+
for Datum Cloud workloads. Provides programmable ingress via
15+
Gateway API HTTPRoute and WAF/rate-limit policies. Billed via
16+
the networking.datumapis.com/gateway meter family.
17+
owner:
18+
producerProjectRef:
19+
name: datum-cloud

0 commit comments

Comments
 (0)