kafka.v1beta2.kafkaMirrorMaker
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withImage(image)
fn withInclude(include)
fn withReplicas(replicas)
fn withVersion(version)
fn withWhitelist(whitelist)
obj spec.consumer
fn withBootstrapServers(bootstrapServers)
fn withConfig(config)
fn withConfigMixin(config)
fn withGroupId(groupId)
fn withNumStreams(numStreams)
fn withOffsetCommitInterval(offsetCommitInterval)
obj spec.consumer.authentication
fn withAccessTokenIsJwt(accessTokenIsJwt)
fn withAudience(audience)
fn withClientId(clientId)
fn withConnectTimeoutSeconds(connectTimeoutSeconds)
fn withDisableTlsHostnameVerification(disableTlsHostnameVerification)
fn withEnableMetrics(enableMetrics)
fn withHttpRetries(httpRetries)
fn withHttpRetryPauseMs(httpRetryPauseMs)
fn withIncludeAcceptHeader(includeAcceptHeader)
fn withMaxTokenExpirySeconds(maxTokenExpirySeconds)
fn withReadTimeoutSeconds(readTimeoutSeconds)
fn withScope(scope)
fn withTlsTrustedCertificates(tlsTrustedCertificates)
fn withTlsTrustedCertificatesMixin(tlsTrustedCertificates)
fn withTokenEndpointUri(tokenEndpointUri)
fn withType(type)
fn withUsername(username)
obj spec.consumer.authentication.accessToken
obj spec.consumer.authentication.certificateAndKey
obj spec.consumer.authentication.clientSecret
obj spec.consumer.authentication.passwordSecret
obj spec.consumer.authentication.refreshToken
obj spec.consumer.authentication.tlsTrustedCertificates
obj spec.consumer.tls
obj spec.jvmOptions
obj spec.livenessProbe
obj spec.logging
obj spec.metricsConfig
obj spec.producer
fn withAbortOnSendFailure(abortOnSendFailure)
fn withBootstrapServers(bootstrapServers)
fn withConfig(config)
fn withConfigMixin(config)
obj spec.producer.authentication
fn withAccessTokenIsJwt(accessTokenIsJwt)
fn withAudience(audience)
fn withClientId(clientId)
fn withConnectTimeoutSeconds(connectTimeoutSeconds)
fn withDisableTlsHostnameVerification(disableTlsHostnameVerification)
fn withEnableMetrics(enableMetrics)
fn withHttpRetries(httpRetries)
fn withHttpRetryPauseMs(httpRetryPauseMs)
fn withIncludeAcceptHeader(includeAcceptHeader)
fn withMaxTokenExpirySeconds(maxTokenExpirySeconds)
fn withReadTimeoutSeconds(readTimeoutSeconds)
fn withScope(scope)
fn withTlsTrustedCertificates(tlsTrustedCertificates)
fn withTlsTrustedCertificatesMixin(tlsTrustedCertificates)
fn withTokenEndpointUri(tokenEndpointUri)
fn withType(type)
fn withUsername(username)
obj spec.producer.authentication.accessToken
obj spec.producer.authentication.certificateAndKey
obj spec.producer.authentication.clientSecret
obj spec.producer.authentication.passwordSecret
obj spec.producer.authentication.refreshToken
obj spec.producer.authentication.tlsTrustedCertificates
obj spec.producer.tls
obj spec.readinessProbe
obj spec.resources
obj spec.template
obj spec.template.deployment
obj spec.template.mirrorMakerContainer
fn withEnv(env)
fn withEnvMixin(env)
obj spec.template.mirrorMakerContainer.env
obj spec.template.mirrorMakerContainer.securityContext
fn withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn withPrivileged(privileged)
fn withProcMount(procMount)
fn withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
obj spec.template.mirrorMakerContainer.securityContext.capabilities
obj spec.template.mirrorMakerContainer.securityContext.seLinuxOptions
obj spec.template.mirrorMakerContainer.securityContext.seccompProfile
obj spec.template.mirrorMakerContainer.securityContext.windowsOptions
obj spec.template.pod
fn withEnableServiceLinks(enableServiceLinks)
fn withHostAliases(hostAliases)
fn withHostAliasesMixin(hostAliases)
fn withImagePullSecrets(imagePullSecrets)
fn withImagePullSecretsMixin(imagePullSecrets)
fn withPriorityClassName(priorityClassName)
fn withSchedulerName(schedulerName)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTmpDirSizeLimit(tmpDirSizeLimit)
fn withTolerations(tolerations)
fn withTolerationsMixin(tolerations)
fn withTopologySpreadConstraints(topologySpreadConstraints)
fn withTopologySpreadConstraintsMixin(topologySpreadConstraints)
obj spec.template.pod.affinity
obj spec.template.pod.affinity.nodeAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn withWeight(weight)
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference
fn withMatchExpressions(matchExpressions)
fn withMatchExpressionsMixin(matchExpressions)
fn withMatchFields(matchFields)
fn withMatchFieldsMixin(matchFields)
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn withNodeSelectorTerms(nodeSelectorTerms)
fn withNodeSelectorTermsMixin(nodeSelectorTerms)
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
fn withMatchExpressions(matchExpressions)
fn withMatchExpressionsMixin(matchExpressions)
fn withMatchFields(matchFields)
fn withMatchFieldsMixin(matchFields)
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields
obj spec.template.pod.affinity.podAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn withWeight(weight)
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm
fn withNamespaces(namespaces)
fn withNamespacesMixin(namespaces)
fn withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn withNamespaces(namespaces)
fn withNamespacesMixin(namespaces)
fn withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector
obj spec.template.pod.affinity.podAntiAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn withWeight(weight)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm
fn withNamespaces(namespaces)
fn withNamespacesMixin(namespaces)
fn withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector
fn withMatchExpressions(matchExpressions)
fn withMatchExpressionsMixin(matchExpressions)
fn withMatchLabels(matchLabels)
fn withMatchLabelsMixin(matchLabels)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn withNamespaces(namespaces)
fn withNamespacesMixin(namespaces)
fn withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector
obj spec.template.pod.hostAliases
obj spec.template.pod.imagePullSecrets
obj spec.template.pod.metadata
obj spec.template.pod.securityContext
fn withFsGroup(fsGroup)
fn withFsGroupChangePolicy(fsGroupChangePolicy)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
fn withSupplementalGroups(supplementalGroups)
fn withSupplementalGroupsMixin(supplementalGroups)
fn withSysctls(sysctls)
fn withSysctlsMixin(sysctls)
obj spec.template.pod.securityContext.seLinuxOptions
obj spec.template.pod.securityContext.seccompProfile
obj spec.template.pod.securityContext.sysctls
obj spec.template.pod.securityContext.windowsOptions
obj spec.template.pod.tolerations
obj spec.template.pod.topologySpreadConstraints
fn withMatchLabelKeys(matchLabelKeys)
fn withMatchLabelKeysMixin(matchLabelKeys)
fn withMaxSkew(maxSkew)
fn withMinDomains(minDomains)
fn withNodeAffinityPolicy(nodeAffinityPolicy)
fn withNodeTaintsPolicy(nodeTaintsPolicy)
fn withTopologyKey(topologyKey)
fn withWhenUnsatisfiable(whenUnsatisfiable)
obj spec.template.pod.topologySpreadConstraints.labelSelector
obj spec.template.podDisruptionBudget
obj spec.template.serviceAccount
obj spec.tracing
Fields
fn new
new(name)
new returns an instance of KafkaMirrorMaker
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"
fn metadata.withSelfLink
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
"The specification of Kafka MirrorMaker."
fn spec.withImage
withImage(image)
"The container image used for Kafka MirrorMaker pods. If no image name is explicitly specified, it is determined based on the spec.version
configuration. The image names are specifically mapped to corresponding versions in the Cluster Operator configuration."
fn spec.withInclude
withInclude(include)
"List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression A\\|B
. Or, as a special case, you can mirror all topics using the regular expression *
. You can also specify multiple regular expressions separated by commas."
fn spec.withReplicas
withReplicas(replicas)
"The number of pods in the Deployment
."
fn spec.withVersion
withVersion(version)
"The Kafka MirrorMaker version. Defaults to the latest version. Consult the documentation to understand the process required to upgrade or downgrade the version."
fn spec.withWhitelist
withWhitelist(whitelist)
"List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression A\\|B
. Or, as a special case, you can mirror all topics using the regular expression *
. You can also specify multiple regular expressions separated by commas."
obj spec.consumer
"Configuration of source cluster."
fn spec.consumer.withBootstrapServers
withBootstrapServers(bootstrapServers)
"A list of host:port pairs for establishing the initial connection to the Kafka cluster."
fn spec.consumer.withConfig
withConfig(config)
"The MirrorMaker consumer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)."
fn spec.consumer.withConfigMixin
withConfigMixin(config)
"The MirrorMaker consumer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)."
Note: This function appends passed data to existing values
fn spec.consumer.withGroupId
withGroupId(groupId)
"A unique string that identifies the consumer group this consumer belongs to."
fn spec.consumer.withNumStreams
withNumStreams(numStreams)
"Specifies the number of consumer stream threads to create."
fn spec.consumer.withOffsetCommitInterval
withOffsetCommitInterval(offsetCommitInterval)
"Specifies the offset auto-commit interval in ms. Default value is 60000."
obj spec.consumer.authentication
"Authentication configuration for connecting to the cluster."
fn spec.consumer.authentication.withAccessTokenIsJwt
withAccessTokenIsJwt(accessTokenIsJwt)
"Configure whether access token should be treated as JWT. This should be set to false
if the authorization server returns opaque tokens. Defaults to true
."
fn spec.consumer.authentication.withAudience
withAudience(audience)
"OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, audience
is not specified when performing the token endpoint request."
fn spec.consumer.authentication.withClientId
withClientId(clientId)
"OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI."
fn spec.consumer.authentication.withConnectTimeoutSeconds
withConnectTimeoutSeconds(connectTimeoutSeconds)
"The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds."
fn spec.consumer.authentication.withDisableTlsHostnameVerification
withDisableTlsHostnameVerification(disableTlsHostnameVerification)
"Enable or disable TLS hostname verification. Default value is false
."
fn spec.consumer.authentication.withEnableMetrics
withEnableMetrics(enableMetrics)
"Enable or disable OAuth metrics. Default value is false
."
fn spec.consumer.authentication.withHttpRetries
withHttpRetries(httpRetries)
"The maximum number of retries to attempt if an initial HTTP request fails. If not set, the default is to not attempt any retries."
fn spec.consumer.authentication.withHttpRetryPauseMs
withHttpRetryPauseMs(httpRetryPauseMs)
"The pause to take before retrying a failed HTTP request. If not set, the default is to not pause at all but to immediately repeat a request."
fn spec.consumer.authentication.withIncludeAcceptHeader
withIncludeAcceptHeader(includeAcceptHeader)
"Whether the Accept header should be set in requests to the authorization servers. The default value is true
."
fn spec.consumer.authentication.withMaxTokenExpirySeconds
withMaxTokenExpirySeconds(maxTokenExpirySeconds)
"Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens."
fn spec.consumer.authentication.withReadTimeoutSeconds
withReadTimeoutSeconds(readTimeoutSeconds)
"The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds."
fn spec.consumer.authentication.withScope
withScope(scope)
"OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default scope
is not specified when doing the token endpoint request."
fn spec.consumer.authentication.withTlsTrustedCertificates
withTlsTrustedCertificates(tlsTrustedCertificates)
"Trusted certificates for TLS connection to the OAuth server."
fn spec.consumer.authentication.withTlsTrustedCertificatesMixin
withTlsTrustedCertificatesMixin(tlsTrustedCertificates)
"Trusted certificates for TLS connection to the OAuth server."
Note: This function appends passed data to existing values
fn spec.consumer.authentication.withTokenEndpointUri
withTokenEndpointUri(tokenEndpointUri)
"Authorization server token endpoint URI."
fn spec.consumer.authentication.withType
withType(type)
"Authentication type. Currently the supported types are tls
, scram-sha-256
, scram-sha-512
, plain
, and 'oauth'. scram-sha-256
and scram-sha-512
types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. plain
type uses SASL PLAIN Authentication. oauth
type uses SASL OAUTHBEARER Authentication. The tls
type uses TLS Client Authentication. The tls
type is supported only over TLS connections."
fn spec.consumer.authentication.withUsername
withUsername(username)
"Username used for the authentication."
obj spec.consumer.authentication.accessToken
"Link to Kubernetes Secret containing the access token which was obtained from the authorization server."
fn spec.consumer.authentication.accessToken.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.consumer.authentication.accessToken.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.consumer.authentication.certificateAndKey
"Reference to the Secret
which holds the certificate and private key pair."
fn spec.consumer.authentication.certificateAndKey.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.consumer.authentication.certificateAndKey.withKey
withKey(key)
"The name of the private key in the Secret."
fn spec.consumer.authentication.certificateAndKey.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.consumer.authentication.clientSecret
"Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI."
fn spec.consumer.authentication.clientSecret.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.consumer.authentication.clientSecret.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.consumer.authentication.passwordSecret
"Reference to the Secret
which holds the password."
fn spec.consumer.authentication.passwordSecret.withPassword
withPassword(password)
"The name of the key in the Secret under which the password is stored."
fn spec.consumer.authentication.passwordSecret.withSecretName
withSecretName(secretName)
"The name of the Secret containing the password."
obj spec.consumer.authentication.refreshToken
"Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server."
fn spec.consumer.authentication.refreshToken.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.consumer.authentication.refreshToken.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.consumer.authentication.tlsTrustedCertificates
"Trusted certificates for TLS connection to the OAuth server."
fn spec.consumer.authentication.tlsTrustedCertificates.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.consumer.authentication.tlsTrustedCertificates.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.consumer.tls
"TLS configuration for connecting MirrorMaker to the cluster."
fn spec.consumer.tls.withTrustedCertificates
withTrustedCertificates(trustedCertificates)
"Trusted certificates for TLS connection."
fn spec.consumer.tls.withTrustedCertificatesMixin
withTrustedCertificatesMixin(trustedCertificates)
"Trusted certificates for TLS connection."
Note: This function appends passed data to existing values
obj spec.consumer.tls.trustedCertificates
"Trusted certificates for TLS connection."
fn spec.consumer.tls.trustedCertificates.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.consumer.tls.trustedCertificates.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.jvmOptions
"JVM Options for pods."
fn spec.jvmOptions.withGcLoggingEnabled
withGcLoggingEnabled(gcLoggingEnabled)
"Specifies whether the Garbage Collection logging is enabled. The default is false."
fn spec.jvmOptions.withJavaSystemProperties
withJavaSystemProperties(javaSystemProperties)
"A map of additional system properties which will be passed using the -D
option to the JVM."
fn spec.jvmOptions.withJavaSystemPropertiesMixin
withJavaSystemPropertiesMixin(javaSystemProperties)
"A map of additional system properties which will be passed using the -D
option to the JVM."
Note: This function appends passed data to existing values
fn spec.jvmOptions.withXX
withXX(_XX)
"A map of -XX options to the JVM."
fn spec.jvmOptions.withXXMixin
withXXMixin(_XX)
"A map of -XX options to the JVM."
Note: This function appends passed data to existing values
fn spec.jvmOptions.withXms
withXms(_Xms)
"-Xms option to to the JVM."
fn spec.jvmOptions.withXmx
withXmx(_Xmx)
"-Xmx option to to the JVM."
obj spec.jvmOptions.javaSystemProperties
"A map of additional system properties which will be passed using the -D
option to the JVM."
fn spec.jvmOptions.javaSystemProperties.withName
withName(name)
"The system property name."
fn spec.jvmOptions.javaSystemProperties.withValue
withValue(value)
"The system property value."
obj spec.livenessProbe
"Pod liveness checking."
fn spec.livenessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn spec.livenessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0."
fn spec.livenessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn spec.livenessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1."
fn spec.livenessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1."
obj spec.logging
"Logging configuration for MirrorMaker."
fn spec.logging.withLoggers
withLoggers(loggers)
"A Map from logger name to logger level."
fn spec.logging.withLoggersMixin
withLoggersMixin(loggers)
"A Map from logger name to logger level."
Note: This function appends passed data to existing values
fn spec.logging.withType
withType(type)
"Logging type, must be either 'inline' or 'external'."
obj spec.logging.valueFrom
"ConfigMap
entry where the logging configuration is stored. "
obj spec.logging.valueFrom.configMapKeyRef
"Reference to the key in the ConfigMap containing the configuration."
fn spec.logging.valueFrom.configMapKeyRef.withKey
withKey(key)
fn spec.logging.valueFrom.configMapKeyRef.withName
withName(name)
fn spec.logging.valueFrom.configMapKeyRef.withOptional
withOptional(optional)
obj spec.metricsConfig
"Metrics configuration."
fn spec.metricsConfig.withType
withType(type)
"Metrics type. Only 'jmxPrometheusExporter' supported currently."
obj spec.metricsConfig.valueFrom
"ConfigMap entry where the Prometheus JMX Exporter configuration is stored. "
obj spec.metricsConfig.valueFrom.configMapKeyRef
"Reference to the key in the ConfigMap containing the configuration."
fn spec.metricsConfig.valueFrom.configMapKeyRef.withKey
withKey(key)
fn spec.metricsConfig.valueFrom.configMapKeyRef.withName
withName(name)
fn spec.metricsConfig.valueFrom.configMapKeyRef.withOptional
withOptional(optional)
obj spec.producer
"Configuration of target cluster."
fn spec.producer.withAbortOnSendFailure
withAbortOnSendFailure(abortOnSendFailure)
"Flag to set the MirrorMaker to exit on a failed send. Default value is true
."
fn spec.producer.withBootstrapServers
withBootstrapServers(bootstrapServers)
"A list of host:port pairs for establishing the initial connection to the Kafka cluster."
fn spec.producer.withConfig
withConfig(config)
"The MirrorMaker producer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)."
fn spec.producer.withConfigMixin
withConfigMixin(config)
"The MirrorMaker producer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)."
Note: This function appends passed data to existing values
obj spec.producer.authentication
"Authentication configuration for connecting to the cluster."
fn spec.producer.authentication.withAccessTokenIsJwt
withAccessTokenIsJwt(accessTokenIsJwt)
"Configure whether access token should be treated as JWT. This should be set to false
if the authorization server returns opaque tokens. Defaults to true
."
fn spec.producer.authentication.withAudience
withAudience(audience)
"OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, audience
is not specified when performing the token endpoint request."
fn spec.producer.authentication.withClientId
withClientId(clientId)
"OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI."
fn spec.producer.authentication.withConnectTimeoutSeconds
withConnectTimeoutSeconds(connectTimeoutSeconds)
"The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds."
fn spec.producer.authentication.withDisableTlsHostnameVerification
withDisableTlsHostnameVerification(disableTlsHostnameVerification)
"Enable or disable TLS hostname verification. Default value is false
."
fn spec.producer.authentication.withEnableMetrics
withEnableMetrics(enableMetrics)
"Enable or disable OAuth metrics. Default value is false
."
fn spec.producer.authentication.withHttpRetries
withHttpRetries(httpRetries)
"The maximum number of retries to attempt if an initial HTTP request fails. If not set, the default is to not attempt any retries."
fn spec.producer.authentication.withHttpRetryPauseMs
withHttpRetryPauseMs(httpRetryPauseMs)
"The pause to take before retrying a failed HTTP request. If not set, the default is to not pause at all but to immediately repeat a request."
fn spec.producer.authentication.withIncludeAcceptHeader
withIncludeAcceptHeader(includeAcceptHeader)
"Whether the Accept header should be set in requests to the authorization servers. The default value is true
."
fn spec.producer.authentication.withMaxTokenExpirySeconds
withMaxTokenExpirySeconds(maxTokenExpirySeconds)
"Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens."
fn spec.producer.authentication.withReadTimeoutSeconds
withReadTimeoutSeconds(readTimeoutSeconds)
"The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds."
fn spec.producer.authentication.withScope
withScope(scope)
"OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default scope
is not specified when doing the token endpoint request."
fn spec.producer.authentication.withTlsTrustedCertificates
withTlsTrustedCertificates(tlsTrustedCertificates)
"Trusted certificates for TLS connection to the OAuth server."
fn spec.producer.authentication.withTlsTrustedCertificatesMixin
withTlsTrustedCertificatesMixin(tlsTrustedCertificates)
"Trusted certificates for TLS connection to the OAuth server."
Note: This function appends passed data to existing values
fn spec.producer.authentication.withTokenEndpointUri
withTokenEndpointUri(tokenEndpointUri)
"Authorization server token endpoint URI."
fn spec.producer.authentication.withType
withType(type)
"Authentication type. Currently the supported types are tls
, scram-sha-256
, scram-sha-512
, plain
, and 'oauth'. scram-sha-256
and scram-sha-512
types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. plain
type uses SASL PLAIN Authentication. oauth
type uses SASL OAUTHBEARER Authentication. The tls
type uses TLS Client Authentication. The tls
type is supported only over TLS connections."
fn spec.producer.authentication.withUsername
withUsername(username)
"Username used for the authentication."
obj spec.producer.authentication.accessToken
"Link to Kubernetes Secret containing the access token which was obtained from the authorization server."
fn spec.producer.authentication.accessToken.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.producer.authentication.accessToken.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.producer.authentication.certificateAndKey
"Reference to the Secret
which holds the certificate and private key pair."
fn spec.producer.authentication.certificateAndKey.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.producer.authentication.certificateAndKey.withKey
withKey(key)
"The name of the private key in the Secret."
fn spec.producer.authentication.certificateAndKey.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.producer.authentication.clientSecret
"Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI."
fn spec.producer.authentication.clientSecret.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.producer.authentication.clientSecret.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.producer.authentication.passwordSecret
"Reference to the Secret
which holds the password."
fn spec.producer.authentication.passwordSecret.withPassword
withPassword(password)
"The name of the key in the Secret under which the password is stored."
fn spec.producer.authentication.passwordSecret.withSecretName
withSecretName(secretName)
"The name of the Secret containing the password."
obj spec.producer.authentication.refreshToken
"Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server."
fn spec.producer.authentication.refreshToken.withKey
withKey(key)
"The key under which the secret value is stored in the Kubernetes Secret."
fn spec.producer.authentication.refreshToken.withSecretName
withSecretName(secretName)
"The name of the Kubernetes Secret containing the secret value."
obj spec.producer.authentication.tlsTrustedCertificates
"Trusted certificates for TLS connection to the OAuth server."
fn spec.producer.authentication.tlsTrustedCertificates.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.producer.authentication.tlsTrustedCertificates.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.producer.tls
"TLS configuration for connecting MirrorMaker to the cluster."
fn spec.producer.tls.withTrustedCertificates
withTrustedCertificates(trustedCertificates)
"Trusted certificates for TLS connection."
fn spec.producer.tls.withTrustedCertificatesMixin
withTrustedCertificatesMixin(trustedCertificates)
"Trusted certificates for TLS connection."
Note: This function appends passed data to existing values
obj spec.producer.tls.trustedCertificates
"Trusted certificates for TLS connection."
fn spec.producer.tls.trustedCertificates.withCertificate
withCertificate(certificate)
"The name of the file certificate in the Secret."
fn spec.producer.tls.trustedCertificates.withSecretName
withSecretName(secretName)
"The name of the Secret containing the certificate."
obj spec.readinessProbe
"Pod readiness checking."
fn spec.readinessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn spec.readinessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0."
fn spec.readinessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn spec.readinessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1."
fn spec.readinessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1."
obj spec.resources
"CPU and memory resources to reserve."
fn spec.resources.withClaims
withClaims(claims)
fn spec.resources.withClaimsMixin
withClaimsMixin(claims)
Note: This function appends passed data to existing values
fn spec.resources.withLimits
withLimits(limits)
fn spec.resources.withLimitsMixin
withLimitsMixin(limits)
Note: This function appends passed data to existing values
fn spec.resources.withRequests
withRequests(requests)
fn spec.resources.withRequestsMixin
withRequestsMixin(requests)
Note: This function appends passed data to existing values
obj spec.resources.claims
fn spec.resources.claims.withName
withName(name)
obj spec.template
"Template to specify how Kafka MirrorMaker resources, Deployments
and Pods
, are generated."
obj spec.template.deployment
"Template for Kafka MirrorMaker Deployment
."
fn spec.template.deployment.withDeploymentStrategy
withDeploymentStrategy(deploymentStrategy)
"Pod replacement strategy for deployment configuration changes. Valid values are RollingUpdate
and Recreate
. Defaults to RollingUpdate
."
obj spec.template.deployment.metadata
"Metadata applied to the resource."
fn spec.template.deployment.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.deployment.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.deployment.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.deployment.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.mirrorMakerContainer
"Template for Kafka MirrorMaker container."
fn spec.template.mirrorMakerContainer.withEnv
withEnv(env)
"Environment variables which should be applied to the container."
fn spec.template.mirrorMakerContainer.withEnvMixin
withEnvMixin(env)
"Environment variables which should be applied to the container."
Note: This function appends passed data to existing values
obj spec.template.mirrorMakerContainer.env
"Environment variables which should be applied to the container."
fn spec.template.mirrorMakerContainer.env.withName
withName(name)
"The environment variable key."
fn spec.template.mirrorMakerContainer.env.withValue
withValue(value)
"The environment variable value."
obj spec.template.mirrorMakerContainer.securityContext
"Security context for the container."
fn spec.template.mirrorMakerContainer.securityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn spec.template.mirrorMakerContainer.securityContext.withPrivileged
withPrivileged(privileged)
fn spec.template.mirrorMakerContainer.securityContext.withProcMount
withProcMount(procMount)
fn spec.template.mirrorMakerContainer.securityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn spec.template.mirrorMakerContainer.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.template.mirrorMakerContainer.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.template.mirrorMakerContainer.securityContext.withRunAsUser
withRunAsUser(runAsUser)
obj spec.template.mirrorMakerContainer.securityContext.capabilities
fn spec.template.mirrorMakerContainer.securityContext.capabilities.withAdd
withAdd(add)
fn spec.template.mirrorMakerContainer.securityContext.capabilities.withAddMixin
withAddMixin(add)
Note: This function appends passed data to existing values
fn spec.template.mirrorMakerContainer.securityContext.capabilities.withDrop
withDrop(drop)
fn spec.template.mirrorMakerContainer.securityContext.capabilities.withDropMixin
withDropMixin(drop)
Note: This function appends passed data to existing values
obj spec.template.mirrorMakerContainer.securityContext.seLinuxOptions
fn spec.template.mirrorMakerContainer.securityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.template.mirrorMakerContainer.securityContext.seLinuxOptions.withRole
withRole(role)
fn spec.template.mirrorMakerContainer.securityContext.seLinuxOptions.withType
withType(type)
fn spec.template.mirrorMakerContainer.securityContext.seLinuxOptions.withUser
withUser(user)
obj spec.template.mirrorMakerContainer.securityContext.seccompProfile
fn spec.template.mirrorMakerContainer.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.template.mirrorMakerContainer.securityContext.seccompProfile.withType
withType(type)
obj spec.template.mirrorMakerContainer.securityContext.windowsOptions
fn spec.template.mirrorMakerContainer.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.template.mirrorMakerContainer.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.template.mirrorMakerContainer.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.template.mirrorMakerContainer.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.template.pod
"Template for Kafka MirrorMaker Pods
."
fn spec.template.pod.withEnableServiceLinks
withEnableServiceLinks(enableServiceLinks)
"Indicates whether information about services should be injected into Pod's environment variables."
fn spec.template.pod.withHostAliases
withHostAliases(hostAliases)
"The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified."
fn spec.template.pod.withHostAliasesMixin
withHostAliasesMixin(hostAliases)
"The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified."
Note: This function appends passed data to existing values
fn spec.template.pod.withImagePullSecrets
withImagePullSecrets(imagePullSecrets)
"List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the STRIMZI_IMAGE_PULL_SECRETS
environment variable in Cluster Operator and the imagePullSecrets
option are specified, only the imagePullSecrets
variable is used and the STRIMZI_IMAGE_PULL_SECRETS
variable is ignored."
fn spec.template.pod.withImagePullSecretsMixin
withImagePullSecretsMixin(imagePullSecrets)
"List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the STRIMZI_IMAGE_PULL_SECRETS
environment variable in Cluster Operator and the imagePullSecrets
option are specified, only the imagePullSecrets
variable is used and the STRIMZI_IMAGE_PULL_SECRETS
variable is ignored."
Note: This function appends passed data to existing values
fn spec.template.pod.withPriorityClassName
withPriorityClassName(priorityClassName)
"The name of the priority class used to assign priority to the pods. "
fn spec.template.pod.withSchedulerName
withSchedulerName(schedulerName)
"The name of the scheduler used to dispatch this Pod
. If not specified, the default scheduler will be used."
fn spec.template.pod.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds."
fn spec.template.pod.withTmpDirSizeLimit
withTmpDirSizeLimit(tmpDirSizeLimit)
"Defines the total amount (for example 1Gi
) of local storage required for temporary EmptyDir volume (/tmp
). Default value is 5Mi
."
fn spec.template.pod.withTolerations
withTolerations(tolerations)
"The pod's tolerations."
fn spec.template.pod.withTolerationsMixin
withTolerationsMixin(tolerations)
"The pod's tolerations."
Note: This function appends passed data to existing values
fn spec.template.pod.withTopologySpreadConstraints
withTopologySpreadConstraints(topologySpreadConstraints)
"The pod's topology spread constraints."
fn spec.template.pod.withTopologySpreadConstraintsMixin
withTopologySpreadConstraintsMixin(topologySpreadConstraints)
"The pod's topology spread constraints."
Note: This function appends passed data to existing values
obj spec.template.pod.affinity
"The pod's affinity rules."
obj spec.template.pod.affinity.nodeAffinity
fn spec.template.pod.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn spec.template.pod.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.withWeight
withWeight(weight)
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchFields
withMatchFields(matchFields)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchFieldsMixin
withMatchFieldsMixin(matchFields)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withKey
withKey(key)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withOperator
withOperator(operator)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withValues
withValues(values)
fn spec.template.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTerms
withNodeSelectorTerms(nodeSelectorTerms)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTermsMixin
withNodeSelectorTermsMixin(nodeSelectorTerms)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchFields
withMatchFields(matchFields)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchFieldsMixin
withMatchFieldsMixin(matchFields)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withKey
withKey(key)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withOperator
withOperator(operator)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withValues
withValues(values)
fn spec.template.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity
fn spec.template.pod.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn spec.template.pod.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn spec.template.pod.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.withWeight
withWeight(weight)
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withNamespaces
withNamespaces(namespaces)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withNamespacesMixin
withNamespacesMixin(namespaces)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withTopologyKey
withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNamespaces
withNamespaces(namespaces)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNamespacesMixin
withNamespacesMixin(namespaces)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.withTopologyKey
withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity
fn spec.template.pod.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn spec.template.pod.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn spec.template.pod.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.withWeight
withWeight(weight)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withNamespaces
withNamespaces(namespaces)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withNamespacesMixin
withNamespacesMixin(namespaces)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.withTopologyKey
withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNamespaces
withNamespaces(namespaces)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNamespacesMixin
withNamespacesMixin(namespaces)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.withTopologyKey
withTopologyKey(topologyKey)
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.pod.hostAliases
"The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified."
fn spec.template.pod.hostAliases.withHostnames
withHostnames(hostnames)
fn spec.template.pod.hostAliases.withHostnamesMixin
withHostnamesMixin(hostnames)
Note: This function appends passed data to existing values
fn spec.template.pod.hostAliases.withIp
withIp(ip)
obj spec.template.pod.imagePullSecrets
"List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the STRIMZI_IMAGE_PULL_SECRETS
environment variable in Cluster Operator and the imagePullSecrets
option are specified, only the imagePullSecrets
variable is used and the STRIMZI_IMAGE_PULL_SECRETS
variable is ignored."
fn spec.template.pod.imagePullSecrets.withName
withName(name)
obj spec.template.pod.metadata
"Metadata applied to the resource."
fn spec.template.pod.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.pod.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.pod.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.pod.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.pod.securityContext
"Configures pod-level security attributes and common container settings."
fn spec.template.pod.securityContext.withFsGroup
withFsGroup(fsGroup)
fn spec.template.pod.securityContext.withFsGroupChangePolicy
withFsGroupChangePolicy(fsGroupChangePolicy)
fn spec.template.pod.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.template.pod.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.template.pod.securityContext.withRunAsUser
withRunAsUser(runAsUser)
fn spec.template.pod.securityContext.withSupplementalGroups
withSupplementalGroups(supplementalGroups)
fn spec.template.pod.securityContext.withSupplementalGroupsMixin
withSupplementalGroupsMixin(supplementalGroups)
Note: This function appends passed data to existing values
fn spec.template.pod.securityContext.withSysctls
withSysctls(sysctls)
fn spec.template.pod.securityContext.withSysctlsMixin
withSysctlsMixin(sysctls)
Note: This function appends passed data to existing values
obj spec.template.pod.securityContext.seLinuxOptions
fn spec.template.pod.securityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.template.pod.securityContext.seLinuxOptions.withRole
withRole(role)
fn spec.template.pod.securityContext.seLinuxOptions.withType
withType(type)
fn spec.template.pod.securityContext.seLinuxOptions.withUser
withUser(user)
obj spec.template.pod.securityContext.seccompProfile
fn spec.template.pod.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.template.pod.securityContext.seccompProfile.withType
withType(type)
obj spec.template.pod.securityContext.sysctls
fn spec.template.pod.securityContext.sysctls.withName
withName(name)
fn spec.template.pod.securityContext.sysctls.withValue
withValue(value)
obj spec.template.pod.securityContext.windowsOptions
fn spec.template.pod.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.template.pod.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.template.pod.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.template.pod.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.template.pod.tolerations
"The pod's tolerations."
fn spec.template.pod.tolerations.withEffect
withEffect(effect)
fn spec.template.pod.tolerations.withKey
withKey(key)
fn spec.template.pod.tolerations.withOperator
withOperator(operator)
fn spec.template.pod.tolerations.withTolerationSeconds
withTolerationSeconds(tolerationSeconds)
fn spec.template.pod.tolerations.withValue
withValue(value)
obj spec.template.pod.topologySpreadConstraints
"The pod's topology spread constraints."
fn spec.template.pod.topologySpreadConstraints.withMatchLabelKeys
withMatchLabelKeys(matchLabelKeys)
fn spec.template.pod.topologySpreadConstraints.withMatchLabelKeysMixin
withMatchLabelKeysMixin(matchLabelKeys)
Note: This function appends passed data to existing values
fn spec.template.pod.topologySpreadConstraints.withMaxSkew
withMaxSkew(maxSkew)
fn spec.template.pod.topologySpreadConstraints.withMinDomains
withMinDomains(minDomains)
fn spec.template.pod.topologySpreadConstraints.withNodeAffinityPolicy
withNodeAffinityPolicy(nodeAffinityPolicy)
fn spec.template.pod.topologySpreadConstraints.withNodeTaintsPolicy
withNodeTaintsPolicy(nodeTaintsPolicy)
fn spec.template.pod.topologySpreadConstraints.withTopologyKey
withTopologyKey(topologyKey)
fn spec.template.pod.topologySpreadConstraints.withWhenUnsatisfiable
withWhenUnsatisfiable(whenUnsatisfiable)
obj spec.template.pod.topologySpreadConstraints.labelSelector
fn spec.template.pod.topologySpreadConstraints.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.template.pod.topologySpreadConstraints.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.template.pod.topologySpreadConstraints.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.template.pod.topologySpreadConstraints.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.template.pod.topologySpreadConstraints.labelSelector.matchExpressions
fn spec.template.pod.topologySpreadConstraints.labelSelector.matchExpressions.withKey
withKey(key)
fn spec.template.pod.topologySpreadConstraints.labelSelector.matchExpressions.withOperator
withOperator(operator)
fn spec.template.pod.topologySpreadConstraints.labelSelector.matchExpressions.withValues
withValues(values)
fn spec.template.pod.topologySpreadConstraints.labelSelector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.template.podDisruptionBudget
"Template for Kafka MirrorMaker PodDisruptionBudget
."
fn spec.template.podDisruptionBudget.withMaxUnavailable
withMaxUnavailable(maxUnavailable)
"Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the maxUnavailable
number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1."
obj spec.template.podDisruptionBudget.metadata
"Metadata to apply to the PodDisruptionBudgetTemplate
resource."
fn spec.template.podDisruptionBudget.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.podDisruptionBudget.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.podDisruptionBudget.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.podDisruptionBudget.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.serviceAccount
"Template for the Kafka MirrorMaker service account."
obj spec.template.serviceAccount.metadata
"Metadata applied to the resource."
fn spec.template.serviceAccount.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.serviceAccount.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.serviceAccount.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.serviceAccount.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.tracing
"The configuration of tracing in Kafka MirrorMaker."
fn spec.tracing.withType
withType(type)
"Type of the tracing used. Currently the only supported type is opentelemetry
for OpenTelemetry tracing. As of Strimzi 0.37.0, jaeger
type is not supported anymore and this option is ignored."