File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
test/metric_value_benchmark/eks_resources Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ {
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " persistent volume schema" ,
5+ "description" : " json schema for persistent volume metrics" ,
6+ "type" : " object" ,
7+ "properties" : {
8+ "CloudWatchMetrics" : {},
9+ "ClusterName" : {},
10+ "Timestamp" : {},
11+ "Type" : {},
12+ "Version" : {},
13+ "kubernetes" : {},
14+ "persistent_volume_count" : {}
15+ },
16+ "required" : [
17+ " ClusterName" ,
18+ " Timestamp" ,
19+ " Type" ,
20+ " Version" ,
21+ " CloudWatchMetrics"
22+ ]
23+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3+ "title" : " persistent volume claim schema" ,
4+ "description" : " json schema for persistent volume claim metrics" ,
5+ "type" : " object" ,
6+ "properties" : {
7+ "CloudWatchMetrics" : {},
8+ "ClusterName" : {},
9+ "Namespace" : {},
10+ "PersistentVolumeClaimName" : {},
11+ "Timestamp" : {},
12+ "Type" : {},
13+ "Version" : {},
14+ "kubernetes" : {},
15+ "persistent_volume_claim_count" : {},
16+ "persistent_volume_claim_status_bound" : {},
17+ "persistent_volume_claim_status_pending" : {},
18+ "persistent_volume_claim_status_lost" : {}
19+ },
20+ "required" : [
21+ " ClusterName" ,
22+ " Namespace" ,
23+ " PersistentVolumeClaimName" ,
24+ " Timestamp" ,
25+ " Type" ,
26+ " Version" ,
27+ " CloudWatchMetrics"
28+ ]
29+ }
Original file line number Diff line number Diff line change 6464 eksNodeEfaSchema string
6565 //go:embed test_schemas/node_ebs.json
6666 eksNodeEBSSchema string
67+ //go:embed test_schemas/persistent_volume.json
68+ eksPersistentVolumeSchema string
69+ //go:embed test_schemas/persistent_volume_claim.json
70+ eksPersistentVolumeClaimSchema string
6771
6872 EksClusterValidationMap = map [string ]string {
6973 "Cluster" : eksClusterSchema ,
9397 "PodEFA" : eksPodEfaSchema ,
9498 "NodeEFA" : eksNodeEfaSchema ,
9599 "NodeEBS" : eksNodeEBSSchema ,
100+ "PersistentVolume" : eksPersistentVolumeSchema ,
101+ "PersistentVolumeClaim" : eksPersistentVolumeClaimSchema ,
96102 }
97103
98104 EksClusterFrequencyValidationMap = map [string ]int {
You can’t perform that action at this time.
0 commit comments