Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/services/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

components:
- networking.datumapis.com
6 changes: 6 additions & 0 deletions config/services/networking.datumapis.com/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- service.yaml
- serviceconfiguration.yaml
19 changes: 19 additions & 0 deletions config/services/networking.datumapis.com/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: services.miloapis.com/v1alpha1
kind: Service
metadata:
name: networking-datumapis-com
labels:
app.kubernetes.io/name: network-services-operator
app.kubernetes.io/managed-by: kustomize
spec:
serviceName: networking.datumapis.com
phase: Draft
displayName: Network Services
description: |
Managed HTTP/HTTPS edge proxy, routing, and traffic protection
for Datum Cloud workloads. Provides programmable ingress via
Gateway API HTTPRoute and WAF/rate-limit policies. Billed via
the networking.datumapis.com/gateway meter family.
owner:
producerProjectRef:
name: datum-cloud
77 changes: 77 additions & 0 deletions config/services/networking.datumapis.com/serviceconfiguration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
apiVersion: services.miloapis.com/v1alpha1
kind: ServiceConfiguration
metadata:
name: networking-datumapis-com
spec:
phase: Draft
serviceRef:
name: networking-datumapis-com
monitoredResourceTypes:
- type: networking.datumapis.com/HTTPRoute
displayName: HTTP Route
description: |
A customer-defined HTTP routing configuration attached to a managed
Gateway. One HTTPRoute represents a single HTTP service surface on
the Datum Cloud edge. Usage events cover proxied request count,
egress bytes, ingress bytes, and active connection seconds.
gvk:
group: gateway.networking.k8s.io
kind: HTTPRoute
labels:
- name: region
description: Datum deployment region serving the requests.
- name: gateway
description: Name of the underlying Gateway resource.
- name: gateway_namespace
description: Namespace of the underlying Gateway resource.
- name: gateway_class
description: GatewayClass of the underlying Gateway.
- name: httproute_name
description: Name of the HTTPRoute that served the request.
- name: httproute_namespace
description: Namespace of the HTTPRoute that served the request.
meters:
- name: networking.datumapis.com/gateway/requests
displayName: HTTP Route Requests
description: HTTP requests proxied through the route.
measurement:
aggregation: Sum
unit: "{request}"
billing:
consumedUnit: "{request}"
pricingUnit: "{request}"
monitoredResourceTypes:
- networking.datumapis.com/HTTPRoute
- name: networking.datumapis.com/gateway/egress-bytes
displayName: HTTP Route Egress Bytes
description: Bytes sent downstream by the route.
measurement:
aggregation: Sum
unit: By
billing:
consumedUnit: By
pricingUnit: GiBy
monitoredResourceTypes:
- networking.datumapis.com/HTTPRoute
- name: networking.datumapis.com/gateway/ingress-bytes
displayName: HTTP Route Ingress Bytes
description: Bytes received from clients by the route.
measurement:
aggregation: Sum
unit: By
billing:
consumedUnit: By
pricingUnit: GiBy
monitoredResourceTypes:
- networking.datumapis.com/HTTPRoute
- name: networking.datumapis.com/gateway/connection-seconds
displayName: HTTP Route Connection Seconds
description: Seconds long-lived connections (e.g. WebSocket) are held open.
measurement:
aggregation: Sum
unit: s
billing:
consumedUnit: s
pricingUnit: h
monitoredResourceTypes:
- networking.datumapis.com/HTTPRoute
Loading