Skip to content

Commit 735e3bd

Browse files
committed
refactor
Signed-off-by: Coleen Iona Quadros <[email protected]>
1 parent 581483f commit 735e3bd

File tree

10 files changed

+425
-9
lines changed

10 files changed

+425
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
apiVersion: observability.open-cluster-management.io/v1beta2
2+
kind: MultiClusterObservability
3+
metadata:
4+
name: observability
5+
annotations:
6+
mco-imageTagSuffix: 2.14.0-SNAPSHOT-2025-04-16-08-02-45
7+
test-env: kind-test
8+
mco-imageTagSuffix: 2.14.0-SNAPSHOT-2025-04-16-08-02-45
9+
spec:
10+
advanced:
11+
retentionConfig:
12+
blockDuration: 3h
13+
deleteDelay: 50h
14+
retentionInLocal: 5d
15+
retentionResolution1h: 31d
16+
retentionResolution5m: 15d
17+
retentionResolutionRaw: 6d
18+
observatoriumAPI:
19+
resources:
20+
limits:
21+
cpu: 1
22+
memory: 500Mi
23+
replicas: 2
24+
queryFrontend:
25+
resources:
26+
limits:
27+
cpu: 1
28+
memory: 500Mi
29+
replicas: 2
30+
query:
31+
resources:
32+
limits:
33+
cpu: 1
34+
memory: 1Gi
35+
replicas: 2
36+
serviceAccountAnnotations:
37+
test.com/role-arn: 's3_role'
38+
compact:
39+
resources:
40+
limits:
41+
cpu: 1
42+
memory: 1Gi
43+
serviceAccountAnnotations:
44+
test.com/role-arn: 's3_role'
45+
receive:
46+
resources:
47+
limits:
48+
cpu: 1
49+
memory: 1Gi
50+
replicas: 2
51+
serviceAccountAnnotations:
52+
test.com/role-arn: 's3_role'
53+
rule:
54+
resources:
55+
limits:
56+
cpu: 1
57+
memory: 1Gi
58+
replicas: 1
59+
serviceAccountAnnotations:
60+
test.com/role-arn: 's3_role'
61+
store:
62+
resources:
63+
limits:
64+
cpu: 1
65+
memory: 1Gi
66+
replicas: 2
67+
serviceAccountAnnotations:
68+
test.com/role-arn: 's3_role'
69+
storeMemcached:
70+
resources:
71+
limits:
72+
cpu: 1
73+
memory: 1Gi
74+
replicas: 2
75+
memoryLimitMb: 2048
76+
maxItemSize: 2m
77+
connectionLimit: 2048
78+
queryFrontendMemcached:
79+
resources:
80+
limits:
81+
cpu: 1
82+
memory: 1Gi
83+
replicas: 2
84+
memoryLimitMb: 2048
85+
maxItemSize: 2m
86+
connectionLimit: 2048
87+
grafana:
88+
replicas: 2
89+
resources:
90+
limits:
91+
cpu: 1
92+
memory: 1Gi
93+
alertmanager:
94+
replicas: 1
95+
resources:
96+
limits:
97+
cpu: 50m
98+
memory: 200Mi
99+
rbacQueryProxy:
100+
replicas: 3
101+
resources:
102+
limits:
103+
cpu: 50m
104+
memory: 200Mi
105+
nodeSelector:
106+
kubernetes.io/os: linux
107+
observabilityAddonSpec:
108+
scrapeSizeLimitBytes: 1073741824
109+
enableMetrics: true
110+
workers: 1
111+
interval: 30
112+
resources:
113+
limits:
114+
cpu: 200m
115+
memory: 700Mi
116+
requests:
117+
cpu: 10m
118+
memory: 100Mi
119+
storageConfig:
120+
alertmanagerStorageSize: 1Gi
121+
compactStorageSize: 1Gi
122+
metricObjectStorage:
123+
key: thanos.yaml
124+
name: thanos-object-storage
125+
tlsSecretMountPath: /etc/minio/certs
126+
tlsSecretName: minio-tls-secret
127+
receiveStorageSize: 1Gi
128+
ruleStorageSize: 1Gi
129+
storageClass: gp2
130+
storeStorageSize: 1Gi
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
apiVersion: observability.open-cluster-management.io/v1beta2
2+
kind: MultiClusterObservability
3+
metadata:
4+
name: observability
5+
annotations:
6+
mco-imageTagSuffix: 2.14.0-SNAPSHOT-2025-04-16-08-02-45
7+
spec:
8+
advanced:
9+
retentionConfig:
10+
blockDuration: 3h
11+
deleteDelay: 50h
12+
retentionInLocal: 5d
13+
retentionResolution1h: 31d
14+
retentionResolution5m: 15d
15+
retentionResolutionRaw: 6d
16+
observatoriumAPI:
17+
resources:
18+
limits:
19+
cpu: 1
20+
memory: 1Gi
21+
replicas: 3
22+
queryFrontend:
23+
resources:
24+
limits:
25+
cpu: 1
26+
memory: 1Gi
27+
replicas: 3
28+
query:
29+
resources:
30+
limits:
31+
cpu: 1
32+
memory: 1Gi
33+
replicas: 3
34+
serviceAccountAnnotations:
35+
test.com/role-arn: 's3_role'
36+
compact:
37+
resources:
38+
limits:
39+
cpu: 1
40+
memory: 2Gi
41+
serviceAccountAnnotations:
42+
test.com/role-arn: 's3_role'
43+
receive:
44+
resources:
45+
limits:
46+
cpu: 1
47+
memory: 4Gi
48+
replicas: 3
49+
serviceAccountAnnotations:
50+
test.com/role-arn: 's3_role'
51+
rule:
52+
resources:
53+
limits:
54+
cpu: 1
55+
memory: 1Gi
56+
replicas: 1
57+
serviceAccountAnnotations:
58+
test.com/role-arn: 's3_role'
59+
store:
60+
resources:
61+
limits:
62+
cpu: 1
63+
memory: 2Gi
64+
replicas: 3
65+
serviceAccountAnnotations:
66+
test.com/role-arn: 's3_role'
67+
storeMemcached:
68+
resources:
69+
limits:
70+
cpu: 1
71+
memory: 2Gi
72+
replicas: 2
73+
memoryLimitMb: 2048
74+
maxItemSize: 2m
75+
connectionLimit: 2048
76+
queryFrontendMemcached:
77+
resources:
78+
limits:
79+
cpu: 1
80+
memory: 2Gi
81+
replicas: 3
82+
memoryLimitMb: 2048
83+
maxItemSize: 2m
84+
connectionLimit: 2048
85+
grafana:
86+
replicas: 3
87+
resources:
88+
limits:
89+
cpu: 1
90+
memory: 1Gi
91+
alertmanager:
92+
replicas: 2
93+
resources:
94+
limits:
95+
cpu: 100m
96+
memory: 400Mi
97+
rbacQueryProxy:
98+
replicas: 3
99+
resources:
100+
limits:
101+
cpu: 50m
102+
memory: 200Mi
103+
nodeSelector:
104+
kubernetes.io/os: linux
105+
observabilityAddonSpec:
106+
scrapeSizeLimitBytes: 1073741824
107+
enableMetrics: true
108+
workers: 1
109+
interval: 30
110+
resources:
111+
limits:
112+
cpu: 200m
113+
memory: 700Mi
114+
requests:
115+
cpu: 10m
116+
memory: 100Mi
117+
storageConfig:
118+
alertmanagerStorageSize: 1Gi
119+
compactStorageSize: 1Gi
120+
metricObjectStorage:
121+
key: thanos.yaml
122+
name: thanos-object-storage
123+
tlsSecretMountPath: /etc/minio/certs
124+
tlsSecretName: minio-tls-secret
125+
receiveStorageSize: 1Gi
126+
ruleStorageSize: 1Gi
127+
storageClass: gp2
128+
storeStorageSize: 1Gi
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
apiVersion: observability.open-cluster-management.io/v1beta2
2+
kind: MultiClusterObservability
3+
metadata:
4+
name: observability
5+
annotations:
6+
mco-thanos-without-resources-requests: true
7+
mco-imageTagSuffix: 2.14.0-SNAPSHOT-2025-04-16-08-02-45
8+
test-env: kind-test
9+
mco-thanos-without-resources-requests: true
10+
mco-imageTagSuffix: 2.14.0-SNAPSHOT-2025-04-16-08-02-45
11+
spec:
12+
advanced:
13+
retentionConfig:
14+
blockDuration: 3h
15+
deleteDelay: 50h
16+
retentionInLocal: 5d
17+
retentionResolution1h: 31d
18+
retentionResolution5m: 15d
19+
retentionResolutionRaw: 6d
20+
observatoriumAPI:
21+
resources:
22+
limits:
23+
cpu: 1
24+
memory: 1Gi
25+
replicas: 3
26+
queryFrontend:
27+
resources:
28+
limits:
29+
cpu: 1
30+
memory: 1Gi
31+
replicas: 3
32+
query:
33+
resources:
34+
limits:
35+
cpu: 1
36+
memory: 1Gi
37+
replicas: 3
38+
serviceAccountAnnotations:
39+
test.com/role-arn: 's3_role'
40+
compact:
41+
resources:
42+
limits:
43+
cpu: 1
44+
memory: 2Gi
45+
serviceAccountAnnotations:
46+
test.com/role-arn: 's3_role'
47+
receive:
48+
resources:
49+
limits:
50+
cpu: 1
51+
memory: 4Gi
52+
replicas: 3
53+
serviceAccountAnnotations:
54+
test.com/role-arn: 's3_role'
55+
rule:
56+
resources:
57+
limits:
58+
cpu: 1
59+
memory: 1Gi
60+
replicas: 1
61+
serviceAccountAnnotations:
62+
test.com/role-arn: 's3_role'
63+
store:
64+
resources:
65+
limits:
66+
cpu: 1
67+
memory: 2Gi
68+
replicas: 3
69+
serviceAccountAnnotations:
70+
test.com/role-arn: 's3_role'
71+
storeMemcached:
72+
resources:
73+
limits:
74+
cpu: 1
75+
memory: 2Gi
76+
replicas: 2
77+
memoryLimitMb: 2048
78+
maxItemSize: 2m
79+
connectionLimit: 2048
80+
queryFrontendMemcached:
81+
resources:
82+
limits:
83+
cpu: 1
84+
memory: 2Gi
85+
replicas: 3
86+
memoryLimitMb: 2048
87+
maxItemSize: 2m
88+
connectionLimit: 2048
89+
grafana:
90+
replicas: 3
91+
resources:
92+
limits:
93+
cpu: 1
94+
memory: 1Gi
95+
alertmanager:
96+
replicas: 2
97+
resources:
98+
limits:
99+
cpu: 100m
100+
memory: 400Mi
101+
rbacQueryProxy:
102+
replicas: 3
103+
resources:
104+
limits:
105+
cpu: 50m
106+
memory: 200Mi
107+
nodeSelector:
108+
kubernetes.io/os: linux
109+
observabilityAddonSpec:
110+
scrapeSizeLimitBytes: 1073741824
111+
workers: 1
112+
enableMetrics: true
113+
interval: 30
114+
resources:
115+
limits:
116+
cpu: 200m
117+
memory: 700Mi
118+
requests:
119+
cpu: 10m
120+
memory: 100Mi
121+
storageConfig:
122+
alertmanagerStorageSize: 1Gi
123+
compactStorageSize: 1Gi
124+
metricObjectStorage:
125+
key: thanos.yaml
126+
name: thanos-object-storage
127+
receiveStorageSize: 1Gi
128+
ruleStorageSize: 1Gi
129+
storageClass: gp2
130+
storeStorageSize: 1Gi

0 commit comments

Comments
 (0)