Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRetentionSize ¶
Set Retention.Size (TSDB limit) to a ratio of the volume storage size. See Prometheus spec: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheusspec See ByteSize format: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#bytesizestring-alias
func PrometheusVolumeSize ¶
PrometheusVolumeSize returns the desired disk size based on the param annotationValue: small, medium Or large
Types ¶
type PrometheusStorageSizeType ¶
type PrometheusStorageSizeType string
const ( PrometheusStorageSizeSmall PrometheusStorageSizeType = "small" PrometheusStorageSizeMedium PrometheusStorageSizeType = "medium" PrometheusStorageSizeLarge PrometheusStorageSizeType = "large" )
Click to show internal directories.
Click to hide internal directories.