« lib/IO/K8s/PrometheusOperator/V1/TSDBSpec.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/TopologyShardingStrategy.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::ThanosSpec; | ||
| 2 | # ABSTRACT: thanos defines the configuration of the optional Thanos sidecar. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s additionalArgs => ['+IO::K8s::PrometheusOperator::V1::Argument']; | |
| 7 | 2 | k8s baseImage => Str; | |
| 8 | 2 | k8s blockSize => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/, default => '2h' }; | |
| 9 | 2 | k8s getConfigInterval => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 10 | 2 | k8s getConfigTimeout => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 11 | 2 | k8s grpcListenLocal => Bool; | |
| 12 | 2 | k8s grpcServerTlsConfig => '+IO::K8s::PrometheusOperator::V1::GRPCServerTLSConfig'; | |
| 13 | 2 | k8s httpListenLocal => Bool; | |
| 14 | 2 | k8s image => Str; | |
| 15 | 2 | k8s listenLocal => Bool; | |
| 16 | 2 | k8s logFormat => Str, { enum => ['','logfmt','json'] }; | |
| 17 | 2 | k8s logLevel => Str, { enum => ['','debug','info','warn','error'] }; | |
| 18 | 2 | k8s minTime => Str; | |
| 19 | 2 | k8s objectStorageConfig => 'Core::V1::ConfigMapKeySelector'; | |
| 20 | 2 | k8s objectStorageConfigFile => Str; | |
| 21 | 2 | k8s readyTimeout => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 22 | 2 | k8s resources => 'Core::V1::ResourceRequirements'; | |
| 23 | 2 | k8s sha => Str; | |
| 24 | 2 | k8s tag => Str; | |
| 25 | 2 | k8s tracingConfig => 'Core::V1::ConfigMapKeySelector'; | |
| 26 | 2 | k8s tracingConfigFile => Str; | |
| 27 | 2 | k8s version => Str; | |
| 28 | 2 | k8s volumeMounts => ['+IO::K8s::PrometheusOperator::V1::VolumeMount']; | |
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | 2 | 1; | |
| 54 | |||
| 55 | __END__ | ||