VMSingle
operator.victoriametrics.com / v1beta1
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMSingle
metadata:
name: example
apiVersion
string
kind
string
metadata
object
spec object
additionalScrapeConfigs object
key
string required
name
string
optional
boolean
affinity
object
apiServerConfig object
authorization object
credentials object
key
string required
name
string
optional
boolean
credentialsFile
string
type
string
basicAuth object
password object
key
string required
name
string
optional
boolean
password_file
string
username object
key
string required
name
string
optional
boolean
bearerToken
string
bearerTokenFile
string
host
string required
tlsConfig object
ca object
configMap object
key
string required
name
string
optional
boolean
secret object
key
string required
name
string
optional
boolean
caFile
string
cert object
configMap object
key
string required
name
string
optional
boolean
secret object
key
string required
name
string
optional
boolean
certFile
string
insecureSkipVerify
boolean
keyFile
string
keySecret object
key
string required
name
string
optional
boolean
serverName
string
arbitraryFSAccessThroughSMs object
deny
boolean
componentVersion
string
configMaps
[]string
configReloadAuthKeySecret object
key
string required
name
string
optional
boolean
configReloaderExtraArgs
object
configReloaderImage
string
configReloaderImageTag
string
configReloaderResources object
claims []object
name
string required
request
string
limits
object
requests
object
containers
[]object
disableAutomountServiceAccountToken
boolean
disableSelfServiceScrape
boolean
dnsConfig object
nameservers
[]string
options []object
name
string
value
string
searches
[]string
dnsPolicy
string
downsampling object
dedupInterval
string
rules []object
filter
string
periods []object required
interval
string required
offset
string required
enableKubernetesAPISelectors
boolean
enableServiceLinks
boolean
enforcedNamespaceLabel
string
externalLabelName
string
externalLabels
object
extraArgs
object
extraEnvs []object
name
string required
value
string
extraEnvsFrom []object
configMapRef object
name
string
optional
boolean
prefix
string
secretRef object
name
string
optional
boolean
globalScrapeMetricRelabelConfigs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
globalScrapeRelabelConfigs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
hostAliases []object
hostnames
[]string
ip
string required
hostNetwork
boolean
host_aliases []object
hostnames
[]string
ip
string required
ignoreNamespaceSelectors
boolean
image object
pullPolicy
string
repository
string
tag
string
imagePullSecrets []object
name
string
ingestOnlyMode
boolean
initContainers
[]object
inlineRelabelConfig []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
inlineScrapeConfig
string
insertPorts object
graphitePort
string
influxPort
string
openTSDBHTTPPort
string
openTSDBPort
string
license object
forceOffline
boolean
key
string
keyRef object
key
string required
name
string
optional
boolean
reloadInterval
string
livenessProbe
object
logFormat
string
enum:
default, json
logLevel
string
enum:
INFO, WARN, ERROR, FATAL, PANICmanagedMetadata object
annotations
object
labels
object
maxScrapeInterval
string
minReadySeconds
integer
format:
int32
minScrapeInterval
string
nodeScrapeNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
nodeScrapeRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
nodeScrapeSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
nodeSelector
object
overrideHonorLabels
boolean
overrideHonorTimestamps
boolean
paused
boolean
podMetadata object
annotations
object
labels
object
name
string
podScrapeNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
podScrapeRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
podScrapeSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
port
string
preStopSleepSeconds
integer
format:
int32
priorityClassName
string
probeNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
probeScrapeRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
probeSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
readinessGates []object
conditionType
string required
readinessProbe
object
relabelConfig object
key
string required
name
string
optional
boolean
removePvcAfterDelete
boolean
replicaCount
integer
format:
int32resources object
claims []object
name
string required
request
string
limits
object
requests
object
retentionFilters []object
filter
string required
retention
string required
retentionPeriod
string
pattern:
^[0-9]+(h|d|w|y)?$
revisionHistoryLimitCount
integer
format:
int32
runtimeClassName
string
sampleLimit
integer
schedulerName
string
scrapeClasses []object
attachMetadata object
namespace
boolean
node
boolean
authorization object
credentials object
key
string required
name
string
optional
boolean
credentialsFile
string
type
string
basicAuth object
password object
key
string required
name
string
optional
boolean
password_file
string
username object
key
string required
name
string
optional
boolean
bearerTokenFile
string
bearerTokenSecret object
key
string required
name
string
optional
boolean
default
boolean
metricRelabelConfigs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
name
string required
minLength:
1oauth2 object
client_id object required
configMap object
key
string required
name
string
optional
boolean
secret object
key
string required
name
string
optional
boolean
client_secret object
key
string required
name
string
optional
boolean
client_secret_file
string
endpoint_params
object
proxy_url
string
scopes
[]string
tls_config
object
token_url
string required
minLength:
1relabelConfigs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
tlsConfig object
ca object
configMap object
key
string required
name
string
optional
boolean
secret object
key
string required
name
string
optional
boolean
caFile
string
cert object
configMap object
key
string required
name
string
optional
boolean
secret object
key
string required
name
string
optional
boolean
certFile
string
insecureSkipVerify
boolean
keyFile
string
keySecret object
key
string required
name
string
optional
boolean
serverName
string
scrapeConfigNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
scrapeConfigRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
scrapeConfigSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
scrapeInterval
string
pattern:
[0-9]+(ms|s|m|h)
scrapeTimeout
string
pattern:
[0-9]+(ms|s|m|h)
secrets
[]string
securityContext
object
selectAllByDefault
boolean
serviceAccountName
string
serviceScrapeNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
serviceScrapeRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
serviceScrapeSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
serviceScrapeSpec
object
serviceSpec object
metadata object
annotations
object
labels
object
name
string
spec
object required
useAsDefault
boolean
startupProbe
object
staticScrapeNamespaceSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
staticScrapeRelabelTemplate []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
staticScrapeSelector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
storage object
accessModes
[]string
dataSource object
apiGroup
string
kind
string required
name
string required
dataSourceRef object
apiGroup
string
kind
string required
name
string required
namespace
string
resources object
limits
object
requests
object
selector object
matchExpressions []object
key
string required
operator
string required
values
[]string
matchLabels
object
storageClassName
string
volumeAttributesClassName
string
volumeMode
string
volumeName
string
storageDataPath
string
storageMetadata object
annotations
object
labels
object
name
string
streamAggrConfig object
configmap object
key
string required
name
string
optional
boolean
dedupInterval
string
dropInput
boolean
dropInputLabels
[]string
enableWindows
boolean
ignoreFirstIntervals
integer
ignoreFirstSampleInterval
string
ignoreOldSamples
boolean
keepInput
boolean
rules []object
by
[]string
dedup_interval
string
drop_input_labels
[]string
enable_windows
boolean
flush_on_shutdown
boolean
ignoreFirstSampleInterval
string
ignore_first_intervals
integer
ignore_old_samples
boolean
input_relabel_configs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
interval
string required
keep_metric_names
boolean
match
object
no_align_flush_to_interval
boolean
output_relabel_configs []object
action
string
if
object
labels
object
match
string
modulus
integer
format:
int64
regex
object
replacement
string
separator
string
sourceLabels
[]string
source_labels
[]string
targetLabel
string
target_label
string
outputs
[]string required
staleness_interval
string
without
[]string
terminationGracePeriodSeconds
integer
format:
int64tolerations []object
effect
string
key
string
operator
string
tolerationSeconds
integer
format:
int64
value
string
topologySpreadConstraints
[]object
useDefaultResources
boolean
useStrictSecurity
boolean
useVMConfigReloader
boolean
vmAgentExternalLabelName
string
vmBackup object
acceptEULA
boolean
concurrency
integer
format:
int32credentialsSecret object
key
string required
name
string
optional
boolean
customS3Endpoint
string
destination
string
destinationDisableSuffixAdd
boolean
disableDaily
boolean
disableHourly
boolean
disableMonthly
boolean
disableWeekly
boolean
extraArgs
object
extraEnvs []object
name
string required
value
string
valueFrom object
configMapKeyRef object
key
string required
name
string
optional
boolean
fieldRef object
apiVersion
string
fieldPath
string required
fileKeyRef object
key
string required
optional
boolean
path
string required
volumeName
string required
resourceFieldRef object
containerName
string
divisor
string | integer
string pattern:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
resource
string required
secretKeyRef object
key
string required
name
string
optional
boolean
extraEnvsFrom []object
configMapRef object
name
string
optional
boolean
prefix
string
secretRef object
name
string
optional
boolean
image object
pullPolicy
string
repository
string
tag
string
logFormat
string
enum:
default, json
logLevel
string
enum:
INFO, WARN, ERROR, FATAL, PANIC
port
string
resources object
claims []object
name
string required
request
string
limits
object
requests
object
restore object
onStart object
enabled
boolean
snapshotCreateURL
string
snapshotDeleteURL
string
volumeMounts []object
mountPath
string required
mountPropagation
string
name
string required
readOnly
boolean
recursiveReadOnly
string
subPath
string
subPathExpr
string
volumeMounts []object
mountPath
string required
mountPropagation
string
name
string required
readOnly
boolean
recursiveReadOnly
string
subPath
string
subPathExpr
string
volumes
[]object
status object
conditions []object
lastTransitionTime
string required
format:
date-time
lastUpdateTime
string required
format:
date-time
message
string
maxLength:
32768
observedGeneration
integer
format:
int64minimum:
0
reason
string required
minLength:
1maxLength:
1024
status
string required
enum:
True, False, Unknown
type
string required
maxLength:
316
lastAppliedSpec
object
observedGeneration
integer
format:
int64
reason
string
updateStatus
string
No matches. Try .spec.additionalScrapeConfigs for an exact path