kafka.v1beta2.kafkaNodePool
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 withReplicas(replicas)
fn withRoles(roles)
fn withRolesMixin(roles)
obj spec.jvmOptions
obj spec.resources
obj spec.storage
fn withClass(class)
fn withDeleteClaim(deleteClaim)
fn withId(id)
fn withOverrides(overrides)
fn withOverridesMixin(overrides)
fn withSelector(selector)
fn withSelectorMixin(selector)
fn withSize(size)
fn withSizeLimit(sizeLimit)
fn withType(type)
fn withVolumes(volumes)
fn withVolumesMixin(volumes)
obj spec.storage.overrides
obj spec.storage.volumes
obj spec.template
obj spec.template.initContainer
fn withEnv(env)
fn withEnvMixin(env)
obj spec.template.initContainer.env
obj spec.template.initContainer.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.initContainer.securityContext.capabilities
obj spec.template.initContainer.securityContext.seLinuxOptions
obj spec.template.initContainer.securityContext.seccompProfile
obj spec.template.initContainer.securityContext.windowsOptions
obj spec.template.kafkaContainer
fn withEnv(env)
fn withEnvMixin(env)
obj spec.template.kafkaContainer.env
obj spec.template.kafkaContainer.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.kafkaContainer.securityContext.capabilities
obj spec.template.kafkaContainer.securityContext.seLinuxOptions
obj spec.template.kafkaContainer.securityContext.seccompProfile
obj spec.template.kafkaContainer.securityContext.windowsOptions
obj spec.template.perPodIngress
obj spec.template.perPodRoute
obj spec.template.perPodService
obj spec.template.persistentVolumeClaim
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.podSet
Fields
fn new
new(name)
new returns an instance of KafkaNodePool
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 the KafkaNodePool."
fn spec.withReplicas
withReplicas(replicas)
"The number of pods in the pool."
fn spec.withRoles
withRoles(roles)
"The roles that the nodes in this pool will have when KRaft mode is enabled. Supported values are 'broker' and 'controller'. This field is required. When KRaft mode is disabled, the only allowed value if broker
."
fn spec.withRolesMixin
withRolesMixin(roles)
"The roles that the nodes in this pool will have when KRaft mode is enabled. Supported values are 'broker' and 'controller'. This field is required. When KRaft mode is disabled, the only allowed value if broker
."
Note: This function appends passed data to existing values
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.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.storage
"Storage configuration (disk). Cannot be updated."
fn spec.storage.withClass
withClass(class)
"The storage class to use for dynamic volume allocation."
fn spec.storage.withDeleteClaim
withDeleteClaim(deleteClaim)
"Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed."
fn spec.storage.withId
withId(id)
"Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'."
fn spec.storage.withOverrides
withOverrides(overrides)
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
fn spec.storage.withOverridesMixin
withOverridesMixin(overrides)
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
Note: This function appends passed data to existing values
fn spec.storage.withSelector
withSelector(selector)
"Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume."
fn spec.storage.withSelectorMixin
withSelectorMixin(selector)
"Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume."
Note: This function appends passed data to existing values
fn spec.storage.withSize
withSize(size)
"When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim."
fn spec.storage.withSizeLimit
withSizeLimit(sizeLimit)
"When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi)."
fn spec.storage.withType
withType(type)
"Storage type, must be either 'ephemeral', 'persistent-claim', or 'jbod'."
fn spec.storage.withVolumes
withVolumes(volumes)
"List of volumes as Storage objects representing the JBOD disks array."
fn spec.storage.withVolumesMixin
withVolumesMixin(volumes)
"List of volumes as Storage objects representing the JBOD disks array."
Note: This function appends passed data to existing values
obj spec.storage.overrides
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
fn spec.storage.overrides.withBroker
withBroker(broker)
"Id of the kafka broker (broker identifier)."
fn spec.storage.overrides.withClass
withClass(class)
"The storage class to use for dynamic volume allocation for this broker."
obj spec.storage.volumes
"List of volumes as Storage objects representing the JBOD disks array."
fn spec.storage.volumes.withClass
withClass(class)
"The storage class to use for dynamic volume allocation."
fn spec.storage.volumes.withDeleteClaim
withDeleteClaim(deleteClaim)
"Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed."
fn spec.storage.volumes.withId
withId(id)
"Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'."
fn spec.storage.volumes.withOverrides
withOverrides(overrides)
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
fn spec.storage.volumes.withOverridesMixin
withOverridesMixin(overrides)
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
Note: This function appends passed data to existing values
fn spec.storage.volumes.withSelector
withSelector(selector)
"Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume."
fn spec.storage.volumes.withSelectorMixin
withSelectorMixin(selector)
"Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume."
Note: This function appends passed data to existing values
fn spec.storage.volumes.withSize
withSize(size)
"When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim."
fn spec.storage.volumes.withSizeLimit
withSizeLimit(sizeLimit)
"When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi)."
fn spec.storage.volumes.withType
withType(type)
"Storage type, must be either 'ephemeral' or 'persistent-claim'."
obj spec.storage.volumes.overrides
"Overrides for individual brokers. The overrides
field allows to specify a different configuration for different brokers."
fn spec.storage.volumes.overrides.withBroker
withBroker(broker)
"Id of the kafka broker (broker identifier)."
fn spec.storage.volumes.overrides.withClass
withClass(class)
"The storage class to use for dynamic volume allocation for this broker."
obj spec.template
"Template for pool resources. The template allows users to specify how the resources belonging to this pool are generated."
obj spec.template.initContainer
"Template for the Kafka init container."
fn spec.template.initContainer.withEnv
withEnv(env)
"Environment variables which should be applied to the container."
fn spec.template.initContainer.withEnvMixin
withEnvMixin(env)
"Environment variables which should be applied to the container."
Note: This function appends passed data to existing values
obj spec.template.initContainer.env
"Environment variables which should be applied to the container."
fn spec.template.initContainer.env.withName
withName(name)
"The environment variable key."
fn spec.template.initContainer.env.withValue
withValue(value)
"The environment variable value."
obj spec.template.initContainer.securityContext
"Security context for the container."
fn spec.template.initContainer.securityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn spec.template.initContainer.securityContext.withPrivileged
withPrivileged(privileged)
fn spec.template.initContainer.securityContext.withProcMount
withProcMount(procMount)
fn spec.template.initContainer.securityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn spec.template.initContainer.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.template.initContainer.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.template.initContainer.securityContext.withRunAsUser
withRunAsUser(runAsUser)
obj spec.template.initContainer.securityContext.capabilities
fn spec.template.initContainer.securityContext.capabilities.withAdd
withAdd(add)
fn spec.template.initContainer.securityContext.capabilities.withAddMixin
withAddMixin(add)
Note: This function appends passed data to existing values
fn spec.template.initContainer.securityContext.capabilities.withDrop
withDrop(drop)
fn spec.template.initContainer.securityContext.capabilities.withDropMixin
withDropMixin(drop)
Note: This function appends passed data to existing values
obj spec.template.initContainer.securityContext.seLinuxOptions
fn spec.template.initContainer.securityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.template.initContainer.securityContext.seLinuxOptions.withRole
withRole(role)
fn spec.template.initContainer.securityContext.seLinuxOptions.withType
withType(type)
fn spec.template.initContainer.securityContext.seLinuxOptions.withUser
withUser(user)
obj spec.template.initContainer.securityContext.seccompProfile
fn spec.template.initContainer.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.template.initContainer.securityContext.seccompProfile.withType
withType(type)
obj spec.template.initContainer.securityContext.windowsOptions
fn spec.template.initContainer.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.template.initContainer.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.template.initContainer.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.template.initContainer.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.template.kafkaContainer
"Template for the Kafka broker container."
fn spec.template.kafkaContainer.withEnv
withEnv(env)
"Environment variables which should be applied to the container."
fn spec.template.kafkaContainer.withEnvMixin
withEnvMixin(env)
"Environment variables which should be applied to the container."
Note: This function appends passed data to existing values
obj spec.template.kafkaContainer.env
"Environment variables which should be applied to the container."
fn spec.template.kafkaContainer.env.withName
withName(name)
"The environment variable key."
fn spec.template.kafkaContainer.env.withValue
withValue(value)
"The environment variable value."
obj spec.template.kafkaContainer.securityContext
"Security context for the container."
fn spec.template.kafkaContainer.securityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn spec.template.kafkaContainer.securityContext.withPrivileged
withPrivileged(privileged)
fn spec.template.kafkaContainer.securityContext.withProcMount
withProcMount(procMount)
fn spec.template.kafkaContainer.securityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn spec.template.kafkaContainer.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
fn spec.template.kafkaContainer.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
fn spec.template.kafkaContainer.securityContext.withRunAsUser
withRunAsUser(runAsUser)
obj spec.template.kafkaContainer.securityContext.capabilities
fn spec.template.kafkaContainer.securityContext.capabilities.withAdd
withAdd(add)
fn spec.template.kafkaContainer.securityContext.capabilities.withAddMixin
withAddMixin(add)
Note: This function appends passed data to existing values
fn spec.template.kafkaContainer.securityContext.capabilities.withDrop
withDrop(drop)
fn spec.template.kafkaContainer.securityContext.capabilities.withDropMixin
withDropMixin(drop)
Note: This function appends passed data to existing values
obj spec.template.kafkaContainer.securityContext.seLinuxOptions
fn spec.template.kafkaContainer.securityContext.seLinuxOptions.withLevel
withLevel(level)
fn spec.template.kafkaContainer.securityContext.seLinuxOptions.withRole
withRole(role)
fn spec.template.kafkaContainer.securityContext.seLinuxOptions.withType
withType(type)
fn spec.template.kafkaContainer.securityContext.seLinuxOptions.withUser
withUser(user)
obj spec.template.kafkaContainer.securityContext.seccompProfile
fn spec.template.kafkaContainer.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
fn spec.template.kafkaContainer.securityContext.seccompProfile.withType
withType(type)
obj spec.template.kafkaContainer.securityContext.windowsOptions
fn spec.template.kafkaContainer.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
fn spec.template.kafkaContainer.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
fn spec.template.kafkaContainer.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
fn spec.template.kafkaContainer.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
obj spec.template.perPodIngress
"Template for Kafka per-pod Ingress
used for access from outside of Kubernetes."
obj spec.template.perPodIngress.metadata
"Metadata applied to the resource."
fn spec.template.perPodIngress.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.perPodIngress.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.perPodIngress.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.perPodIngress.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.perPodRoute
"Template for Kafka per-pod Routes
used for access from outside of OpenShift."
obj spec.template.perPodRoute.metadata
"Metadata applied to the resource."
fn spec.template.perPodRoute.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.perPodRoute.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.perPodRoute.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.perPodRoute.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.perPodService
"Template for Kafka per-pod Services
used for access from outside of Kubernetes."
obj spec.template.perPodService.metadata
"Metadata applied to the resource."
fn spec.template.perPodService.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.perPodService.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.perPodService.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.perPodService.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.persistentVolumeClaim
"Template for all Kafka PersistentVolumeClaims
."
obj spec.template.persistentVolumeClaim.metadata
"Metadata applied to the resource."
fn spec.template.persistentVolumeClaim.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.persistentVolumeClaim.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.persistentVolumeClaim.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.persistentVolumeClaim.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values
obj spec.template.pod
"Template for Kafka 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. For more information about priority classes, see {K8sPriorityClass}."
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.podSet
"Template for Kafka StrimziPodSet
resource."
obj spec.template.podSet.metadata
"Metadata applied to the resource."
fn spec.template.podSet.metadata.withAnnotations
withAnnotations(annotations)
"Annotations added to the Kubernetes resource."
fn spec.template.podSet.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations added to the Kubernetes resource."
Note: This function appends passed data to existing values
fn spec.template.podSet.metadata.withLabels
withLabels(labels)
"Labels added to the Kubernetes resource."
fn spec.template.podSet.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels added to the Kubernetes resource."
Note: This function appends passed data to existing values