This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #598 from Ygnas/gateway-api-state-metrics
Gateway api state metrics
- Loading branch information
Showing
12 changed files
with
222 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
config/prometheus-for-federation/ksm_clusterrole_patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
- op: add | ||
path: /rules/- | ||
value: | ||
apiGroups: | ||
- "apiextensions.k8s.io" | ||
resources: | ||
- customresourcedefinitions | ||
verbs: | ||
- list | ||
- watch | ||
- op: add | ||
path: /rules/- | ||
value: | ||
apiGroups: | ||
- "gateway.networking.k8s.io" | ||
resources: | ||
- gateways | ||
- gatewayclasses | ||
- httproutes | ||
- grpcroutes | ||
- tcproutes | ||
- tlsroutes | ||
- udproutes | ||
verbs: | ||
- list | ||
- watch |
21 changes: 21 additions & 0 deletions
21
config/prometheus-for-federation/ksm_deployment_patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- op: replace | ||
path: /spec/template/spec/containers/0/image | ||
value: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2 | ||
- op: add | ||
path: /spec/template/spec/volumes | ||
value: | ||
- name: custom-resource-state | ||
configMap: | ||
defaultMode: 420 | ||
name: custom-resource-state | ||
- op: add | ||
path: /spec/template/spec/containers/0/volumeMounts | ||
value: | ||
- name: custom-resource-state | ||
mountPath: /custom-resource-state | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: --custom-resource-state-config-file | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: /custom-resource-state/custom-resource-state.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+53.9 KB
(180%)
docs/images/metrics/metrics-federation-grafana-dashboard-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+73.5 KB
(220%)
docs/images/metrics/metrics-federation-grafana-dashboard-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.