Skip to content

operator.v1beta1.vmSingle

"VMSingle is fast, cost-effective and scalable time-series database."

Index

Fields

fn new

new(name)

new returns an instance of VMSingle

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"VMSingleSpec defines the desired state of VMSingle"

fn spec.withAffinity

withAffinity(affinity)

"Affinity If specified, the pod's scheduling constraints."

fn spec.withAffinityMixin

withAffinityMixin(affinity)

"Affinity If specified, the pod's scheduling constraints."

Note: This function appends passed data to existing values

fn spec.withConfigMaps

withConfigMaps(configMaps)

"ConfigMaps is a list of ConfigMaps in the same namespace as the Application\nobject, which shall be mounted into the Application container\nat /etc/vm/configs/CONFIGMAP_NAME folder"

fn spec.withConfigMapsMixin

withConfigMapsMixin(configMaps)

"ConfigMaps is a list of ConfigMaps in the same namespace as the Application\nobject, which shall be mounted into the Application container\nat /etc/vm/configs/CONFIGMAP_NAME folder"

Note: This function appends passed data to existing values

fn spec.withContainers

withContainers(containers)

"Containers property allows to inject additions sidecars or to patch existing containers.\nIt can be useful for proxies, backup, etc."

fn spec.withContainersMixin

withContainersMixin(containers)

"Containers property allows to inject additions sidecars or to patch existing containers.\nIt can be useful for proxies, backup, etc."

Note: This function appends passed data to existing values

fn spec.withDisableSelfServiceScrape

withDisableSelfServiceScrape(disableSelfServiceScrape)

"DisableSelfServiceScrape controls creation of VMServiceScrape by operator\nfor the application.\nHas priority over VM_DISABLESELFSERVICESCRAPECREATION operator env variable"

fn spec.withDnsPolicy

withDnsPolicy(dnsPolicy)

"DNSPolicy sets DNS policy for the pod"

fn spec.withExtraArgs

withExtraArgs(extraArgs)

"ExtraArgs that will be passed to the application container\nfor example remoteWrite.tmpDataPath: /tmp"

fn spec.withExtraArgsMixin

withExtraArgsMixin(extraArgs)

"ExtraArgs that will be passed to the application container\nfor example remoteWrite.tmpDataPath: /tmp"

Note: This function appends passed data to existing values

fn spec.withExtraEnvs

withExtraEnvs(extraEnvs)

"ExtraEnvs that will be passed to the application container"

fn spec.withExtraEnvsMixin

withExtraEnvsMixin(extraEnvs)

"ExtraEnvs that will be passed to the application container"

Note: This function appends passed data to existing values

fn spec.withHostAliases

withHostAliases(hostAliases)

"HostAliases provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork."

fn spec.withHostAliasesMixin

withHostAliasesMixin(hostAliases)

"HostAliases provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork."

Note: This function appends passed data to existing values

fn spec.withHostNetwork

withHostNetwork(hostNetwork)

"HostNetwork controls whether the pod may use the node network namespace"

fn spec.withHost_aliases

withHost_aliases(host_aliases)

"HostAliasesUnderScore provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork.\nHas Priority over hostAliases field"

fn spec.withHost_aliasesMixin

withHost_aliasesMixin(host_aliases)

"HostAliasesUnderScore provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork.\nHas Priority over hostAliases field"

Note: This function appends passed data to existing values

fn spec.withImagePullSecrets

withImagePullSecrets(imagePullSecrets)

"ImagePullSecrets An optional list of references to secrets in the same namespace\nto use for pulling images from registries\nsee https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod"

fn spec.withImagePullSecretsMixin

withImagePullSecretsMixin(imagePullSecrets)

"ImagePullSecrets An optional list of references to secrets in the same namespace\nto use for pulling images from registries\nsee https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod"

Note: This function appends passed data to existing values

fn spec.withInitContainers

withInitContainers(initContainers)

"InitContainers allows adding initContainers to the pod definition.\nAny errors during the execution of an initContainer will lead to a restart of the Pod.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"

fn spec.withInitContainersMixin

withInitContainersMixin(initContainers)

"InitContainers allows adding initContainers to the pod definition.\nAny errors during the execution of an initContainer will lead to a restart of the Pod.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"

Note: This function appends passed data to existing values

fn spec.withLivenessProbe

withLivenessProbe(livenessProbe)

"LivenessProbe that will be added CRD pod"

fn spec.withLivenessProbeMixin

withLivenessProbeMixin(livenessProbe)

"LivenessProbe that will be added CRD pod"

Note: This function appends passed data to existing values

fn spec.withLogFormat

withLogFormat(logFormat)

"LogFormat for VMSingle to be configured with."

fn spec.withLogLevel

withLogLevel(logLevel)

"LogLevel for victoria metrics single to be configured with."

fn spec.withMinReadySeconds

withMinReadySeconds(minReadySeconds)

"MinReadySeconds defines a minim number os seconds to wait before starting update next pod\nif previous in healthy state\nHas no effect for VLogs and VMSingle"

fn spec.withNodeSelector

withNodeSelector(nodeSelector)

"NodeSelector Define which Nodes the Pods are scheduled on."

fn spec.withNodeSelectorMixin

withNodeSelectorMixin(nodeSelector)

"NodeSelector Define which Nodes the Pods are scheduled on."

Note: This function appends passed data to existing values

fn spec.withPaused

withPaused(paused)

"Paused If set to true all actions on the underlying managed objects are not\ngoing to be performed, except for delete actions."

fn spec.withPort

withPort(port)

"Port listen address"

fn spec.withPriorityClassName

withPriorityClassName(priorityClassName)

"PriorityClassName class assigned to the Pods"

fn spec.withReadinessGates

withReadinessGates(readinessGates)

"ReadinessGates defines pod readiness gates"

fn spec.withReadinessGatesMixin

withReadinessGatesMixin(readinessGates)

"ReadinessGates defines pod readiness gates"

Note: This function appends passed data to existing values

fn spec.withReadinessProbe

withReadinessProbe(readinessProbe)

"ReadinessProbe that will be added CRD pod"

fn spec.withReadinessProbeMixin

withReadinessProbeMixin(readinessProbe)

"ReadinessProbe that will be added CRD pod"

Note: This function appends passed data to existing values

fn spec.withRemovePvcAfterDelete

withRemovePvcAfterDelete(removePvcAfterDelete)

"RemovePvcAfterDelete - if true, controller adds ownership to pvc\nand after VMSingle object deletion - pvc will be garbage collected\nby controller manager"

fn spec.withReplicaCount

withReplicaCount(replicaCount)

"ReplicaCount is the expected size of the Application."

fn spec.withRetentionPeriod

withRetentionPeriod(retentionPeriod)

"RetentionPeriod for the stored metrics\nNote VictoriaMetrics has data/ and indexdb/ folders\nmetrics from data/ removed eventually as soon as partition leaves retention period\nreverse index data at indexdb rotates once at the half of configured retention period"

fn spec.withRevisionHistoryLimitCount

withRevisionHistoryLimitCount(revisionHistoryLimitCount)

"The number of old ReplicaSets to retain to allow rollback in deployment or\nmaximum number of revisions that will be maintained in the Deployment revision history.\nHas no effect at StatefulSets\nDefaults to 10."

fn spec.withRuntimeClassName

withRuntimeClassName(runtimeClassName)

"RuntimeClassName - defines runtime class for kubernetes pod.\nhttps://kubernetes.io/docs/concepts/containers/runtime-class/"

fn spec.withSchedulerName

withSchedulerName(schedulerName)

"SchedulerName - defines kubernetes scheduler name"

fn spec.withSecrets

withSecrets(secrets)

"Secrets is a list of Secrets in the same namespace as the Application\nobject, which shall be mounted into the Application container\nat /etc/vm/secrets/SECRET_NAME folder"

fn spec.withSecretsMixin

withSecretsMixin(secrets)

"Secrets is a list of Secrets in the same namespace as the Application\nobject, which shall be mounted into the Application container\nat /etc/vm/secrets/SECRET_NAME folder"

Note: This function appends passed data to existing values

fn spec.withSecurityContext

withSecurityContext(securityContext)

"SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext."

fn spec.withSecurityContextMixin

withSecurityContextMixin(securityContext)

"SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext."

Note: This function appends passed data to existing values

fn spec.withServiceAccountName

withServiceAccountName(serviceAccountName)

"ServiceAccountName is the name of the ServiceAccount to use to run the pods"

fn spec.withServiceScrapeSpec

withServiceScrapeSpec(serviceScrapeSpec)

"ServiceScrapeSpec that will be added to vmsingle VMServiceScrape spec"

fn spec.withServiceScrapeSpecMixin

withServiceScrapeSpecMixin(serviceScrapeSpec)

"ServiceScrapeSpec that will be added to vmsingle VMServiceScrape spec"

Note: This function appends passed data to existing values

fn spec.withStartupProbe

withStartupProbe(startupProbe)

"StartupProbe that will be added to CRD pod"

fn spec.withStartupProbeMixin

withStartupProbeMixin(startupProbe)

"StartupProbe that will be added to CRD pod"

Note: This function appends passed data to existing values

fn spec.withStorageDataPath

withStorageDataPath(storageDataPath)

"StorageDataPath disables spec.storage option and overrides arg for victoria-metrics binary --storageDataPath,\nits users responsibility to mount proper device into given path."

fn spec.withTerminationGracePeriodSeconds

withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)

"TerminationGracePeriodSeconds period for container graceful termination"

fn spec.withTolerations

withTolerations(tolerations)

"Tolerations If specified, the pod's tolerations."

fn spec.withTolerationsMixin

withTolerationsMixin(tolerations)

"Tolerations If specified, the pod's tolerations."

Note: This function appends passed data to existing values

fn spec.withTopologySpreadConstraints

withTopologySpreadConstraints(topologySpreadConstraints)

"TopologySpreadConstraints embedded kubernetes pod configuration option,\ncontrols how pods are spread across your cluster among failure-domains\nsuch as regions, zones, nodes, and other user-defined topology domains\nhttps://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/"

fn spec.withTopologySpreadConstraintsMixin

withTopologySpreadConstraintsMixin(topologySpreadConstraints)

"TopologySpreadConstraints embedded kubernetes pod configuration option,\ncontrols how pods are spread across your cluster among failure-domains\nsuch as regions, zones, nodes, and other user-defined topology domains\nhttps://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/"

Note: This function appends passed data to existing values

fn spec.withUseDefaultResources

withUseDefaultResources(useDefaultResources)

"UseDefaultResources controls resource settings\nBy default, operator sets built-in resource requirements"

fn spec.withUseStrictSecurity

withUseStrictSecurity(useStrictSecurity)

"UseStrictSecurity enables strict security mode for component\nit restricts disk writes access\nuses non-root user out of the box\ndrops not needed security permissions"

fn spec.withVolumeMounts

withVolumeMounts(volumeMounts)

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment/StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the Application container"

fn spec.withVolumeMountsMixin

withVolumeMountsMixin(volumeMounts)

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment/StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the Application container"

Note: This function appends passed data to existing values

fn spec.withVolumes

withVolumes(volumes)

"Volumes allows configuration of additional volumes on the output Deployment/StatefulSet definition.\nVolumes specified will be appended to other volumes that are generated.\n/ +optional"

fn spec.withVolumesMixin

withVolumesMixin(volumes)

"Volumes allows configuration of additional volumes on the output Deployment/StatefulSet definition.\nVolumes specified will be appended to other volumes that are generated.\n/ +optional"

Note: This function appends passed data to existing values

obj spec.dnsConfig

"Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy."

fn spec.dnsConfig.withNameservers

withNameservers(nameservers)

"A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed."

fn spec.dnsConfig.withNameserversMixin

withNameserversMixin(nameservers)

"A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed."

Note: This function appends passed data to existing values

fn spec.dnsConfig.withOptions

withOptions(options)

"A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy."

fn spec.dnsConfig.withOptionsMixin

withOptionsMixin(options)

"A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy."

Note: This function appends passed data to existing values

fn spec.dnsConfig.withSearches

withSearches(searches)

"A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed."

fn spec.dnsConfig.withSearchesMixin

withSearchesMixin(searches)

"A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed."

Note: This function appends passed data to existing values

obj spec.dnsConfig.options

"A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy."

fn spec.dnsConfig.options.withName

withName(name)

"Required."

fn spec.dnsConfig.options.withValue

withValue(value)

obj spec.extraEnvs

"ExtraEnvs that will be passed to the application container"

fn spec.extraEnvs.withName

withName(name)

"Name of the environment variable. Must be a C_IDENTIFIER."

fn spec.extraEnvs.withValue

withValue(value)

"Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."

obj spec.hostAliases

"HostAliases provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork."

fn spec.hostAliases.withHostnames

withHostnames(hostnames)

"Hostnames for the above IP address."

fn spec.hostAliases.withHostnamesMixin

withHostnamesMixin(hostnames)

"Hostnames for the above IP address."

Note: This function appends passed data to existing values

fn spec.hostAliases.withIp

withIp(ip)

"IP address of the host file entry."

obj spec.host_aliases

"HostAliasesUnderScore provides mapping for ip and hostname,\nthat would be propagated to pod,\ncannot be used with HostNetwork.\nHas Priority over hostAliases field"

fn spec.host_aliases.withHostnames

withHostnames(hostnames)

"Hostnames for the above IP address."

fn spec.host_aliases.withHostnamesMixin

withHostnamesMixin(hostnames)

"Hostnames for the above IP address."

Note: This function appends passed data to existing values

fn spec.host_aliases.withIp

withIp(ip)

"IP address of the host file entry."

obj spec.image

"Image - docker image settings\nif no specified operator uses default version from operator config"

fn spec.image.withPullPolicy

withPullPolicy(pullPolicy)

"PullPolicy describes how to pull docker image"

fn spec.image.withRepository

withRepository(repository)

"Repository contains name of docker image + it's repository if needed"

fn spec.image.withTag

withTag(tag)

"Tag contains desired docker image version"

obj spec.imagePullSecrets

"ImagePullSecrets An optional list of references to secrets in the same namespace\nto use for pulling images from registries\nsee https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod"

fn spec.imagePullSecrets.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

obj spec.insertPorts

"InsertPorts - additional listen ports for data ingestion."

fn spec.insertPorts.withGraphitePort

withGraphitePort(graphitePort)

"GraphitePort listen port"

fn spec.insertPorts.withInfluxPort

withInfluxPort(influxPort)

"InfluxPort listen port"

fn spec.insertPorts.withOpenTSDBHTTPPort

withOpenTSDBHTTPPort(openTSDBHTTPPort)

"OpenTSDBHTTPPort for http connections."

fn spec.insertPorts.withOpenTSDBPort

withOpenTSDBPort(openTSDBPort)

"OpenTSDBPort for tcp and udp listen"

obj spec.license

"License allows to configure license key to be used for enterprise features.\nUsing license key is supported starting from VictoriaMetrics v1.94.0.\nSee here"

fn spec.license.withKey

withKey(key)

"Enterprise license key. This flag is available only in VictoriaMetrics enterprise.\nTo request a trial license, go to"

obj spec.license.keyRef

"KeyRef is reference to secret with license key for enterprise features."

fn spec.license.keyRef.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.license.keyRef.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.license.keyRef.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.podMetadata

"PodMetadata configures Labels and Annotations which are propagated to the VMSingle pods."

fn spec.podMetadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

fn spec.podMetadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

Note: This function appends passed data to existing values

fn spec.podMetadata.withLabels

withLabels(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

fn spec.podMetadata.withLabelsMixin

withLabelsMixin(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

Note: This function appends passed data to existing values

fn spec.podMetadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names"

obj spec.readinessGates

"ReadinessGates defines pod readiness gates"

fn spec.readinessGates.withConditionType

withConditionType(conditionType)

"ConditionType refers to a condition in the pod's condition list with matching type."

obj spec.resources

"Resources container resource request and limits, https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\nif not defined default resources from operator config will be used"

fn spec.resources.withClaims

withClaims(claims)

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

fn spec.resources.withClaimsMixin

withClaimsMixin(claims)

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

Note: This function appends passed data to existing values

fn spec.resources.withLimits

withLimits(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.resources.withLimitsMixin

withLimitsMixin(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

fn spec.resources.withRequests

withRequests(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.resources.withRequestsMixin

withRequestsMixin(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

obj spec.resources.claims

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

fn spec.resources.claims.withName

withName(name)

"Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."

obj spec.serviceSpec

"ServiceSpec that will be added to vmsingle service spec"

fn spec.serviceSpec.withSpec

withSpec(spec)

"ServiceSpec describes the attributes that a user creates on a service.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/"

fn spec.serviceSpec.withSpecMixin

withSpecMixin(spec)

"ServiceSpec describes the attributes that a user creates on a service.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/"

Note: This function appends passed data to existing values

fn spec.serviceSpec.withUseAsDefault

withUseAsDefault(useAsDefault)

"UseAsDefault applies changes from given service definition to the main object Service\nChanging from headless service to clusterIP or loadbalancer may break cross-component communication"

obj spec.serviceSpec.metadata

"EmbeddedObjectMetadata defines objectMeta for additional service."

fn spec.serviceSpec.metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

fn spec.serviceSpec.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

Note: This function appends passed data to existing values

fn spec.serviceSpec.metadata.withLabels

withLabels(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

fn spec.serviceSpec.metadata.withLabelsMixin

withLabelsMixin(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

Note: This function appends passed data to existing values

fn spec.serviceSpec.metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names"

obj spec.storage

"Storage is the definition of how storage will be used by the VMSingle\nby default it`s empty dir"

fn spec.storage.withAccessModes

withAccessModes(accessModes)

"accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"

fn spec.storage.withAccessModesMixin

withAccessModesMixin(accessModes)

"accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"

Note: This function appends passed data to existing values

fn spec.storage.withStorageClassName

withStorageClassName(storageClassName)

"storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"

fn spec.storage.withVolumeAttributesClassName

withVolumeAttributesClassName(volumeAttributesClassName)

"volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled."

fn spec.storage.withVolumeMode

withVolumeMode(volumeMode)

"volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec."

fn spec.storage.withVolumeName

withVolumeName(volumeName)

"volumeName is the binding reference to the PersistentVolume backing this claim."

obj spec.storage.dataSource

"dataSource field can be used to specify either:\n An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource."

fn spec.storage.dataSource.withApiGroup

withApiGroup(apiGroup)

"APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required."

fn spec.storage.dataSource.withKind

withKind(kind)

"Kind is the type of resource being referenced"

fn spec.storage.dataSource.withName

withName(name)

"Name is the name of resource being referenced"

obj spec.storage.dataSourceRef

"dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled."

fn spec.storage.dataSourceRef.withApiGroup

withApiGroup(apiGroup)

"APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required."

fn spec.storage.dataSourceRef.withKind

withKind(kind)

"Kind is the type of resource being referenced"

fn spec.storage.dataSourceRef.withName

withName(name)

"Name is the name of resource being referenced"

fn spec.storage.dataSourceRef.withNamespace

withNamespace(namespace)

"Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled."

obj spec.storage.resources

"resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"

fn spec.storage.resources.withLimits

withLimits(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.storage.resources.withLimitsMixin

withLimitsMixin(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

fn spec.storage.resources.withRequests

withRequests(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.storage.resources.withRequestsMixin

withRequestsMixin(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

obj spec.storage.selector

"selector is a label query over volumes to consider for binding."

fn spec.storage.selector.withMatchExpressions

withMatchExpressions(matchExpressions)

"matchExpressions is a list of label selector requirements. The requirements are ANDed."

fn spec.storage.selector.withMatchExpressionsMixin

withMatchExpressionsMixin(matchExpressions)

"matchExpressions is a list of label selector requirements. The requirements are ANDed."

Note: This function appends passed data to existing values

fn spec.storage.selector.withMatchLabels

withMatchLabels(matchLabels)

"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed."

fn spec.storage.selector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed."

Note: This function appends passed data to existing values

obj spec.storage.selector.matchExpressions

"matchExpressions is a list of label selector requirements. The requirements are ANDed."

fn spec.storage.selector.matchExpressions.withKey

withKey(key)

"key is the label key that the selector applies to."

fn spec.storage.selector.matchExpressions.withOperator

withOperator(operator)

"operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."

fn spec.storage.selector.matchExpressions.withValues

withValues(values)

"values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch."

fn spec.storage.selector.matchExpressions.withValuesMixin

withValuesMixin(values)

"values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch."

Note: This function appends passed data to existing values

obj spec.storageMetadata

"StorageMeta defines annotations and labels attached to PVC for given vmsingle CR"

fn spec.storageMetadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

fn spec.storageMetadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations"

Note: This function appends passed data to existing values

fn spec.storageMetadata.withLabels

withLabels(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

fn spec.storageMetadata.withLabelsMixin

withLabelsMixin(labels)

"Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels"

Note: This function appends passed data to existing values

fn spec.storageMetadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names"

obj spec.streamAggrConfig

"StreamAggrConfig defines stream aggregation configuration for VMSingle"

fn spec.streamAggrConfig.withDedupInterval

withDedupInterval(dedupInterval)

"Allows setting different de-duplication intervals per each configured remote storage"

fn spec.streamAggrConfig.withDropInput

withDropInput(dropInput)

"Allow drop all the input samples after the aggregation"

fn spec.streamAggrConfig.withDropInputLabels

withDropInputLabels(dropInputLabels)

"labels to drop from samples for aggregator before stream de-duplication and aggregation"

fn spec.streamAggrConfig.withDropInputLabelsMixin

withDropInputLabelsMixin(dropInputLabels)

"labels to drop from samples for aggregator before stream de-duplication and aggregation"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.withIgnoreFirstIntervals

withIgnoreFirstIntervals(ignoreFirstIntervals)

"IgnoreFirstIntervals instructs to ignore first interval"

fn spec.streamAggrConfig.withIgnoreOldSamples

withIgnoreOldSamples(ignoreOldSamples)

"IgnoreOldSamples instructs to ignore samples with old timestamps outside the current aggregation interval."

fn spec.streamAggrConfig.withKeepInput

withKeepInput(keepInput)

"Allows writing both raw and aggregate data"

fn spec.streamAggrConfig.withRules

withRules(rules)

"Stream aggregation rules"

fn spec.streamAggrConfig.withRulesMixin

withRulesMixin(rules)

"Stream aggregation rules"

Note: This function appends passed data to existing values

obj spec.streamAggrConfig.configmap

"ConfigMap with stream aggregation rules"

fn spec.streamAggrConfig.configmap.withKey

withKey(key)

"The key to select."

fn spec.streamAggrConfig.configmap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.streamAggrConfig.configmap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.streamAggrConfig.rules

"Stream aggregation rules"

fn spec.streamAggrConfig.rules.withBy

withBy(by)

"By is an optional list of labels for grouping input series.\n\n\nSee also Without.\n\n\nIf neither By nor Without are set, then the Outputs are calculated\nindividually per each input time series."

fn spec.streamAggrConfig.rules.withByMixin

withByMixin(by)

"By is an optional list of labels for grouping input series.\n\n\nSee also Without.\n\n\nIf neither By nor Without are set, then the Outputs are calculated\nindividually per each input time series."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.withDedup_interval

withDedup_interval(dedup_interval)

"DedupInterval is an optional interval for deduplication."

fn spec.streamAggrConfig.rules.withDrop_input_labels

withDrop_input_labels(drop_input_labels)

"DropInputLabels is an optional list with labels, which must be dropped before further processing of input samples.\n\n\nLabels are dropped before de-duplication and aggregation."

fn spec.streamAggrConfig.rules.withDrop_input_labelsMixin

withDrop_input_labelsMixin(drop_input_labels)

"DropInputLabels is an optional list with labels, which must be dropped before further processing of input samples.\n\n\nLabels are dropped before de-duplication and aggregation."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.withFlush_on_shutdown

withFlush_on_shutdown(flush_on_shutdown)

"FlushOnShutdown defines whether to flush the aggregation state on process termination\nor config reload. Is false by default.\nIt is not recommended changing this setting, unless unfinished aggregations states\nare preferred to missing data points."

fn spec.streamAggrConfig.rules.withIgnore_first_intervals

withIgnore_first_intervals(ignore_first_intervals)

fn spec.streamAggrConfig.rules.withIgnore_old_samples

withIgnore_old_samples(ignore_old_samples)

"IgnoreOldSamples instructs to ignore samples with old timestamps outside the current aggregation interval."

fn spec.streamAggrConfig.rules.withInput_relabel_configs

withInput_relabel_configs(input_relabel_configs)

"InputRelabelConfigs is an optional relabeling rules, which are applied on the input\nbefore aggregation."

fn spec.streamAggrConfig.rules.withInput_relabel_configsMixin

withInput_relabel_configsMixin(input_relabel_configs)

"InputRelabelConfigs is an optional relabeling rules, which are applied on the input\nbefore aggregation."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.withInterval

withInterval(interval)

"Interval is the interval between aggregations."

fn spec.streamAggrConfig.rules.withKeep_metric_names

withKeep_metric_names(keep_metric_names)

"KeepMetricNames instructs to leave metric names as is for the output time series without adding any suffix."

fn spec.streamAggrConfig.rules.withMatch

withMatch(match)

"Match is a label selector (or list of label selectors) for filtering time series for the given selector.\n\n\nIf the match isn't set, then all the input time series are processed."

fn spec.streamAggrConfig.rules.withNo_align_flush_to_interval

withNo_align_flush_to_interval(no_align_flush_to_interval)

"NoAlignFlushToInterval disables aligning of flushes to multiples of Interval.\nBy default flushes are aligned to Interval."

fn spec.streamAggrConfig.rules.withOutput_relabel_configs

withOutput_relabel_configs(output_relabel_configs)

"OutputRelabelConfigs is an optional relabeling rules, which are applied\non the aggregated output before being sent to remote storage."

fn spec.streamAggrConfig.rules.withOutput_relabel_configsMixin

withOutput_relabel_configsMixin(output_relabel_configs)

"OutputRelabelConfigs is an optional relabeling rules, which are applied\non the aggregated output before being sent to remote storage."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.withOutputs

withOutputs(outputs)

"Outputs is a list of output aggregate functions to produce.\n\n\nThe following names are allowed:\n\n\n- total - aggregates input counters\n- increase - counts the increase over input counters\n- count_series - counts the input series\n- count_samples - counts the input samples\n- sum_samples - sums the input samples\n- last - the last biggest sample value\n- min - the minimum sample value\n- max - the maximum sample value\n- avg - the average value across all the samples\n- stddev - standard deviation across all the samples\n- stdvar - standard variance across all the samples\n- histogram_bucket - creates VictoriaMetrics histogram for input samples\n- quantiles(phi1, ..., phiN) - quantiles' estimation for phi in the range [0..1]\n\n\nThe output time series will have the following names:\n\n\n input_name:aggr__"

fn spec.streamAggrConfig.rules.withOutputsMixin

withOutputsMixin(outputs)

"Outputs is a list of output aggregate functions to produce.\n\n\nThe following names are allowed:\n\n\n- total - aggregates input counters\n- increase - counts the increase over input counters\n- count_series - counts the input series\n- count_samples - counts the input samples\n- sum_samples - sums the input samples\n- last - the last biggest sample value\n- min - the minimum sample value\n- max - the maximum sample value\n- avg - the average value across all the samples\n- stddev - standard deviation across all the samples\n- stdvar - standard variance across all the samples\n- histogram_bucket - creates VictoriaMetrics histogram for input samples\n- quantiles(phi1, ..., phiN) - quantiles' estimation for phi in the range [0..1]\n\n\nThe output time series will have the following names:\n\n\n input_name:aggr__"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.withStaleness_interval

withStaleness_interval(staleness_interval)

"Staleness interval is interval after which the series state will be reset if no samples have been sent during it.\nThe parameter is only relevant for outputs: total, total_prometheus, increase, increase_prometheus and histogram_bucket."

fn spec.streamAggrConfig.rules.withWithout

withWithout(without)

"Without is an optional list of labels, which must be excluded when grouping input series.\n\n\nSee also By.\n\n\nIf neither By nor Without are set, then the Outputs are calculated\nindividually per each input time series."

fn spec.streamAggrConfig.rules.withWithoutMixin

withWithoutMixin(without)

"Without is an optional list of labels, which must be excluded when grouping input series.\n\n\nSee also By.\n\n\nIf neither By nor Without are set, then the Outputs are calculated\nindividually per each input time series."

Note: This function appends passed data to existing values

obj spec.streamAggrConfig.rules.input_relabel_configs

"InputRelabelConfigs is an optional relabeling rules, which are applied on the input\nbefore aggregation."

fn spec.streamAggrConfig.rules.input_relabel_configs.withAction

withAction(action)

"Action to perform based on regex matching. Default is 'replace'"

fn spec.streamAggrConfig.rules.input_relabel_configs.withIf

withIf(If)

"If represents metricsQL match expression (or list of expressions): '{name=~\"foo_.*\"}'"

fn spec.streamAggrConfig.rules.input_relabel_configs.withLabels

withLabels(labels)

"Labels is used together with Match for action: graphite"

fn spec.streamAggrConfig.rules.input_relabel_configs.withLabelsMixin

withLabelsMixin(labels)

"Labels is used together with Match for action: graphite"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.input_relabel_configs.withMatch

withMatch(match)

"Match is used together with Labels for action: graphite"

fn spec.streamAggrConfig.rules.input_relabel_configs.withModulus

withModulus(modulus)

"Modulus to take of the hash of the source label values."

fn spec.streamAggrConfig.rules.input_relabel_configs.withRegex

withRegex(regex)

"Regular expression against which the extracted value is matched. Default is '(.*)'\nvictoriaMetrics supports multiline regex joined with |\nhttps://docs.victoriametrics.com/vmagent/#relabeling-enhancements"

fn spec.streamAggrConfig.rules.input_relabel_configs.withReplacement

withReplacement(replacement)

"Replacement value against which a regex replace is performed if the\nregular expression matches. Regex capture groups are available. Default is '$1'"

fn spec.streamAggrConfig.rules.input_relabel_configs.withSeparator

withSeparator(separator)

"Separator placed between concatenated source label values. default is ';'."

fn spec.streamAggrConfig.rules.input_relabel_configs.withSourceLabels

withSourceLabels(sourceLabels)

"The source labels select values from existing labels. Their content is concatenated\nusing the configured separator and matched against the configured regular expression\nfor the replace, keep, and drop actions."

fn spec.streamAggrConfig.rules.input_relabel_configs.withSourceLabelsMixin

withSourceLabelsMixin(sourceLabels)

"The source labels select values from existing labels. Their content is concatenated\nusing the configured separator and matched against the configured regular expression\nfor the replace, keep, and drop actions."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.input_relabel_configs.withSource_labels

withSource_labels(source_labels)

"UnderScoreSourceLabels - additional form of source labels source_labels\nfor compatibility with original relabel config.\nif set both sourceLabels and source_labels, sourceLabels has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

fn spec.streamAggrConfig.rules.input_relabel_configs.withSource_labelsMixin

withSource_labelsMixin(source_labels)

"UnderScoreSourceLabels - additional form of source labels source_labels\nfor compatibility with original relabel config.\nif set both sourceLabels and source_labels, sourceLabels has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.input_relabel_configs.withTargetLabel

withTargetLabel(targetLabel)

"Label to which the resulting value is written in a replace action.\nIt is mandatory for replace actions. Regex capture groups are available."

fn spec.streamAggrConfig.rules.input_relabel_configs.withTarget_label

withTarget_label(target_label)

"UnderScoreTargetLabel - additional form of target label - target_label\nfor compatibility with original relabel config.\nif set both targetLabel and target_label, targetLabel has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

obj spec.streamAggrConfig.rules.output_relabel_configs

"OutputRelabelConfigs is an optional relabeling rules, which are applied\non the aggregated output before being sent to remote storage."

fn spec.streamAggrConfig.rules.output_relabel_configs.withAction

withAction(action)

"Action to perform based on regex matching. Default is 'replace'"

fn spec.streamAggrConfig.rules.output_relabel_configs.withIf

withIf(If)

"If represents metricsQL match expression (or list of expressions): '{name=~\"foo_.*\"}'"

fn spec.streamAggrConfig.rules.output_relabel_configs.withLabels

withLabels(labels)

"Labels is used together with Match for action: graphite"

fn spec.streamAggrConfig.rules.output_relabel_configs.withLabelsMixin

withLabelsMixin(labels)

"Labels is used together with Match for action: graphite"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.output_relabel_configs.withMatch

withMatch(match)

"Match is used together with Labels for action: graphite"

fn spec.streamAggrConfig.rules.output_relabel_configs.withModulus

withModulus(modulus)

"Modulus to take of the hash of the source label values."

fn spec.streamAggrConfig.rules.output_relabel_configs.withRegex

withRegex(regex)

"Regular expression against which the extracted value is matched. Default is '(.*)'\nvictoriaMetrics supports multiline regex joined with |\nhttps://docs.victoriametrics.com/vmagent/#relabeling-enhancements"

fn spec.streamAggrConfig.rules.output_relabel_configs.withReplacement

withReplacement(replacement)

"Replacement value against which a regex replace is performed if the\nregular expression matches. Regex capture groups are available. Default is '$1'"

fn spec.streamAggrConfig.rules.output_relabel_configs.withSeparator

withSeparator(separator)

"Separator placed between concatenated source label values. default is ';'."

fn spec.streamAggrConfig.rules.output_relabel_configs.withSourceLabels

withSourceLabels(sourceLabels)

"The source labels select values from existing labels. Their content is concatenated\nusing the configured separator and matched against the configured regular expression\nfor the replace, keep, and drop actions."

fn spec.streamAggrConfig.rules.output_relabel_configs.withSourceLabelsMixin

withSourceLabelsMixin(sourceLabels)

"The source labels select values from existing labels. Their content is concatenated\nusing the configured separator and matched against the configured regular expression\nfor the replace, keep, and drop actions."

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.output_relabel_configs.withSource_labels

withSource_labels(source_labels)

"UnderScoreSourceLabels - additional form of source labels source_labels\nfor compatibility with original relabel config.\nif set both sourceLabels and source_labels, sourceLabels has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

fn spec.streamAggrConfig.rules.output_relabel_configs.withSource_labelsMixin

withSource_labelsMixin(source_labels)

"UnderScoreSourceLabels - additional form of source labels source_labels\nfor compatibility with original relabel config.\nif set both sourceLabels and source_labels, sourceLabels has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

Note: This function appends passed data to existing values

fn spec.streamAggrConfig.rules.output_relabel_configs.withTargetLabel

withTargetLabel(targetLabel)

"Label to which the resulting value is written in a replace action.\nIt is mandatory for replace actions. Regex capture groups are available."

fn spec.streamAggrConfig.rules.output_relabel_configs.withTarget_label

withTarget_label(target_label)

"UnderScoreTargetLabel - additional form of target label - target_label\nfor compatibility with original relabel config.\nif set both targetLabel and target_label, targetLabel has priority.\nfor details https://github.com/VictoriaMetrics/operator/issues/131"

obj spec.tolerations

"Tolerations If specified, the pod's tolerations."

fn spec.tolerations.withEffect

withEffect(effect)

"Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."

fn spec.tolerations.withKey

withKey(key)

"Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys."

fn spec.tolerations.withOperator

withOperator(operator)

"Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category."

fn spec.tolerations.withTolerationSeconds

withTolerationSeconds(tolerationSeconds)

"TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system."

fn spec.tolerations.withValue

withValue(value)

"Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string."

obj spec.vmBackup

"VMBackup configuration for backup"

fn spec.vmBackup.withAcceptEULA

withAcceptEULA(acceptEULA)

"AcceptEULA accepts enterprise feature usage, must be set to true.\notherwise backupmanager cannot be added to single/cluster version.\nhttps://victoriametrics.com/legal/esa/"

fn spec.vmBackup.withConcurrency

withConcurrency(concurrency)

"Defines number of concurrent workers. Higher concurrency may reduce backup duration (default 10)"

fn spec.vmBackup.withCustomS3Endpoint

withCustomS3Endpoint(customS3Endpoint)

"Custom S3 endpoint for use with S3-compatible storages (e.g. MinIO). S3 is used if not set"

fn spec.vmBackup.withDestination

withDestination(destination)

"Defines destination for backup"

fn spec.vmBackup.withDestinationDisableSuffixAdd

withDestinationDisableSuffixAdd(destinationDisableSuffixAdd)

"DestinationDisableSuffixAdd - disables suffix adding for cluster version backups\neach vmstorage backup must have unique backup folder\nso operator adds POD_NAME as suffix for backup destination folder."

fn spec.vmBackup.withDisableDaily

withDisableDaily(disableDaily)

"Defines if daily backups disabled (default false)"

fn spec.vmBackup.withDisableHourly

withDisableHourly(disableHourly)

"Defines if hourly backups disabled (default false)"

fn spec.vmBackup.withDisableMonthly

withDisableMonthly(disableMonthly)

"Defines if monthly backups disabled (default false)"

fn spec.vmBackup.withDisableWeekly

withDisableWeekly(disableWeekly)

"Defines if weekly backups disabled (default false)"

fn spec.vmBackup.withExtraArgs

withExtraArgs(extraArgs)

"extra args like maxBytesPerSecond default 0"

fn spec.vmBackup.withExtraArgsMixin

withExtraArgsMixin(extraArgs)

"extra args like maxBytesPerSecond default 0"

Note: This function appends passed data to existing values

fn spec.vmBackup.withExtraEnvs

withExtraEnvs(extraEnvs)

fn spec.vmBackup.withExtraEnvsMixin

withExtraEnvsMixin(extraEnvs)

Note: This function appends passed data to existing values

fn spec.vmBackup.withLogFormat

withLogFormat(logFormat)

"LogFormat for VMBackup to be configured with.\ndefault or json"

fn spec.vmBackup.withLogLevel

withLogLevel(logLevel)

"LogLevel for VMBackup to be configured with."

fn spec.vmBackup.withPort

withPort(port)

"Port for health check connections"

fn spec.vmBackup.withSnapshotCreateURL

withSnapshotCreateURL(snapshotCreateURL)

"SnapshotCreateURL overwrites url for snapshot create"

fn spec.vmBackup.withSnapshotDeleteURL

withSnapshotDeleteURL(snapshotDeleteURL)

"SnapShotDeleteURL overwrites url for snapshot delete"

fn spec.vmBackup.withVolumeMounts

withVolumeMounts(volumeMounts)

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment definition.\nVolumeMounts specified will be appended to other VolumeMounts in the vmbackupmanager container,\nthat are generated as a result of StorageSpec objects."

fn spec.vmBackup.withVolumeMountsMixin

withVolumeMountsMixin(volumeMounts)

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment definition.\nVolumeMounts specified will be appended to other VolumeMounts in the vmbackupmanager container,\nthat are generated as a result of StorageSpec objects."

Note: This function appends passed data to existing values

obj spec.vmBackup.credentialsSecret

"CredentialsSecret is secret in the same namespace for access to remote storage\nThe secret is mounted into /etc/vm/creds."

fn spec.vmBackup.credentialsSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.vmBackup.credentialsSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.vmBackup.credentialsSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.vmBackup.extraEnvs

fn spec.vmBackup.extraEnvs.withName

withName(name)

"Name of the environment variable. Must be a C_IDENTIFIER."

fn spec.vmBackup.extraEnvs.withValue

withValue(value)

"Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."

obj spec.vmBackup.extraEnvs.valueFrom

"Source for the environment variable's value. Cannot be used if value is not empty."

obj spec.vmBackup.extraEnvs.valueFrom.configMapKeyRef

"Selects a key of a ConfigMap."

fn spec.vmBackup.extraEnvs.valueFrom.configMapKeyRef.withKey

withKey(key)

"The key to select."

fn spec.vmBackup.extraEnvs.valueFrom.configMapKeyRef.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.vmBackup.extraEnvs.valueFrom.configMapKeyRef.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.vmBackup.extraEnvs.valueFrom.fieldRef

"Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'],\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."

fn spec.vmBackup.extraEnvs.valueFrom.fieldRef.withApiVersion

withApiVersion(apiVersion)

"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."

fn spec.vmBackup.extraEnvs.valueFrom.fieldRef.withFieldPath

withFieldPath(fieldPath)

"Path of the field to select in the specified API version."

obj spec.vmBackup.extraEnvs.valueFrom.resourceFieldRef

"Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."

fn spec.vmBackup.extraEnvs.valueFrom.resourceFieldRef.withContainerName

withContainerName(containerName)

"Container name: required for volumes, optional for env vars"

fn spec.vmBackup.extraEnvs.valueFrom.resourceFieldRef.withDivisor

withDivisor(divisor)

"Specifies the output format of the exposed resources, defaults to \"1\

fn spec.vmBackup.extraEnvs.valueFrom.resourceFieldRef.withResource

withResource(resource)

"Required: resource to select"

obj spec.vmBackup.extraEnvs.valueFrom.secretKeyRef

"Selects a key of a secret in the pod's namespace"

fn spec.vmBackup.extraEnvs.valueFrom.secretKeyRef.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.vmBackup.extraEnvs.valueFrom.secretKeyRef.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.vmBackup.extraEnvs.valueFrom.secretKeyRef.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.vmBackup.image

"Image - docker image settings for VMBackuper"

fn spec.vmBackup.image.withPullPolicy

withPullPolicy(pullPolicy)

"PullPolicy describes how to pull docker image"

fn spec.vmBackup.image.withRepository

withRepository(repository)

"Repository contains name of docker image + it's repository if needed"

fn spec.vmBackup.image.withTag

withTag(tag)

"Tag contains desired docker image version"

obj spec.vmBackup.resources

"Resources container resource request and limits, https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\nif not defined default resources from operator config will be used"

fn spec.vmBackup.resources.withClaims

withClaims(claims)

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

fn spec.vmBackup.resources.withClaimsMixin

withClaimsMixin(claims)

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

Note: This function appends passed data to existing values

fn spec.vmBackup.resources.withLimits

withLimits(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.vmBackup.resources.withLimitsMixin

withLimitsMixin(limits)

"Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

fn spec.vmBackup.resources.withRequests

withRequests(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

fn spec.vmBackup.resources.withRequestsMixin

withRequestsMixin(requests)

"Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"

Note: This function appends passed data to existing values

obj spec.vmBackup.resources.claims

"Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers."

fn spec.vmBackup.resources.claims.withName

withName(name)

"Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."

obj spec.vmBackup.restore

"Restore Allows to enable restore options for pod\nRead more"

obj spec.vmBackup.restore.onStart

"OnStart defines configuration for restore on pod start"

fn spec.vmBackup.restore.onStart.withEnabled

withEnabled(enabled)

"Enabled defines if restore on start enabled"

obj spec.vmBackup.volumeMounts

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment definition.\nVolumeMounts specified will be appended to other VolumeMounts in the vmbackupmanager container,\nthat are generated as a result of StorageSpec objects."

fn spec.vmBackup.volumeMounts.withMountPath

withMountPath(mountPath)

"Path within the container at which the volume should be mounted. Must\nnot contain ':'."

fn spec.vmBackup.volumeMounts.withMountPropagation

withMountPropagation(mountPropagation)

"mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)."

fn spec.vmBackup.volumeMounts.withName

withName(name)

"This must match the Name of a Volume."

fn spec.vmBackup.volumeMounts.withReadOnly

withReadOnly(readOnly)

"Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false."

fn spec.vmBackup.volumeMounts.withRecursiveReadOnly

withRecursiveReadOnly(recursiveReadOnly)

"RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled."

fn spec.vmBackup.volumeMounts.withSubPath

withSubPath(subPath)

"Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)."

fn spec.vmBackup.volumeMounts.withSubPathExpr

withSubPathExpr(subPathExpr)

"Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive."

obj spec.volumeMounts

"VolumeMounts allows configuration of additional VolumeMounts on the output Deployment/StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the Application container"

fn spec.volumeMounts.withMountPath

withMountPath(mountPath)

"Path within the container at which the volume should be mounted. Must\nnot contain ':'."

fn spec.volumeMounts.withMountPropagation

withMountPropagation(mountPropagation)

"mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)."

fn spec.volumeMounts.withName

withName(name)

"This must match the Name of a Volume."

fn spec.volumeMounts.withReadOnly

withReadOnly(readOnly)

"Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false."

fn spec.volumeMounts.withRecursiveReadOnly

withRecursiveReadOnly(recursiveReadOnly)

"RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled."

fn spec.volumeMounts.withSubPath

withSubPath(subPath)

"Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)."

fn spec.volumeMounts.withSubPathExpr

withSubPathExpr(subPathExpr)

"Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive."