1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix kube rejecting lens-metrics installation (#4391)

Kube does not like 'B' suffix for resource requests values
This commit is contained in:
Jim Ehrismann 2021-11-19 11:27:56 -05:00 committed by GitHub
parent 885af07d0b
commit 7f852c0b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,14 +61,14 @@ export class MetricsSettings extends React.Component<Props> {
persistence: {
enabled: false,
storageClass: null,
size: "20GiB",
size: "20Gi", // kubernetes yaml value (no B suffix)
},
nodeExporter: {
enabled: false,
},
retention: {
time: "2d",
size: "5GiB",
size: "5GiB", // argument for prometheus (requires B suffix)
},
kubeStateMetrics: {
enabled: false,