lib/IO/K8s/PrometheusOperator/V1/PrometheusSpec.pm

filter: Statementstmt 100% 134 / 134 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 136 / 136 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/PrometheusOperator/V1/PrometheusRuleSpec.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/PrometheusStatus.pm »
1 package IO::K8s::PrometheusOperator::V1::PrometheusSpec;
2 # ABSTRACT: spec defines the specification of the desired behavior of the Prometheus cluster.
3 3 our $VERSION = '1.112';
4 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 k8s additionalAlertManagerConfigs => 'Core::V1::ConfigMapKeySelector';
8 3 k8s additionalAlertRelabelConfigs => 'Core::V1::ConfigMapKeySelector';
9 3 k8s additionalArgs => ['+IO::K8s::PrometheusOperator::V1::Argument'];
10 3 k8s additionalScrapeConfigs => 'Core::V1::ConfigMapKeySelector';
11 3 k8s affinity => 'Core::V1::Affinity';
12 3 k8s alerting => '+IO::K8s::PrometheusOperator::V1::AlertingSpec';
13 3 k8s allowOverlappingBlocks => Bool;
14 3 k8s apiserverConfig => '+IO::K8s::PrometheusOperator::V1::APIServerConfig';
15 3 k8s arbitraryFSAccessThroughSMs => '+IO::K8s::PrometheusOperator::V1::ArbitraryFSAccessThroughSMsConfig';
16 3 k8s automountServiceAccountToken => Bool;
17 3 k8s baseImage => Str;
18 3 k8s bodySizeLimit => Str, { pattern => qr/(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$/ };
19 3 k8s configMaps => [Str];
20 3 k8s containers => ['Core::V1::Container'];
21 3 k8s convertClassicHistogramsToNHCB => Bool;
22 3 k8s disableCompaction => Bool;
23 3 k8s dnsConfig => 'Core::V1::PodDNSConfig';
24 3 k8s dnsPolicy => Str, { enum => [qw(ClusterFirstWithHostNet ClusterFirst Default None)] };
25 3 k8s enableAdminAPI => Bool;
26 3 k8s enableFeatures => [Str];
27 3 k8s enableOTLPReceiver => Bool;
28 3 k8s enableRemoteWriteReceiver => Bool;
29 3 k8s enableServiceLinks => Bool;
30 3 k8s enforcedBodySizeLimit => Str, { pattern => qr/(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$/ };
31 3 k8s enforcedKeepDroppedTargets => Int, { minimum => 0 };
32 3 k8s enforcedLabelLimit => Int, { minimum => 0 };
33 3 k8s enforcedLabelNameLengthLimit => Int, { minimum => 0 };
34 3 k8s enforcedLabelValueLengthLimit => Int, { minimum => 0 };
35 3 k8s enforcedNamespaceLabel => Str;
36 3 k8s enforcedSampleLimit => Int, { minimum => 0 };
37 3 k8s enforcedTargetLimit => Int, { minimum => 0 };
38 3 k8s evaluationInterval => 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 => '30s' };
39 3 k8s excludedFromEnforcement => ['+IO::K8s::PrometheusOperator::V1::ObjectReference'];
40 3 k8s exemplars => '+IO::K8s::PrometheusOperator::V1::Exemplars';
41 3 k8s externalLabels => HashRef[Str];
42 3 k8s externalUrl => Str;
43 3 k8s hostAliases => ['Core::V1::HostAlias'];
44 3 k8s hostNetwork => Bool;
45 3 k8s hostUsers => Bool;
46 3 k8s ignoreNamespaceSelectors => Bool;
47 3 k8s image => Str;
48 3 k8s imagePullPolicy => Str, { enum => ['','Always','Never','IfNotPresent'] };
49 3 k8s imagePullSecrets => ['Core::V1::LocalObjectReference'];
50 3 k8s initContainers => ['Core::V1::Container'];
51 3 k8s keepDroppedTargets => Int, { minimum => 0 };
52 3 k8s labelLimit => Int, { minimum => 0 };
53 3 k8s labelNameLengthLimit => Int, { minimum => 0 };
54 3 k8s labelValueLengthLimit => Int, { minimum => 0 };
55 3 k8s listenLocal => Bool;
56 3 k8s logFormat => Str, { enum => ['','logfmt','json'] };
57 3 k8s logLevel => Str, { enum => ['','debug','info','warn','error'] };
58 3 k8s maximumStartupDurationSeconds => Int, { minimum => 60 };
59 3 k8s minReadySeconds => Int, { minimum => 0 };
60 3 k8s nameEscapingScheme => Str, { enum => [qw(AllowUTF8 Underscores Dots Values)] };
61 3 k8s nameValidationScheme => Str, { enum => [qw(UTF8 Legacy)] };
62 3 k8s nodeSelector => HashRef[Str];
63 3 k8s otlp => '+IO::K8s::PrometheusOperator::V1::OTLPConfig';
64 3 k8s overrideHonorLabels => Bool;
65 3 k8s overrideHonorTimestamps => Bool;
66 3 k8s paused => Bool;
67 3 k8s persistentVolumeClaimRetentionPolicy => 'Apps::V1::StatefulSetPersistentVolumeClaimRetentionPolicy';
68 3 k8s podManagementPolicy => Str, { enum => [qw(OrderedReady Parallel)] };
69 3 k8s podMetadata => '+IO::K8s::PrometheusOperator::V1::EmbeddedObjectMetadata';
70 3 k8s podMonitorNamespaceSelector => 'Meta::V1::LabelSelector';
71 3 k8s podMonitorSelector => 'Meta::V1::LabelSelector';
72 3 k8s podTargetLabels => [Str];
73 3 k8s portName => Str, { default => 'web' };
74 3 k8s priorityClassName => Str;
75 3 k8s probeNamespaceSelector => 'Meta::V1::LabelSelector';
76 3 k8s probeSelector => 'Meta::V1::LabelSelector';
77 3 k8s prometheusExternalLabelName => Str;
78 3 k8s prometheusRulesExcludedFromEnforce => ['+IO::K8s::PrometheusOperator::V1::PrometheusRuleExcludeConfig'];
79 3 k8s query => '+IO::K8s::PrometheusOperator::V1::QuerySpec';
80 3 k8s queryLogFile => Str;
81 3 k8s reloadStrategy => Str, { enum => [qw(HTTP ProcessSignal)] };
82 3 k8s remoteRead => ['+IO::K8s::PrometheusOperator::V1::RemoteReadSpec'];
83 3 k8s remoteWrite => ['+IO::K8s::PrometheusOperator::V1::RemoteWriteSpec'];
84 3 k8s remoteWriteReceiverMessageVersions => [Str], { enum => [qw(V1.0 V2.0)] };
85 3 k8s replicaExternalLabelName => Str;
86 3 k8s replicas => Int;
87 3 k8s resources => 'Core::V1::ResourceRequirements';
88 3 k8s retention => 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)?)$/ };
89 3 k8s retentionSize => Str, { pattern => qr/(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$/ };
90 3 k8s routePrefix => Str;
91 3 k8s ruleNamespaceSelector => 'Meta::V1::LabelSelector';
92 3 k8s ruleQueryOffset => 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)?)$/ };
93 3 k8s ruleSelector => 'Meta::V1::LabelSelector';
94 3 k8s rules => '+IO::K8s::PrometheusOperator::V1::Rules';
95 3 k8s runtime => '+IO::K8s::PrometheusOperator::V1::RuntimeConfig';
96 3 k8s sampleLimit => Int, { minimum => 0 };
97 3 k8s schedulerName => Str;
98 3 k8s scrapeClasses => ['+IO::K8s::PrometheusOperator::V1::ScrapeClass'];
99 3 k8s scrapeClassicHistograms => Bool;
100 3 k8s scrapeConfigNamespaceSelector => 'Meta::V1::LabelSelector';
101 3 k8s scrapeConfigSelector => 'Meta::V1::LabelSelector';
102 3 k8s scrapeFailureLogFile => Str;
103 3 k8s scrapeInterval => 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 => '30s' };
104 3 k8s scrapeNativeHistograms => Bool;
105 3 k8s scrapeProtocols => [Str], { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] };
106 3 k8s scrapeTimeout => 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)?)$/ };
107 3 k8s secrets => [Str];
108 3 k8s securityContext => 'Core::V1::PodSecurityContext';
109 3 k8s serviceAccountName => Str;
110 3 k8s serviceDiscoveryRole => Str, { enum => [qw(Endpoints EndpointSlice)] };
111 3 k8s serviceMonitorNamespaceSelector => 'Meta::V1::LabelSelector';
112 3 k8s serviceMonitorSelector => 'Meta::V1::LabelSelector';
113 3 k8s serviceName => Str;
114 3 k8s sha => Str;
115 3 k8s shardRetentionPolicy => '+IO::K8s::PrometheusOperator::V1::ShardRetentionPolicy';
116 3 k8s shardingStrategy => '+IO::K8s::PrometheusOperator::V1::ShardingStrategy';
117 3 k8s shards => Int, { default => 1 };
118 3 k8s storage => '+IO::K8s::PrometheusOperator::V1::StorageSpec';
119 3 k8s tag => Str;
120 3 k8s targetLimit => Int, { minimum => 0 };
121 3 k8s terminationGracePeriodSeconds => Int, { minimum => 0 };
122 3 k8s thanos => '+IO::K8s::PrometheusOperator::V1::ThanosSpec';
123 3 k8s tolerations => ['Core::V1::Toleration'];
124 3 k8s topologySpreadConstraints => ['+IO::K8s::PrometheusOperator::V1::TopologySpreadConstraint'];
125 3 k8s tracingConfig => '+IO::K8s::PrometheusOperator::V1::TracingConfig';
126 3 k8s tsdb => '+IO::K8s::PrometheusOperator::V1::TSDBSpec';
127 3 k8s updateStrategy => '+IO::K8s::PrometheusOperator::V1::StatefulSetUpdateStrategy';
128 3 k8s version => Str;
129 3 k8s volumeMounts => ['+IO::K8s::PrometheusOperator::V1::VolumeMount'];
130 3 k8s volumes => ['Core::V1::Volume'];
131 3 k8s walCompression => Bool;
132 3 k8s web => '+IO::K8s::PrometheusOperator::V1::PrometheusWebSpec';
133  
134  
135  
136  
137  
138  
139  
140  
141  
142  
143  
144  
145  
146  
147  
148  
149  
150  
151  
152  
153  
154  
155  
156  
157  
158  
159  
160  
161  
162  
163  
164  
165  
166  
167  
168  
169  
170  
171  
172  
173  
174  
175  
176  
177  
178  
179  
180  
181  
182  
183  
184  
185  
186  
187  
188  
189  
190  
191  
192  
193  
194  
195  
196  
197  
198  
199  
200  
201  
202  
203  
204  
205  
206  
207  
208  
209  
210  
211  
212  
213  
214  
215  
216  
217  
218  
219  
220  
221  
222  
223  
224  
225  
226  
227  
228  
229  
230  
231  
232  
233  
234  
235  
236  
237  
238  
239  
240  
241  
242  
243  
244  
245  
246  
247  
248  
249  
250  
251  
252  
253  
254  
255  
256  
257  
258  
259  
260  
261 3 1;
262  
263 __END__
« lib/IO/K8s/PrometheusOperator/V1/PrometheusRuleSpec.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/PrometheusStatus.pm »