Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated bundle file #32

Merged
merged 1 commit into from
Sep 13, 2023
Merged
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
261 changes: 261 additions & 0 deletions config/examples/kube-prometheus/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,10 @@ rules:
- gateways
- gatewayclasses
- httproutes
- grpcroutes
- tcproutes
- tlsroutes
- udproutes
verbs:
- list
- watch
Expand Down Expand Up @@ -1182,6 +1186,262 @@ data:
parent_namespace: ["parentRef", "namespace"]
parent_section_name: ["parentRef", "sectionName"]
parent_port: ["parentRef", "port"]
- groupVersionKind:
group: gateway.networking.k8s.io
kind: "GRPCRoute"
version: "v1alpha2"
metricNamePrefix: gatewayapi_grpcroute
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "labels"
help: "Kubernetes labels converted to Prometheus labels."
each:
type: Info
info:
path: [metadata]
labelsFromPath:
"*": [labels]
- name: "created"
help: "created timestamp"
each:
type: Gauge
gauge:
path: [metadata, creationTimestamp]
- name: "deleted"
help: "deletion timestamp"
each:
type: Gauge
gauge:
path: [metadata, deletionTimestamp]
- name: "hostname_info"
help: "Hostname information"
each:
type: Info
info:
path: [spec, hostnames]
labelsFromPath:
hostname: []
- name: "parent_info"
help: "Parent references that the grpcroute wants to be attached to"
each:
type: Info
info:
path: [spec, parentRefs]
labelsFromPath:
parent_group: ["group"]
parent_kind: ["kind"]
parent_name: ["name"]
parent_namespace: ["namespace"]
parent_section_name: ["sectionName"]
parent_port: ["port"]
- name: "status_parent_info"
help: "Parent references that the grpcroute is attached to"
each:
type: Info
info:
path: [status, parents]
labelsFromPath:
controller_name: ["controllerName"]
parent_group: ["parentRef", "group"]
parent_kind: ["parentRef", "kind"]
parent_name: ["parentRef", "name"]
parent_namespace: ["parentRef", "namespace"]
parent_section_name: ["parentRef", "sectionName"]
parent_port: ["parentRef", "port"]
- groupVersionKind:
group: gateway.networking.k8s.io
kind: "TCPRoute"
version: "v1alpha2"
metricNamePrefix: gatewayapi_tcproute
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "labels"
help: "Kubernetes labels converted to Prometheus labels."
each:
type: Info
info:
path: [metadata]
labelsFromPath:
"*": [labels]
- name: "created"
help: "created timestamp"
each:
type: Gauge
gauge:
path: [metadata, creationTimestamp]
- name: "deleted"
help: "deletion timestamp"
each:
type: Gauge
gauge:
path: [metadata, deletionTimestamp]
- name: "parent_info"
help: "Parent references that the tcproute wants to be attached to"
each:
type: Info
info:
path: [spec, parentRefs]
labelsFromPath:
parent_group: ["group"]
parent_kind: ["kind"]
parent_name: ["name"]
parent_namespace: ["namespace"]
parent_section_name: ["sectionName"]
parent_port: ["port"]
- name: "status_parent_info"
help: "Parent references that the tcproute is attached to"
each:
type: Info
info:
path: [status, parents]
labelsFromPath:
controller_name: ["controllerName"]
parent_group: ["parentRef", "group"]
parent_kind: ["parentRef", "kind"]
parent_name: ["parentRef", "name"]
parent_namespace: ["parentRef", "namespace"]
parent_section_name: ["parentRef", "sectionName"]
parent_port: ["parentRef", "port"]
- groupVersionKind:
group: gateway.networking.k8s.io
kind: "TLSRoute"
version: "v1alpha2"
metricNamePrefix: gatewayapi_tlsroute
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "labels"
help: "Kubernetes labels converted to Prometheus labels."
each:
type: Info
info:
path: [metadata]
labelsFromPath:
"*": [labels]
- name: "created"
help: "created timestamp"
each:
type: Gauge
gauge:
path: [metadata, creationTimestamp]
- name: "deleted"
help: "deletion timestamp"
each:
type: Gauge
gauge:
path: [metadata, deletionTimestamp]
- name: "hostname_info"
help: "Hostname information"
each:
type: Info
info:
path: [spec, hostnames]
labelsFromPath:
hostname: []
- name: "parent_info"
help: "Parent references that the tlsroute wants to be attached to"
each:
type: Info
info:
path: [spec, parentRefs]
labelsFromPath:
parent_group: ["group"]
parent_kind: ["kind"]
parent_name: ["name"]
parent_namespace: ["namespace"]
parent_section_name: ["sectionName"]
parent_port: ["port"]
- name: "status_parent_info"
help: "Parent references that the tlsroute is attached to"
each:
type: Info
info:
path: [status, parents]
labelsFromPath:
controller_name: ["controllerName"]
parent_group: ["parentRef", "group"]
parent_kind: ["parentRef", "kind"]
parent_name: ["parentRef", "name"]
parent_namespace: ["parentRef", "namespace"]
parent_section_name: ["parentRef", "sectionName"]
parent_port: ["parentRef", "port"]
- groupVersionKind:
group: gateway.networking.k8s.io
kind: "UDPRoute"
version: "v1alpha2"
metricNamePrefix: gatewayapi_udproute
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "labels"
help: "Kubernetes labels converted to Prometheus labels."
each:
type: Info
info:
path: [metadata]
labelsFromPath:
"*": [labels]
- name: "created"
help: "created timestamp"
each:
type: Gauge
gauge:
path: [metadata, creationTimestamp]
- name: "deleted"
help: "deletion timestamp"
each:
type: Gauge
gauge:
path: [metadata, deletionTimestamp]
- name: "parent_info"
help: "Parent references that the udproute wants to be attached to"
each:
type: Info
info:
path: [spec, parentRefs]
labelsFromPath:
parent_group: ["group"]
parent_kind: ["kind"]
parent_name: ["name"]
parent_namespace: ["namespace"]
parent_section_name: ["sectionName"]
parent_port: ["port"]
- name: "status_parent_info"
help: "Parent references that the udproute is attached to"
each:
type: Info
info:
path: [status, parents]
labelsFromPath:
controller_name: ["controllerName"]
parent_group: ["parentRef", "group"]
parent_kind: ["parentRef", "kind"]
parent_name: ["parentRef", "name"]
parent_namespace: ["parentRef", "namespace"]
parent_section_name: ["parentRef", "sectionName"]
parent_port: ["parentRef", "port"]
kind: ConfigMap
metadata:
name: custom-resource-state
Expand Down Expand Up @@ -44989,3 +45249,4 @@ spec:
policyTypes:
- Egress
- Ingress