Deployment
Deployment enables declarative updates for Pods and ReplicaSets.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
- There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
- The Deployment’s ‘.status.conditions’ has a status of type ‘Available’ whose ‘status’ member is set to ‘True’.
- If the Deployment has generation > 1, then ‘.status.conditions’ has a status of type ‘Progressing’, whose ‘status’ member is set to ‘True’, and whose ‘reason’ is ‘NewReplicaSetAvailable’. For generation <= 1, this status field does not exist, because it doesn’t do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as ‘Progressing’.
If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the ‘customTimeouts’ option on the resource.
Deprecated: apps/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
Create a Deployment Resource
new Deployment(name: string, args?: Deployment, opts?: CustomResourceOptions);def Deployment(resource_name, opts=None, metadata=None, spec=None);func NewDeployment(ctx *Context, name string, args *DeploymentArgs, opts ...ResourceOption) (*Deployment, error)public Deployment(string name, DeploymentArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args Deployment
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Deployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Deployment resource accepts the following input properties:
- Metadata
Pulumi.
Kubernetes. Meta. V1. Inputs. Object Meta Args - Standard object metadata.
- Spec
Deployment
Spec Args - Specification of the desired behavior of the Deployment.
- Metadata
Object
Meta - Standard object metadata.
- Spec
Deployment
Spec - Specification of the desired behavior of the Deployment.
- metadata
meta.v1.
Object Meta - Standard object metadata.
- spec
Deployment
Spec - Specification of the desired behavior of the Deployment.
- metadata
Dict[Object
Meta] - Standard object metadata.
- spec
Dict[Deployment
Spec] - Specification of the desired behavior of the Deployment.
Outputs
All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Deployment
Status - Most recently observed status of the Deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Deployment
Status - Most recently observed status of the Deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Deployment
Status - Most recently observed status of the Deployment.
- id str
- The provider-assigned unique ID for this managed resource.
- status
Dict[Deployment
Status] - Most recently observed status of the Deployment.
Supporting Types
AWSElasticBlockStoreVolumeSource
- Volume
ID string - Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Partition int
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty).
- Read
Only bool - Specify “true” to force and set the ReadOnly property in VolumeMounts to “true”. If omitted, the default is “false”. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Volume
ID string - Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Partition int
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty).
- Read
Only bool - Specify “true” to force and set the ReadOnly property in VolumeMounts to “true”. If omitted, the default is “false”. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- volume
ID string - Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- partition number
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty).
- read
Only boolean - Specify “true” to force and set the ReadOnly property in VolumeMounts to “true”. If omitted, the default is “false”. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- volume_
id str - Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- fs_
type str - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- partition float
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty).
- read_
only bool - Specify “true” to force and set the ReadOnly property in VolumeMounts to “true”. If omitted, the default is “false”. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
Affinity
- Node
Affinity Pulumi.Kubernetes. Core. V1. Inputs. Node Affinity Args - Describes node affinity scheduling rules for the pod.
- Pod
Affinity Pulumi.Kubernetes. Core. V1. Inputs. Pod Affinity Args - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- Pod
Anti Pulumi.Affinity Kubernetes. Core. V1. Inputs. Pod Anti Affinity Args - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
- Node
Affinity NodeAffinity - Describes node affinity scheduling rules for the pod.
- Pod
Affinity PodAffinity - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- Pod
Anti PodAffinity Anti Affinity - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
- node
Affinity core.v1.Node Affinity - Describes node affinity scheduling rules for the pod.
- pod
Affinity core.v1.Pod Affinity - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- pod
Anti core.v1.Affinity Pod Anti Affinity - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
- node_
affinity Dict[NodeAffinity] - Describes node affinity scheduling rules for the pod.
- pod_
affinity Dict[PodAffinity] - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- pod_
anti_ Dict[Podaffinity Anti Affinity] - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
AzureDiskVolumeSource
- Disk
Name string - The Name of the data disk in the blob storage
- Disk
URI string - The URI the data disk in the blob storage
- Caching
Mode string - Host Caching mode: None, Read Only, Read Write.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Kind string
- Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Disk
Name string - The Name of the data disk in the blob storage
- Disk
URI string - The URI the data disk in the blob storage
- Caching
Mode string - Host Caching mode: None, Read Only, Read Write.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Kind string
- Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- disk
Name string - The Name of the data disk in the blob storage
- disk
URI string - The URI the data disk in the blob storage
- caching
Mode string - Host Caching mode: None, Read Only, Read Write.
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- kind string
- Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
- read
Only boolean - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- disk_
name str - The Name of the data disk in the blob storage
- disk_
uri str - The URI the data disk in the blob storage
- caching_
mode str - Host Caching mode: None, Read Only, Read Write.
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- kind str
- Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
- read_
only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
AzureFileVolumeSource
- Secret
Name string - the name of secret that contains Azure Storage Account Name and Key
- string
- Share Name
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Secret
Name string - the name of secret that contains Azure Storage Account Name and Key
- string
- Share Name
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret
Name string - the name of secret that contains Azure Storage Account Name and Key
- string
- Share Name
- read
Only boolean - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret_
name str - the name of secret that contains Azure Storage Account Name and Key
- str
- Share Name
- read_
only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
CSIVolumeSource
- Driver string
- Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
- Fs
Type string - Filesystem type to mount. Ex. “ext4”, “xfs”, “ntfs”. If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
- Node
Publish Pulumi.Secret Ref Kubernetes. Core. V1. Inputs. Local Object Reference Args - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- Read
Only bool - Specifies a read-only configuration for the volume. Defaults to false (read/write).
- Volume
Attributes Dictionary<string, string> - VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver’s documentation for supported values.
- Driver string
- Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
- Fs
Type string - Filesystem type to mount. Ex. “ext4”, “xfs”, “ntfs”. If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
- Node
Publish LocalSecret Ref Object Reference - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- Read
Only bool - Specifies a read-only configuration for the volume. Defaults to false (read/write).
- Volume
Attributes map[string]string - VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver’s documentation for supported values.
- driver string
- Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
- fs
Type string - Filesystem type to mount. Ex. “ext4”, “xfs”, “ntfs”. If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
- node
Publish core.v1.Secret Ref Local Object Reference - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- read
Only boolean - Specifies a read-only configuration for the volume. Defaults to false (read/write).
- volume
Attributes {[key: string]: string} - VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver’s documentation for supported values.
- driver str
- Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
- fs_
type str - Filesystem type to mount. Ex. “ext4”, “xfs”, “ntfs”. If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
- node_
publish_ Dict[Localsecret_ ref Object Reference] - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- read_
only bool - Specifies a read-only configuration for the volume. Defaults to false (read/write).
- volume_
attributes Dict[str, str] - VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver’s documentation for supported values.
Capabilities
- Add List<string>
- Added capabilities
- Drop List<string>
- Removed capabilities
CephFSVolumeSource
- Monitors List<string>
- Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Path string
- Optional: Used as the mounted root, rather than the full Ceph tree, default is /
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Secret
File string - Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- User string
- Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Monitors []string
- Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Path string
- Optional: Used as the mounted root, rather than the full Ceph tree, default is /
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Secret
File string - Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- Secret
Ref LocalObject Reference - Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- User string
- Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- monitors string[]
- Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- path string
- Optional: Used as the mounted root, rather than the full Ceph tree, default is /
- read
Only boolean - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- secret
File string - Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- secret
Ref core.v1.Local Object Reference - Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- user string
- Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- monitors List[str]
- Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- path str
- Optional: Used as the mounted root, rather than the full Ceph tree, default is /
- read_
only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- secret_
file str - Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- secret_
ref Dict[LocalObject Reference] - Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
- user str
- Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
CinderVolumeSource
- Volume
ID string - volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - Optional: points to a secret object containing parameters used to connect to OpenStack.
- Volume
ID string - volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Secret
Ref LocalObject Reference - Optional: points to a secret object containing parameters used to connect to OpenStack.
- volume
ID string - volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- read
Only boolean - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- secret
Ref core.v1.Local Object Reference - Optional: points to a secret object containing parameters used to connect to OpenStack.
- volume_
id str - volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- read_
only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- secret_
ref Dict[LocalObject Reference] - Optional: points to a secret object containing parameters used to connect to OpenStack.
ConfigMapEnvSource
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap must be defined
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap must be defined
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional boolean
- Specify whether the ConfigMap must be defined
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional bool
- Specify whether the ConfigMap must be defined
ConfigMapKeySelector
ConfigMapProjection
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Key To Path Args> - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap or its keys must be defined
- Items
Key
To Path - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap or its keys must be defined
- items
core.v1.
Key To Path[] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional boolean
- Specify whether the ConfigMap or its keys must be defined
- items
List[Key
To Path] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional bool
- Specify whether the ConfigMap or its keys must be defined
ConfigMapVolumeSource
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Key To Path Args> - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap or its keys must be defined
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
Key
To Path - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the ConfigMap or its keys must be defined
- default
Mode number - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
core.v1.
Key To Path[] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional boolean
- Specify whether the ConfigMap or its keys must be defined
- default_
mode float - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
List[Key
To Path] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional bool
- Specify whether the ConfigMap or its keys must be defined
Container
- Name string
- Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- Args List<string>
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Command List<string>
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Env
List<Pulumi.
Kubernetes. Core. V1. Inputs. Env Var Args> - List of environment variables to set in the container. Cannot be updated.
- Env
From List<Pulumi.Kubernetes. Core. V1. Inputs. Env From Source Args> - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- Image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
- Image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- Lifecycle
Pulumi.
Kubernetes. Core. V1. Inputs. Lifecycle Args - Actions that the management system should take in response to container lifecycle events. Cannot be updated.
- Liveness
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Ports
List<Pulumi.
Kubernetes. Core. V1. Inputs. Container Port Args> - List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default “0.0.0.0” address inside a container will be accessible from the network. Cannot be updated.
- Readiness
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Resources
Pulumi.
Kubernetes. Core. V1. Inputs. Resource Requirements Args - Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- Security
Context Pulumi.Kubernetes. Core. V1. Inputs. Security Context Args - Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- Startup
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod’s lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- Stdin
Once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- Termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- Termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- Tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- Volume
Devices List<Pulumi.Kubernetes. Core. V1. Inputs. Volume Device Args> - volumeDevices is the list of block devices to be used by the container.
- Volume
Mounts List<Pulumi.Kubernetes. Core. V1. Inputs. Volume Mount Args> - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- Working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- Name string
- Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- Args []string
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Command []string
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Env
Env
Var - List of environment variables to set in the container. Cannot be updated.
- Env
From EnvFrom Source - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- Image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
- Image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- Lifecycle Lifecycle
- Actions that the management system should take in response to container lifecycle events. Cannot be updated.
- Liveness
Probe Probe - Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Ports
Container
Port - List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default “0.0.0.0” address inside a container will be accessible from the network. Cannot be updated.
- Readiness
Probe Probe - Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Resources
Resource
Requirements - Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- Security
Context SecurityContext - Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- Startup
Probe Probe - StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod’s lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- Stdin
Once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- Termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- Termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- Tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- Volume
Devices VolumeDevice - volumeDevices is the list of block devices to be used by the container.
- Volume
Mounts VolumeMount - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- Working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- name string
- Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- args string[]
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- command string[]
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- env
core.v1.
Env Var[] - List of environment variables to set in the container. Cannot be updated.
- env
From core.v1.Env From Source[] - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
- image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- lifecycle
core.v1.
Lifecycle - Actions that the management system should take in response to container lifecycle events. Cannot be updated.
- liveness
Probe core.v1.Probe - Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- ports
core.v1.
Container Port[] - List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default “0.0.0.0” address inside a container will be accessible from the network. Cannot be updated.
- readiness
Probe core.v1.Probe - Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- resources
core.v1.
Resource Requirements - Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- security
Context core.v1.Security Context - Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- startup
Probe core.v1.Probe - StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod’s lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- stdin boolean
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- stdin
Once boolean - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- tty boolean
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- volume
Devices core.v1.Volume Device[] - volumeDevices is the list of block devices to be used by the container.
- volume
Mounts core.v1.Volume Mount[] - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- name str
- Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- args List[str]
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- command List[str]
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- env
List[Env
Var] - List of environment variables to set in the container. Cannot be updated.
- env_
from List[EnvFrom Source] - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- image str
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
- image_
pull_ strpolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- lifecycle Dict[Lifecycle]
- Actions that the management system should take in response to container lifecycle events. Cannot be updated.
- liveness_
probe Dict[Probe] - Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- ports
List[Container
Port] - List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default “0.0.0.0” address inside a container will be accessible from the network. Cannot be updated.
- readiness_
probe Dict[Probe] - Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- resources
Dict[Resource
Requirements] - Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- security_
context Dict[SecurityContext] - Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- startup_
probe Dict[Probe] - StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod’s lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- stdin_
once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- termination_
message_ strpath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- termination_
message_ strpolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- volume_
devices List[VolumeDevice] - volumeDevices is the list of block devices to be used by the container.
- volume_
mounts List[VolumeMount] - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- working_
dir str - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
ContainerPort
- Container
Port intValue - Number of port to expose on the pod’s IP address. This must be a valid port number, 0 < x < 65536.
- Host
IP string - What host IP to bind the external port to.
- Host
Port int - Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
- Name string
- If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
- Protocol string
- Protocol for port. Must be UDP, TCP, or SCTP. Defaults to “TCP”.
- Container
Port int - Number of port to expose on the pod’s IP address. This must be a valid port number, 0 < x < 65536.
- Host
IP string - What host IP to bind the external port to.
- Host
Port int - Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
- Name string
- If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
- Protocol string
- Protocol for port. Must be UDP, TCP, or SCTP. Defaults to “TCP”.
- container
Port number - Number of port to expose on the pod’s IP address. This must be a valid port number, 0 < x < 65536.
- host
IP string - What host IP to bind the external port to.
- host
Port number - Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
- name string
- If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
- protocol string
- Protocol for port. Must be UDP, TCP, or SCTP. Defaults to “TCP”.
- container_
port float - Number of port to expose on the pod’s IP address. This must be a valid port number, 0 < x < 65536.
- host_
ip str - What host IP to bind the external port to.
- host_
port float - Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
- name str
- If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
- protocol str
- Protocol for port. Must be UDP, TCP, or SCTP. Defaults to “TCP”.
DeploymentCondition
See the output API doc for this type.
See the output API doc for this type.
- Status string
- Status of the condition, one of True, False, Unknown.
- Type string
- Type of deployment condition.
- Last
Transition stringTime - Last time the condition transitioned from one status to another.
- Last
Update stringTime - The last time this condition was updated.
- Message string
- A human readable message indicating details about the transition.
- Reason string
- The reason for the condition’s last transition.
- Status string
- Status of the condition, one of True, False, Unknown.
- Type string
- Type of deployment condition.
- Last
Transition stringTime - Last time the condition transitioned from one status to another.
- Last
Update stringTime - The last time this condition was updated.
- Message string
- A human readable message indicating details about the transition.
- Reason string
- The reason for the condition’s last transition.
- status string
- Status of the condition, one of True, False, Unknown.
- type string
- Type of deployment condition.
- last
Transition stringTime - Last time the condition transitioned from one status to another.
- last
Update stringTime - The last time this condition was updated.
- message string
- A human readable message indicating details about the transition.
- reason string
- The reason for the condition’s last transition.
- status str
- Status of the condition, one of True, False, Unknown.
- type str
- Type of deployment condition.
- last_
transition_ strtime - Last time the condition transitioned from one status to another.
- last_
update_ strtime - The last time this condition was updated.
- message str
- A human readable message indicating details about the transition.
- reason str
- The reason for the condition’s last transition.
DeploymentSpec
- Template
Pulumi.
Kubernetes. Core. V1. Inputs. Pod Template Spec Args - Template describes the pods that will be created.
- Min
Ready intSeconds - Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- Paused bool
- Indicates that the deployment is paused.
- Progress
Deadline intSeconds - The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
- Replicas int
- Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- Revision
History intLimit - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
- Rollback
To RollbackConfig Args - DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
- Selector
Pulumi.
Kubernetes. Meta. V1. Inputs. Label Selector Args - Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- Strategy
Deployment
Strategy Args - The deployment strategy to use to replace existing pods with new ones.
- Template
Pod
Template Spec - Template describes the pods that will be created.
- Min
Ready intSeconds - Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- Paused bool
- Indicates that the deployment is paused.
- Progress
Deadline intSeconds - The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
- Replicas int
- Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- Revision
History intLimit - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
- Rollback
To RollbackConfig - DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
- Selector
Label
Selector - Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- Strategy
Deployment
Strategy - The deployment strategy to use to replace existing pods with new ones.
- template
core.v1.
Pod Template Spec - Template describes the pods that will be created.
- min
Ready numberSeconds - Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- paused boolean
- Indicates that the deployment is paused.
- progress
Deadline numberSeconds - The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
- replicas number
- Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- revision
History numberLimit - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
- rollback
To RollbackConfig - DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
- selector
meta.v1.
Label Selector - Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- strategy
Deployment
Strategy - The deployment strategy to use to replace existing pods with new ones.
- template
Dict[Pod
Template Spec] - Template describes the pods that will be created.
- min_
ready_ floatseconds - Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- paused bool
- Indicates that the deployment is paused.
- progress_
deadline_ floatseconds - The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
- replicas float
- Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- revision_
history_ floatlimit - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
- rollback_
to Dict[RollbackConfig] - DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
- selector
Dict[Label
Selector] - Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- strategy
Dict[Deployment
Strategy] - The deployment strategy to use to replace existing pods with new ones.
DeploymentStatus
See the output API doc for this type.
See the output API doc for this type.
- Available
Replicas int - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- Collision
Count int - Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
- Conditions
List<Deployment
Condition Args> - Represents the latest available observations of a deployment’s current state.
- Observed
Generation int - The generation observed by the deployment controller.
- Ready
Replicas int - Total number of ready pods targeted by this deployment.
- Replicas int
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
- int
- Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
- Updated
Replicas int - Total number of non-terminated pods targeted by this deployment that have the desired template spec.
- Available
Replicas int - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- Collision
Count int - Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
- Conditions
[]Deployment
Condition - Represents the latest available observations of a deployment’s current state.
- Observed
Generation int - The generation observed by the deployment controller.
- Ready
Replicas int - Total number of ready pods targeted by this deployment.
- Replicas int
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
- int
- Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
- Updated
Replicas int - Total number of non-terminated pods targeted by this deployment that have the desired template spec.
- available
Replicas number - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- collision
Count number - Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
- conditions
Deployment
Condition[] - Represents the latest available observations of a deployment’s current state.
- observed
Generation number - The generation observed by the deployment controller.
- ready
Replicas number - Total number of ready pods targeted by this deployment.
- replicas number
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
- number
- Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
- updated
Replicas number - Total number of non-terminated pods targeted by this deployment that have the desired template spec.
- available_
replicas float - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- collision_
count float - Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
- conditions
List[Deployment
Condition] - Represents the latest available observations of a deployment’s current state.
- observed_
generation float - The generation observed by the deployment controller.
- ready_
replicas float - Total number of ready pods targeted by this deployment.
- replicas float
- Total number of non-terminated pods targeted by this deployment (their labels match the selector).
- float
- Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
- updated_
replicas float - Total number of non-terminated pods targeted by this deployment that have the desired template spec.
DeploymentStrategy
- Rolling
Update RollingUpdate Deployment Args - Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- Type string
- Type of deployment. Can be “Recreate” or “RollingUpdate”. Default is RollingUpdate.
- Rolling
Update RollingUpdate Deployment - Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- Type string
- Type of deployment. Can be “Recreate” or “RollingUpdate”. Default is RollingUpdate.
- rolling
Update RollingUpdate Deployment - Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- type string
- Type of deployment. Can be “Recreate” or “RollingUpdate”. Default is RollingUpdate.
- rolling_
update Dict[RollingUpdate Deployment] - Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- type str
- Type of deployment. Can be “Recreate” or “RollingUpdate”. Default is RollingUpdate.
DownwardAPIProjection
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Downward APIVolume File Args> - Items is a list of DownwardAPIVolume file
- Items
Downward
APIVolume File - Items is a list of DownwardAPIVolume file
- items
core.v1.
Downward APIVolume File[] - Items is a list of DownwardAPIVolume file
- items
List[Downward
APIVolume File] - Items is a list of DownwardAPIVolume file
DownwardAPIVolumeFile
- Path string
- Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
- Field
Ref Pulumi.Kubernetes. Core. V1. Inputs. Object Field Selector Args - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
- Mode int
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Resource
Field Pulumi.Ref Kubernetes. Core. V1. Inputs. Resource Field Selector Args - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- Path string
- Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
- Field
Ref ObjectField Selector - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
- Mode int
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Resource
Field ResourceRef Field Selector - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- path string
- Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
- field
Ref core.v1.Object Field Selector - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
- mode number
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- resource
Field core.v1.Ref Resource Field Selector - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- path str
- Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
- field_
ref Dict[ObjectField Selector] - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
- mode float
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- resource_
field_ Dict[Resourceref Field Selector] - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
DownwardAPIVolumeSource
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Downward APIVolume File Args> - Items is a list of downward API volume file
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
Downward
APIVolume File - Items is a list of downward API volume file
- default
Mode number - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
core.v1.
Downward APIVolume File[] - Items is a list of downward API volume file
- default_
mode float - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
List[Downward
APIVolume File] - Items is a list of downward API volume file
EmptyDirVolumeSource
- Medium string
- What type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- Size
Limit string - Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
- Medium string
- What type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- Size
Limit string - Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
- medium string
- What type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- size
Limit string - Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
- medium str
- What type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- size_
limit str - Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
EnvFromSource
- Config
Map Pulumi.Ref Kubernetes. Core. V1. Inputs. Config Map Env Source Args - The ConfigMap to select from
- Prefix string
- An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Secret Env Source Args - The Secret to select from
- Config
Map ConfigRef Map Env Source - The ConfigMap to select from
- Prefix string
- An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
- Secret
Ref SecretEnv Source - The Secret to select from
- config
Map core.v1.Ref Config Map Env Source - The ConfigMap to select from
- prefix string
- An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
- secret
Ref core.v1.Secret Env Source - The Secret to select from
- config_
map_ Dict[Configref Map Env Source] - The ConfigMap to select from
- prefix str
- An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
- secret_
ref Dict[SecretEnv Source] - The Secret to select from
EnvVar
- Name string
- Name of the environment variable. Must be a C_IDENTIFIER.
- Value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”.
- Value
From Pulumi.Kubernetes. Core. V1. Inputs. Env Var Source Args - Source for the environment variable’s value. Cannot be used if value is not empty.
- Name string
- Name of the environment variable. Must be a C_IDENTIFIER.
- Value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”.
- Value
From EnvVar Source - Source for the environment variable’s value. Cannot be used if value is not empty.
- name string
- Name of the environment variable. Must be a C_IDENTIFIER.
- value string
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”.
- value
From core.v1.Env Var Source - Source for the environment variable’s value. Cannot be used if value is not empty.
- name str
- Name of the environment variable. Must be a C_IDENTIFIER.
- value str
- Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”.
- value_
from Dict[EnvVar Source] - Source for the environment variable’s value. Cannot be used if value is not empty.
EnvVarSource
- Config
Map Pulumi.Key Ref Kubernetes. Core. V1. Inputs. Config Map Key Selector Args - Selects a key of a ConfigMap.
- Field
Ref Pulumi.Kubernetes. Core. V1. Inputs. Object Field Selector Args - Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
- Resource
Field Pulumi.Ref Kubernetes. Core. V1. Inputs. Resource Field Selector Args - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- Secret
Key Pulumi.Ref Kubernetes. Core. V1. Inputs. Secret Key Selector Args - Selects a key of a secret in the pod’s namespace
- Config
Map ConfigKey Ref Map Key Selector - Selects a key of a ConfigMap.
- Field
Ref ObjectField Selector - Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
- Resource
Field ResourceRef Field Selector - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- Secret
Key SecretRef Key Selector - Selects a key of a secret in the pod’s namespace
- config
Map core.v1.Key Ref Config Map Key Selector - Selects a key of a ConfigMap.
- field
Ref core.v1.Object Field Selector - Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
- resource
Field core.v1.Ref Resource Field Selector - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- secret
Key core.v1.Ref Secret Key Selector - Selects a key of a secret in the pod’s namespace
- config_
map_ Dict[Configkey_ ref Map Key Selector] - Selects a key of a ConfigMap.
- field_
ref Dict[ObjectField Selector] - Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
- resource_
field_ Dict[Resourceref Field Selector] - Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- secret_
key_ Dict[Secretref Key Selector] - Selects a key of a secret in the pod’s namespace
EphemeralContainer
- Name string
- Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
- Args List<string>
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Command List<string>
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Env
List<Pulumi.
Kubernetes. Core. V1. Inputs. Env Var Args> - List of environment variables to set in the container. Cannot be updated.
- Env
From List<Pulumi.Kubernetes. Core. V1. Inputs. Env From Source Args> - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- Image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
- Image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- Lifecycle
Pulumi.
Kubernetes. Core. V1. Inputs. Lifecycle Args - Lifecycle is not allowed for ephemeral containers.
- Liveness
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - Probes are not allowed for ephemeral containers.
- Ports
List<Pulumi.
Kubernetes. Core. V1. Inputs. Container Port Args> - Ports are not allowed for ephemeral containers.
- Readiness
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - Probes are not allowed for ephemeral containers.
- Resources
Pulumi.
Kubernetes. Core. V1. Inputs. Resource Requirements Args - Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.
- Security
Context Pulumi.Kubernetes. Core. V1. Inputs. Security Context Args - SecurityContext is not allowed for ephemeral containers.
- Startup
Probe Pulumi.Kubernetes. Core. V1. Inputs. Probe Args - Probes are not allowed for ephemeral containers.
- Stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- Stdin
Once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- Target
Container stringName - If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.
- Termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- Termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- Tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- Volume
Devices List<Pulumi.Kubernetes. Core. V1. Inputs. Volume Device Args> - volumeDevices is the list of block devices to be used by the container.
- Volume
Mounts List<Pulumi.Kubernetes. Core. V1. Inputs. Volume Mount Args> - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- Working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- Name string
- Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
- Args []string
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Command []string
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- Env
Env
Var - List of environment variables to set in the container. Cannot be updated.
- Env
From EnvFrom Source - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- Image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
- Image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- Lifecycle Lifecycle
- Lifecycle is not allowed for ephemeral containers.
- Liveness
Probe Probe - Probes are not allowed for ephemeral containers.
- Ports
Container
Port - Ports are not allowed for ephemeral containers.
- Readiness
Probe Probe - Probes are not allowed for ephemeral containers.
- Resources
Resource
Requirements - Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.
- Security
Context SecurityContext - SecurityContext is not allowed for ephemeral containers.
- Startup
Probe Probe - Probes are not allowed for ephemeral containers.
- Stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- Stdin
Once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- Target
Container stringName - If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.
- Termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- Termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- Tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- Volume
Devices VolumeDevice - volumeDevices is the list of block devices to be used by the container.
- Volume
Mounts VolumeMount - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- Working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- name string
- Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
- args string[]
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- command string[]
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- env
core.v1.
Env Var[] - List of environment variables to set in the container. Cannot be updated.
- env
From core.v1.Env From Source[] - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- image string
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
- image
Pull stringPolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- lifecycle
core.v1.
Lifecycle - Lifecycle is not allowed for ephemeral containers.
- liveness
Probe core.v1.Probe - Probes are not allowed for ephemeral containers.
- ports
core.v1.
Container Port[] - Ports are not allowed for ephemeral containers.
- readiness
Probe core.v1.Probe - Probes are not allowed for ephemeral containers.
- resources
core.v1.
Resource Requirements - Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.
- security
Context core.v1.Security Context - SecurityContext is not allowed for ephemeral containers.
- startup
Probe core.v1.Probe - Probes are not allowed for ephemeral containers.
- stdin boolean
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- stdin
Once boolean - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- target
Container stringName - If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.
- termination
Message stringPath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- termination
Message stringPolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- tty boolean
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- volume
Devices core.v1.Volume Device[] - volumeDevices is the list of block devices to be used by the container.
- volume
Mounts core.v1.Volume Mount[] - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- working
Dir string - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
- name str
- Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
- args List[str]
- Arguments to the entrypoint. The docker image’s CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- command List[str]
- Entrypoint array. Not executed within a shell. The docker image’s ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
- env
List[Env
Var] - List of environment variables to set in the container. Cannot be updated.
- env_
from List[EnvFrom Source] - List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
- image str
- Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
- image_
pull_ strpolicy - Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- lifecycle Dict[Lifecycle]
- Lifecycle is not allowed for ephemeral containers.
- liveness_
probe Dict[Probe] - Probes are not allowed for ephemeral containers.
- ports
List[Container
Port] - Ports are not allowed for ephemeral containers.
- readiness_
probe Dict[Probe] - Probes are not allowed for ephemeral containers.
- resources
Dict[Resource
Requirements] - Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.
- security_
context Dict[SecurityContext] - SecurityContext is not allowed for ephemeral containers.
- startup_
probe Dict[Probe] - Probes are not allowed for ephemeral containers.
- stdin bool
- Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.
- stdin_
once bool - Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false
- target_
container_ strname - If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.
- termination_
message_ strpath - Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
- termination_
message_ strpolicy - Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
- tty bool
- Whether this container should allocate a TTY for itself, also requires ‘stdin’ to be true. Default is false.
- volume_
devices List[VolumeDevice] - volumeDevices is the list of block devices to be used by the container.
- volume_
mounts List[VolumeMount] - Pod volumes to mount into the container’s filesystem. Cannot be updated.
- working_
dir str - Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.
ExecAction
- Command List<string>
- Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- Command []string
- Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- command string[]
- Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- command List[str]
- Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
FCVolumeSource
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Lun int
- Optional: FC target lun number
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Target
WWNs List<string> - Optional: FC target worldwide names (WWNs)
- Wwids List<string>
- Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Lun int
- Optional: FC target lun number
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Target
WWNs []string - Optional: FC target worldwide names (WWNs)
- Wwids []string
- Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- lun number
- Optional: FC target lun number
- read
Only boolean - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- target
WWNs string[] - Optional: FC target worldwide names (WWNs)
- wwids string[]
- Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- lun float
- Optional: FC target lun number
- read_
only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- target_
ww_ List[str]ns - Optional: FC target worldwide names (WWNs)
- wwids List[str]
- Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
FlexVolumeSource
- Driver string
- Driver is the name of the driver to use for this volume.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default filesystem depends on FlexVolume script.
- Options Dictionary<string, string>
- Optional: Extra command options if any.
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
- Driver string
- Driver is the name of the driver to use for this volume.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default filesystem depends on FlexVolume script.
- Options map[string]string
- Optional: Extra command options if any.
- Read
Only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Secret
Ref LocalObject Reference - Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
- driver string
- Driver is the name of the driver to use for this volume.
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default filesystem depends on FlexVolume script.
- options {[key: string]: string}
- Optional: Extra command options if any.
- read
Only boolean - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret
Ref core.v1.Local Object Reference - Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
- driver str
- Driver is the name of the driver to use for this volume.
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default filesystem depends on FlexVolume script.
- options Dict[str, str]
- Optional: Extra command options if any.
- read_
only bool - Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret_
ref Dict[LocalObject Reference] - Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
FlockerVolumeSource
- Dataset
Name string - Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
- Dataset
UUID string - UUID of the dataset. This is unique identifier of a Flocker dataset
- Dataset
Name string - Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
- Dataset
UUID string - UUID of the dataset. This is unique identifier of a Flocker dataset
- dataset
Name string - Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
- dataset
UUID string - UUID of the dataset. This is unique identifier of a Flocker dataset
- dataset_
name str - Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
- dataset_
uuid str - UUID of the dataset. This is unique identifier of a Flocker dataset
GCEPersistentDiskVolumeSource
- Pd
Name string - Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Partition int
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Pd
Name string - Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Partition int
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- pd
Name string - Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- partition number
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- read
Only boolean - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- pd_
name str - Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- fs_
type str - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- partition float
- The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as “1”. Similarly, the volume partition for /dev/sda is “0” (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- read_
only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
GitRepoVolumeSource
- Repository string
- Repository URL
- Directory string
- Target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
- Revision string
- Commit hash for the specified revision.
- Repository string
- Repository URL
- Directory string
- Target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
- Revision string
- Commit hash for the specified revision.
- repository string
- Repository URL
- directory string
- Target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
- revision string
- Commit hash for the specified revision.
- repository str
- Repository URL
- directory str
- Target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
- revision str
- Commit hash for the specified revision.
GlusterfsVolumeSource
- Endpoints string
- EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- Path string
- Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- Read
Only bool - ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- Endpoints string
- EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- Path string
- Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- Read
Only bool - ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- endpoints string
- EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- path string
- Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- read
Only boolean - ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- endpoints str
- EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- path str
- Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- read_
only bool - ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
HTTPGetAction
- Port Union<int, string>
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
- Http
Headers List<Pulumi.Kubernetes. Core. V1. Inputs. HTTPHeader Args> - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- Port interface{}
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- Host string
- Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
- Http
Headers HTTPHeader - Custom headers to set in the request. HTTP allows repeated headers.
- Path string
- Path to access on the HTTP server.
- Scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port number | string
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host string
- Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
- http
Headers core.v1.HTTPHeader[] - Custom headers to set in the request. HTTP allows repeated headers.
- path string
- Path to access on the HTTP server.
- scheme string
- Scheme to use for connecting to the host. Defaults to HTTP.
- port integer | string
- Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- host str
- Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
- http_
headers List[HTTPHeader] - Custom headers to set in the request. HTTP allows repeated headers.
- path str
- Path to access on the HTTP server.
- scheme str
- Scheme to use for connecting to the host. Defaults to HTTP.
HTTPHeader
Handler
- Exec
Pulumi.
Kubernetes. Core. V1. Inputs. Exec Action Args - One and only one of the following should be specified. Exec specifies the action to take.
- Http
Get Pulumi.Kubernetes. Core. V1. Inputs. HTTPGet Action Args - HTTPGet specifies the http request to perform.
- Tcp
Socket Pulumi.Kubernetes. Core. V1. Inputs. TCPSocket Action Args - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- Exec
Exec
Action - One and only one of the following should be specified. Exec specifies the action to take.
- Http
Get HTTPGetAction - HTTPGet specifies the http request to perform.
- Tcp
Socket TCPSocketAction - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- exec
core.v1.
Exec Action - One and only one of the following should be specified. Exec specifies the action to take.
- http
Get core.v1.HTTPGet Action - HTTPGet specifies the http request to perform.
- tcp
Socket core.v1.TCPSocket Action - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- exec_
Dict[Exec
Action] - One and only one of the following should be specified. Exec specifies the action to take.
- http_
get Dict[HTTPGetAction] - HTTPGet specifies the http request to perform.
- tcp_
socket Dict[TCPSocketAction] - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
HostAlias
- Hostnames List<string>
- Hostnames for the above IP address.
- Ip string
- IP address of the host file entry.
HostPathVolumeSource
- Path string
- Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Type string
- Type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Path string
- Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Type string
- Type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- path string
- Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- type string
- Type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- path str
- Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- type str
- Type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
ISCSIVolumeSource
- Iqn string
- Target iSCSI Qualified Name.
- Lun int
- iSCSI Target Lun number.
- Target
Portal string - iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- Chap
Auth boolDiscovery - whether support iSCSI Discovery CHAP authentication
- Chap
Auth boolSession - whether support iSCSI Session CHAP authentication
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
- Initiator
Name string - Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection. - Iscsi
Interface string - iSCSI Interface Name that uses an iSCSI transport. Defaults to ‘default’ (tcp).
- Portals List<string>
- iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - CHAP Secret for iSCSI target and initiator authentication
- Iqn string
- Target iSCSI Qualified Name.
- Lun int
- iSCSI Target Lun number.
- Target
Portal string - iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- Chap
Auth boolDiscovery - whether support iSCSI Discovery CHAP authentication
- Chap
Auth boolSession - whether support iSCSI Session CHAP authentication
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
- Initiator
Name string - Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection. - Iscsi
Interface string - iSCSI Interface Name that uses an iSCSI transport. Defaults to ‘default’ (tcp).
- Portals []string
- iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
- Secret
Ref LocalObject Reference - CHAP Secret for iSCSI target and initiator authentication
- iqn string
- Target iSCSI Qualified Name.
- lun number
- iSCSI Target Lun number.
- target
Portal string - iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- chap
Auth booleanDiscovery - whether support iSCSI Discovery CHAP authentication
- chap
Auth booleanSession - whether support iSCSI Session CHAP authentication
- fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
- initiator
Name string - Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection. - iscsi
Interface string - iSCSI Interface Name that uses an iSCSI transport. Defaults to ‘default’ (tcp).
- portals string[]
- iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- read
Only boolean - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
- secret
Ref core.v1.Local Object Reference - CHAP Secret for iSCSI target and initiator authentication
- iqn str
- Target iSCSI Qualified Name.
- lun float
- iSCSI Target Lun number.
- target_
portal str - iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- chap_
auth_ booldiscovery - whether support iSCSI Discovery CHAP authentication
- chap_
auth_ boolsession - whether support iSCSI Session CHAP authentication
- fs_
type str - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
- initiator_
name str - Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection. - iscsi_
interface str - iSCSI Interface Name that uses an iSCSI transport. Defaults to ‘default’ (tcp).
- portals List[str]
- iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- read_
only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
- secret_
ref Dict[LocalObject Reference] - CHAP Secret for iSCSI target and initiator authentication
KeyToPath
- Key string
- The key to project.
- Path string
- The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- Mode int
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Key string
- The key to project.
- Path string
- The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- Mode int
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- key string
- The key to project.
- path string
- The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- mode number
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- key str
- The key to project.
- path str
- The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- mode float
- Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
LabelSelector
- Match
Expressions List<Pulumi.Kubernetes. Meta. V1. Inputs. Label Selector Requirement Args> - matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- Match
Expressions LabelSelector Requirement - matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- match
Expressions meta.v1.Label Selector Requirement[] - matchExpressions is a list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- match_
expressions List[LabelSelector Requirement] - matchExpressions is a list of label selector requirements. The requirements are ANDed.
- match_
labels Dict[str, str] - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
LabelSelectorRequirement
- Key string
- key is the label key that the selector applies to.
- Operator string
- operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- Values List<string>
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- key is the label key that the selector applies to.
- Operator string
- operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- Values []string
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- key is the label key that the selector applies to.
- operator string
- operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- values string[]
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- key is the label key that the selector applies to.
- operator str
- operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- values List[str]
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
Lifecycle
- Post
Start Pulumi.Kubernetes. Core. V1. Inputs. Handler Args - PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- Pre
Stop Pulumi.Kubernetes. Core. V1. Inputs. Handler Args - PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod’s termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod’s termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- Post
Start Handler - PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- Pre
Stop Handler - PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod’s termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod’s termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- post
Start core.v1.Handler - PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- pre
Stop core.v1.Handler - PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod’s termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod’s termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- post_
start Dict[Handler] - PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
- pre_
stop Dict[Handler] - PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod’s termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod’s termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
LocalObjectReference
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
ManagedFieldsEntry
- Api
Version string - APIVersion defines the version of this resource that this field set applies to. The format is “group/version” just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
- Fields
Type string - FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: “FieldsV1”
- Fields
V1 System.Text. Json. Json Element - FieldsV1 holds the first JSON version format as described in the “FieldsV1” type.
- Manager string
- Manager is an identifier of the workflow managing these fields.
- Operation string
- Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are ‘Apply’ and ‘Update’.
- Time string
- Time is timestamp of when these fields were set. It should always be empty if Operation is ‘Apply’
- Api
Version string - APIVersion defines the version of this resource that this field set applies to. The format is “group/version” just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
- Fields
Type string - FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: “FieldsV1”
- Fields
V1 interface{} - FieldsV1 holds the first JSON version format as described in the “FieldsV1” type.
- Manager string
- Manager is an identifier of the workflow managing these fields.
- Operation string
- Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are ‘Apply’ and ‘Update’.
- Time string
- Time is timestamp of when these fields were set. It should always be empty if Operation is ‘Apply’
- api
Version string - APIVersion defines the version of this resource that this field set applies to. The format is “group/version” just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
- fields
Type string - FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: “FieldsV1”
- fields
V1 any - FieldsV1 holds the first JSON version format as described in the “FieldsV1” type.
- manager string
- Manager is an identifier of the workflow managing these fields.
- operation string
- Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are ‘Apply’ and ‘Update’.
- time string
- Time is timestamp of when these fields were set. It should always be empty if Operation is ‘Apply’
- api_
version str - APIVersion defines the version of this resource that this field set applies to. The format is “group/version” just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
- fields_
type str - FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: “FieldsV1”
- fields_
v1 Dict[str, Any] - FieldsV1 holds the first JSON version format as described in the “FieldsV1” type.
- manager str
- Manager is an identifier of the workflow managing these fields.
- operation str
- Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are ‘Apply’ and ‘Update’.
- time str
- Time is timestamp of when these fields were set. It should always be empty if Operation is ‘Apply’
NFSVolumeSource
- Path string
- Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Server string
- Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Read
Only bool - ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Path string
- Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Server string
- Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Read
Only bool - ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- path string
- Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- server string
- Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- read
Only boolean - ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- path str
- Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- server str
- Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- read_
only bool - ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
NodeAffinity
- Preferred
During List<Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Preferred Scheduling Term Args> - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Node Selector Args - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
- Preferred
During PreferredScheduling Ignored During Execution Scheduling Term - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During NodeScheduling Ignored During Execution Selector - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
- preferred
During core.v1.Scheduling Ignored During Execution Preferred Scheduling Term[] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- required
During core.v1.Scheduling Ignored During Execution Node Selector - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
- preferred_
during_ List[Preferredscheduling_ ignored_ during_ execution Scheduling Term] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- required_
during_ Dict[Nodescheduling_ ignored_ during_ execution Selector] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
NodeSelector
- Node
Selector List<Pulumi.Terms Kubernetes. Core. V1. Inputs. Node Selector Term Args> - Required. A list of node selector terms. The terms are ORed.
- Node
Selector NodeTerms Selector Term - Required. A list of node selector terms. The terms are ORed.
- node
Selector core.v1.Terms Node Selector Term[] - Required. A list of node selector terms. The terms are ORed.
- node_
selector_ List[Nodeterms Selector Term] - Required. A list of node selector terms. The terms are ORed.
NodeSelectorRequirement
- Key string
- The label key that the selector applies to.
- Operator string
- Represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values List<string>
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- Represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values []string
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- Represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values string[]
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- Represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values List[str]
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
NodeSelectorTerm
- Match
Expressions List<Pulumi.Kubernetes. Core. V1. Inputs. Node Selector Requirement Args> - A list of node selector requirements by node’s labels.
- Match
Fields List<Pulumi.Kubernetes. Core. V1. Inputs. Node Selector Requirement Args> - A list of node selector requirements by node’s fields.
- Match
Expressions NodeSelector Requirement - A list of node selector requirements by node’s labels.
- Match
Fields NodeSelector Requirement - A list of node selector requirements by node’s fields.
- match
Expressions core.v1.Node Selector Requirement[] - A list of node selector requirements by node’s labels.
- match
Fields core.v1.Node Selector Requirement[] - A list of node selector requirements by node’s fields.
- match_
expressions List[NodeSelector Requirement] - A list of node selector requirements by node’s labels.
- match_
fields List[NodeSelector Requirement] - A list of node selector requirements by node’s fields.
ObjectFieldSelector
- Field
Path string - Path of the field to select in the specified API version.
- Api
Version string - Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- Field
Path string - Path of the field to select in the specified API version.
- Api
Version string - Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- field
Path string - Path of the field to select in the specified API version.
- api
Version string - Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- field_
path str - Path of the field to select in the specified API version.
- api_
version str - Version of the schema the FieldPath is written in terms of, defaults to “v1”.
ObjectMeta
- Annotations Dictionary<string, string>
- 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
- Cluster
Name string - 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.
- Creation
Timestamp string CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Deletion
Grace intPeriod Seconds - 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.
- Deletion
Timestamp string DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Finalizers List<string>
- 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.
- Generate
Name string 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.
If 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).
Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
- Generation int
- A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
- Labels Dictionary<string, string>
- 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
- Managed
Fields List<Pulumi.Kubernetes. Meta. V1. Inputs. Managed Fields Entry Args> - ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn’t need to set or understand this field. A workflow can be the user’s name, a controller’s name, or the name of a specific apply path like “ci-cd”. The set of fields is always in the version that the workflow used when modifying the object.
- Name string
- 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
- Namespace string
Namespace defines the space within 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.
Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
- Owner
References List<Pulumi.Kubernetes. Meta. V1. Inputs. Owner Reference Args> - 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.
- Resource
Version string 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.
Populated 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
- Self
Link string SelfLink is a URL representing this object. Populated by the system. Read-only.
DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
- Uid string
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.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- Annotations map[string]string
- 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
- Cluster
Name string - 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.
- Creation
Timestamp string CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Deletion
Grace intPeriod Seconds - 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.
- Deletion
Timestamp string DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Finalizers []string
- 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.
- Generate
Name string 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.
If 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).
Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
- Generation int
- A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
- Labels map[string]string
- 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
- Managed
Fields ManagedFields Entry - ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn’t need to set or understand this field. A workflow can be the user’s name, a controller’s name, or the name of a specific apply path like “ci-cd”. The set of fields is always in the version that the workflow used when modifying the object.
- Name string
- 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
- Namespace string
Namespace defines the space within 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.
Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
- Owner
References OwnerReference - 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.
- Resource
Version string 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.
Populated 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
- Self
Link string SelfLink is a URL representing this object. Populated by the system. Read-only.
DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
- Uid string
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.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations {[key: string]: string}
- 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
- cluster
Name string - 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.
- creation
Timestamp string CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- deletion
Grace numberPeriod Seconds - 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.
- deletion
Timestamp string DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- finalizers string[]
- 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.
- generate
Name string 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.
If 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).
Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
- generation number
- A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
- labels {[key: string]: string}
- 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
- managed
Fields meta.v1.Managed Fields Entry[] - ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn’t need to set or understand this field. A workflow can be the user’s name, a controller’s name, or the name of a specific apply path like “ci-cd”. The set of fields is always in the version that the workflow used when modifying the object.
- name string
- 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
- namespace string
Namespace defines the space within 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.
Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
- owner
References meta.v1.Owner Reference[] - 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.
- resource
Version string 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.
Populated 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
- self
Link string SelfLink is a URL representing this object. Populated by the system. Read-only.
DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
- uid string
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.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations Dict[str, str]
- 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
- cluster_
name str - 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.
- creation_
timestamp str CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- deletion_
grace_ floatperiod_ seconds - 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.
- deletion_
timestamp str DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- finalizers List[str]
- 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.
- generate_
name str 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.
If 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).
Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
- generation float
- A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
- labels Dict[str, str]
- 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
- managed_
fields List[ManagedFields Entry] - ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn’t need to set or understand this field. A workflow can be the user’s name, a controller’s name, or the name of a specific apply path like “ci-cd”. The set of fields is always in the version that the workflow used when modifying the object.
- name str
- 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
- namespace str
Namespace defines the space within 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.
Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
- owner_
references List[OwnerReference] - 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.
- resource_
version str 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.
Populated 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
- self_
link str SelfLink is a URL representing this object. Populated by the system. Read-only.
DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
- uid str
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.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
OwnerReference
- Api
Version string - API version of the referent.
- Kind string
- Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Name string
- Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- Uid string
- UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- Block
Owner boolDeletion - If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- Controller bool
- If true, this reference points to the managing controller.
- Api
Version string - API version of the referent.
- Kind string
- Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Name string
- Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- Uid string
- UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- Block
Owner boolDeletion - If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- Controller bool
- If true, this reference points to the managing controller.
- api
Version string - API version of the referent.
- kind string
- Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- name string
- Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- uid string
- UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- block
Owner booleanDeletion - If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller boolean
- If true, this reference points to the managing controller.
- api_
version str - API version of the referent.
- kind str
- Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- name str
- Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- uid str
- UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- block_
owner_ booldeletion - If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- controller bool
- If true, this reference points to the managing controller.
PersistentVolumeClaimVolumeSource
- Claim
Name string - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Read
Only bool - Will force the ReadOnly setting in VolumeMounts. Default false.
- Claim
Name string - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Read
Only bool - Will force the ReadOnly setting in VolumeMounts. Default false.
- claim
Name string - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- read
Only boolean - Will force the ReadOnly setting in VolumeMounts. Default false.
- claim_
name str - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- read_
only bool - Will force the ReadOnly setting in VolumeMounts. Default false.
PhotonPersistentDiskVolumeSource
PodAffinity
- Preferred
During List<Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Weighted Pod Affinity Term Args> - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- Required
During List<Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Pod Affinity Term Args> - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- Preferred
During WeightedScheduling Ignored During Execution Pod Affinity Term - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- Required
During PodScheduling Ignored During Execution Affinity Term - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During core.v1.Scheduling Ignored During Execution Weighted Pod Affinity Term[] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- required
During core.v1.Scheduling Ignored During Execution Pod Affinity Term[] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred_
during_ List[Weightedscheduling_ ignored_ during_ execution Pod Affinity Term] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- required_
during_ List[Podscheduling_ ignored_ during_ execution Affinity Term] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
PodAffinityTerm
- Topology
Key string - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
- Label
Selector Pulumi.Kubernetes. Meta. V1. Inputs. Label Selector Args - A label query over a set of resources, in this case pods.
- Namespaces List<string>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means “this pod’s namespace”
- Topology
Key string - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
- Label
Selector LabelSelector - A label query over a set of resources, in this case pods.
- Namespaces []string
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means “this pod’s namespace”
- topology
Key string - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
- label
Selector meta.v1.Label Selector - A label query over a set of resources, in this case pods.
- namespaces string[]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means “this pod’s namespace”
- topology_
key str - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
- label_
selector Dict[LabelSelector] - A label query over a set of resources, in this case pods.
- namespaces List[str]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means “this pod’s namespace”
PodAntiAffinity
- Preferred
During List<Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Weighted Pod Affinity Term Args> - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- Required
During List<Pulumi.Scheduling Ignored During Execution Kubernetes. Core. V1. Inputs. Pod Affinity Term Args> - If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- Preferred
During WeightedScheduling Ignored During Execution Pod Affinity Term - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- Required
During PodScheduling Ignored During Execution Affinity Term - If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During core.v1.Scheduling Ignored During Execution Weighted Pod Affinity Term[] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- required
During core.v1.Scheduling Ignored During Execution Pod Affinity Term[] - If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred_
during_ List[Weightedscheduling_ ignored_ during_ execution Pod Affinity Term] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- required_
during_ List[Podscheduling_ ignored_ during_ execution Affinity Term] - If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
PodDNSConfig
- Nameservers List<string>
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- Options
List<Pulumi.
Kubernetes. Core. V1. Inputs. Pod DNSConfig Option Args> - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- Searches List<string>
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- Nameservers []string
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- Options
Pod
DNSConfig Option - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- Searches []string
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers string[]
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
core.v1.
Pod DNSConfig Option[] - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches string[]
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers List[str]
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
List[Pod
DNSConfig Option] - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches List[str]
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
PodDNSConfigOption
PodReadinessGate
- Condition
Type string - ConditionType refers to a condition in the pod’s condition list with matching type.
- Condition
Type string - ConditionType refers to a condition in the pod’s condition list with matching type.
- condition
Type string - ConditionType refers to a condition in the pod’s condition list with matching type.
- condition_
type str - ConditionType refers to a condition in the pod’s condition list with matching type.
PodSecurityContext
- Fs
Group int A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
- The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR’d with rw-rw—-
If unset, the Kubelet will not modify the ownership and permissions of any volume.
- Fs
Group stringChange Policy - fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are “OnRootMismatch” and “Always”. If not specified defaults to “Always”.
- Run
As intGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Run
As boolNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As intUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Se
Linux Pulumi.Options Kubernetes. Core. V1. Inputs. SELinux Options Args - The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Supplemental
Groups List<int> - A list of groups applied to the first process run in each container, in addition to the container’s primary GID. If unspecified, no groups will be added to any container.
- Sysctls
List<Pulumi.
Kubernetes. Core. V1. Inputs. Sysctl Args> - Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.
- Windows
Options Pulumi.Kubernetes. Core. V1. Inputs. Windows Security Context Options Args - The Windows specific settings applied to all containers. If unspecified, the options within a container’s SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Fs
Group int A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
- The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR’d with rw-rw—-
If unset, the Kubelet will not modify the ownership and permissions of any volume.
- Fs
Group stringChange Policy - fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are “OnRootMismatch” and “Always”. If not specified defaults to “Always”.
- Run
As intGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Run
As boolNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As intUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Se
Linux SELinuxOptions Options - The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- Supplemental
Groups []int - A list of groups applied to the first process run in each container, in addition to the container’s primary GID. If unspecified, no groups will be added to any container.
- Sysctls Sysctl
- Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.
- Windows
Options WindowsSecurity Context Options - The Windows specific settings applied to all containers. If unspecified, the options within a container’s SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- fs
Group number A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
- The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR’d with rw-rw—-
If unset, the Kubelet will not modify the ownership and permissions of any volume.
- fs
Group stringChange Policy - fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are “OnRootMismatch” and “Always”. If not specified defaults to “Always”.
- run
As numberGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- run
As booleanNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run
As numberUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- se
Linux core.v1.Options SELinux Options - The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- supplemental
Groups number[] - A list of groups applied to the first process run in each container, in addition to the container’s primary GID. If unspecified, no groups will be added to any container.
- sysctls
core.v1.
Sysctl[] - Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.
- windows
Options core.v1.Windows Security Context Options - The Windows specific settings applied to all containers. If unspecified, the options within a container’s SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- fs_
group float A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
- The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR’d with rw-rw—-
If unset, the Kubelet will not modify the ownership and permissions of any volume.
- fs_
group_ strchange_ policy - fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are “OnRootMismatch” and “Always”. If not specified defaults to “Always”.
- run_
as_ floatgroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- run_
as_ boolnon_ root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run_
as_ floatuser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- se_
linux_ Dict[SELinuxoptions Options] - The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- supplemental_
groups List[Integer] - A list of groups applied to the first process run in each container, in addition to the container’s primary GID. If unspecified, no groups will be added to any container.
- sysctls List[Sysctl]
- Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.
- windows_
options Dict[WindowsSecurity Context Options] - The Windows specific settings applied to all containers. If unspecified, the options within a container’s SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
PodSpec
- Containers
List<Pulumi.
Kubernetes. Core. V1. Inputs. Container Args> - List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.
- Active
Deadline intSeconds - Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.
- Affinity
Pulumi.
Kubernetes. Core. V1. Inputs. Affinity Args - If specified, the pod’s scheduling constraints
- Automount
Service boolAccount Token - AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
- Dns
Config Pulumi.Kubernetes. Core. V1. Inputs. Pod DNSConfig Args - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- Dns
Policy string - Set DNS policy for the pod. Defaults to “ClusterFirst”. Valid values are ‘ClusterFirstWithHostNet’, ‘ClusterFirst’, ‘Default’ or ‘None’. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to ‘ClusterFirstWithHostNet’.
- Enable
Service boolLinks - EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- Ephemeral
Containers List<Pulumi.Kubernetes. Core. V1. Inputs. Ephemeral Container Args> - List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod’s ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
- Host
Aliases List<Pulumi.Kubernetes. Core. V1. Inputs. Host Alias Args> - HostAliases is an optional list of hosts and IPs that will be injected into the pod’s hosts file if specified. This is only valid for non-hostNetwork pods.
- Host
IPC bool - Use the host’s ipc namespace. Optional: Default to false.
- Host
Network bool - Host networking requested for this pod. Use the host’s network namespace. If this option is set, the ports that will be used must be specified. Default to false.
- Host
PID bool - Use the host’s pid namespace. Optional: Default to false.
- Hostname string
- Specifies the hostname of the Pod If not specified, the pod’s hostname will be set to a system-defined value.
- Image
Pull List<Pulumi.Secrets Kubernetes. Core. V1. Inputs. Local Object Reference Args> - ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
- Init
Containers List<Pulumi.Kubernetes. Core. V1. Inputs. Container Args> - List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
- Node
Name string - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
- Node
Selector Dictionary<string, string> - NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- Overhead Dictionary<string, string>
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.
- Preemption
Policy string - PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
- Priority int
- The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
- Priority
Class stringName - If specified, indicates the pod’s priority. “system-node-critical” and “system-cluster-critical” are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Gates List<Pulumi.Kubernetes. Core. V1. Inputs. Pod Readiness Gate Args> - If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to “True” More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
- Restart
Policy string - Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
- Runtime
Class stringName - RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the “legacy” RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.
- Scheduler
Name string - If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.
- Security
Context Pulumi.Kubernetes. Core. V1. Inputs. Pod Security Context Args - SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.
- Service
Account string - DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.
- Service
Account stringName - ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- bool
- Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.
- Subdomain string
- If specified, the fully qualified Pod hostname will be “
. . .svc. ”. If not specified, the pod will not have a domainname at all. - Termination
Grace intPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. 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 longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Tolerations
List<Pulumi.
Kubernetes. Core. V1. Inputs. Toleration Args> - If specified, the pod’s tolerations.
- Topology
Spread List<Pulumi.Constraints Kubernetes. Core. V1. Inputs. Topology Spread Constraint Args> - TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.
- Volumes
List<Pulumi.
Kubernetes. Core. V1. Inputs. Volume Args> - List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
- Containers Container
- List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.
- Active
Deadline intSeconds - Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.
- Affinity Affinity
- If specified, the pod’s scheduling constraints
- Automount
Service boolAccount Token - AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
- Dns
Config PodDNSConfig - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- Dns
Policy string - Set DNS policy for the pod. Defaults to “ClusterFirst”. Valid values are ‘ClusterFirstWithHostNet’, ‘ClusterFirst’, ‘Default’ or ‘None’. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to ‘ClusterFirstWithHostNet’.
- Enable
Service boolLinks - EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- Ephemeral
Containers EphemeralContainer - List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod’s ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
- Host
Aliases HostAlias - HostAliases is an optional list of hosts and IPs that will be injected into the pod’s hosts file if specified. This is only valid for non-hostNetwork pods.
- Host
IPC bool - Use the host’s ipc namespace. Optional: Default to false.
- Host
Network bool - Host networking requested for this pod. Use the host’s network namespace. If this option is set, the ports that will be used must be specified. Default to false.
- Host
PID bool - Use the host’s pid namespace. Optional: Default to false.
- Hostname string
- Specifies the hostname of the Pod If not specified, the pod’s hostname will be set to a system-defined value.
- Image
Pull LocalSecrets Object Reference - ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
- Init
Containers Container - List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
- Node
Name string - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
- Node
Selector map[string]string - NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- Overhead map[string]string
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.
- Preemption
Policy string - PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
- Priority int
- The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
- Priority
Class stringName - If specified, indicates the pod’s priority. “system-node-critical” and “system-cluster-critical” are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Gates PodReadiness Gate - If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to “True” More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
- Restart
Policy string - Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
- Runtime
Class stringName - RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the “legacy” RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.
- Scheduler
Name string - If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.
- Security
Context PodSecurity Context - SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.
- Service
Account string - DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.
- Service
Account stringName - ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- bool
- Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.
- Subdomain string
- If specified, the fully qualified Pod hostname will be “
. . .svc. ”. If not specified, the pod will not have a domainname at all. - Termination
Grace intPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. 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 longer than the expected cleanup time for your process. Defaults to 30 seconds.
- Tolerations Toleration
- If specified, the pod’s tolerations.
- Topology
Spread TopologyConstraints Spread Constraint - TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.
- Volumes Volume
- List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
- containers
core.v1.
Container[] - List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.
- active
Deadline numberSeconds - Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.
- affinity
core.v1.
Affinity - If specified, the pod’s scheduling constraints
- automount
Service booleanAccount Token - AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
- dns
Config core.v1.Pod DNSConfig - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- dns
Policy string - Set DNS policy for the pod. Defaults to “ClusterFirst”. Valid values are ‘ClusterFirstWithHostNet’, ‘ClusterFirst’, ‘Default’ or ‘None’. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to ‘ClusterFirstWithHostNet’.
- enable
Service booleanLinks - EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- ephemeral
Containers core.v1.Ephemeral Container[] - List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod’s ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
- host
Aliases core.v1.Host Alias[] - HostAliases is an optional list of hosts and IPs that will be injected into the pod’s hosts file if specified. This is only valid for non-hostNetwork pods.
- host
IPC boolean - Use the host’s ipc namespace. Optional: Default to false.
- host
Network boolean - Host networking requested for this pod. Use the host’s network namespace. If this option is set, the ports that will be used must be specified. Default to false.
- host
PID boolean - Use the host’s pid namespace. Optional: Default to false.
- hostname string
- Specifies the hostname of the Pod If not specified, the pod’s hostname will be set to a system-defined value.
- image
Pull core.v1.Secrets Local Object Reference[] - ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
- init
Containers core.v1.Container[] - List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
- node
Name string - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
- node
Selector {[key: string]: string} - NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- overhead {[key: string]: string}
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.
- preemption
Policy string - PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
- priority number
- The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
- priority
Class stringName - If specified, indicates the pod’s priority. “system-node-critical” and “system-cluster-critical” are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Gates core.v1.Pod Readiness Gate[] - If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to “True” More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
- restart
Policy string - Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
- runtime
Class stringName - RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the “legacy” RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.
- scheduler
Name string - If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.
- security
Context core.v1.Pod Security Context - SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.
- service
Account string - DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.
- service
Account stringName - ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- boolean
- Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.
- subdomain string
- If specified, the fully qualified Pod hostname will be “
. . .svc. ”. If not specified, the pod will not have a domainname at all. - termination
Grace numberPeriod Seconds - Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. 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 longer than the expected cleanup time for your process. Defaults to 30 seconds.
- tolerations
core.v1.
Toleration[] - If specified, the pod’s tolerations.
- topology
Spread core.v1.Constraints Topology Spread Constraint[] - TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.
- volumes
core.v1.
Volume[] - List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
- containers List[Container]
- List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.
- active_
deadline_ floatseconds - Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.
- affinity Dict[Affinity]
- If specified, the pod’s scheduling constraints
- automount_
service_ boolaccount_ token - AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
- dns_
config Dict[PodDNSConfig] - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- dns_
policy str - Set DNS policy for the pod. Defaults to “ClusterFirst”. Valid values are ‘ClusterFirstWithHostNet’, ‘ClusterFirst’, ‘Default’ or ‘None’. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to ‘ClusterFirstWithHostNet’.
- enable_
service_ boollinks - EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- ephemeral_
containers List[EphemeralContainer] - List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod’s ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
- host_
aliases List[HostAlias] - HostAliases is an optional list of hosts and IPs that will be injected into the pod’s hosts file if specified. This is only valid for non-hostNetwork pods.
- host_
ipc bool - Use the host’s ipc namespace. Optional: Default to false.
- host_
network bool - Host networking requested for this pod. Use the host’s network namespace. If this option is set, the ports that will be used must be specified. Default to false.
- host_
pid bool - Use the host’s pid namespace. Optional: Default to false.
- hostname str
- Specifies the hostname of the Pod If not specified, the pod’s hostname will be set to a system-defined value.
- image_
pull_ List[Localsecrets Object Reference] - ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
- init_
containers List[Container] - List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
- node_
name str - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
- node_
selector Dict[str, str] - NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- overhead Dict[str, str]
- Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.
- preemption_
policy str - PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.
- priority float
- The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
- priority_
class_ strname - If specified, indicates the pod’s priority. “system-node-critical” and “system-cluster-critical” are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
- readiness_
gates List[PodReadiness Gate] - If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to “True” More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
- restart_
policy str - Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
- runtime_
class_ strname - RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the “legacy” RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.
- scheduler_
name str - If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.
- security_
context Dict[PodSecurity Context] - SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.
- service_
account str - DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.
- service_
account_ strname - ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- bool
- Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.
- subdomain str
- If specified, the fully qualified Pod hostname will be “
. . .svc. ”. If not specified, the pod will not have a domainname at all. - termination_
grace_ floatperiod_ seconds - Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. 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 longer than the expected cleanup time for your process. Defaults to 30 seconds.
- tolerations List[Toleration]
- If specified, the pod’s tolerations.
- topology_
spread_ List[Topologyconstraints Spread Constraint] - TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.
- volumes List[Volume]
- List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
PodTemplateSpec
- Metadata
Pulumi.
Kubernetes. Meta. V1. Inputs. Object Meta Args - Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Spec
Pulumi.
Kubernetes. Core. V1. Inputs. Pod Spec Args - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- Metadata
Object
Meta - Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Spec
Pod
Spec - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- metadata
meta.v1.
Object Meta - Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
core.v1.
Pod Spec - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- metadata
Dict[Object
Meta] - Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
Dict[Pod
Spec] - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
PortworxVolumeSource
- Volume
ID string - VolumeID uniquely identifies a Portworx volume
- Fs
Type string - FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Volume
ID string - VolumeID uniquely identifies a Portworx volume
- Fs
Type string - FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- volume
ID string - VolumeID uniquely identifies a Portworx volume
- fs
Type string - FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified.
- read
Only boolean - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- volume_
id str - VolumeID uniquely identifies a Portworx volume
- fs_
type str - FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified.
- read_
only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
PreferredSchedulingTerm
- Preference
Pulumi.
Kubernetes. Core. V1. Inputs. Node Selector Term Args - A node selector term, associated with the corresponding weight.
- Weight int
- Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
- Preference
Node
Selector Term - A node selector term, associated with the corresponding weight.
- Weight int
- Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
- preference
core.v1.
Node Selector Term - A node selector term, associated with the corresponding weight.
- weight number
- Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
- preference
Dict[Node
Selector Term] - A node selector term, associated with the corresponding weight.
- weight float
- Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Probe
- Exec
Pulumi.
Kubernetes. Core. V1. Inputs. Exec Action Args - One and only one of the following should be specified. Exec specifies the action to take.
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Http
Get Pulumi.Kubernetes. Core. V1. Inputs. HTTPGet Action Args - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
- Tcp
Socket Pulumi.Kubernetes. Core. V1. Inputs. TCPSocket Action Args - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Exec
Exec
Action - One and only one of the following should be specified. Exec specifies the action to take.
- Failure
Threshold int - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- Http
Get HTTPGetAction - HTTPGet specifies the http request to perform.
- Initial
Delay intSeconds - Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Period
Seconds int - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
- Success
Threshold int - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
- Tcp
Socket TCPSocketAction - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- Timeout
Seconds int - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- exec
core.v1.
Exec Action - One and only one of the following should be specified. Exec specifies the action to take.
- failure
Threshold number - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- http
Get core.v1.HTTPGet Action - HTTPGet specifies the http request to perform.
- initial
Delay numberSeconds - Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period
Seconds number - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
- success
Threshold number - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
- tcp
Socket core.v1.TCPSocket Action - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- timeout
Seconds number - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- exec_
Dict[Exec
Action] - One and only one of the following should be specified. Exec specifies the action to take.
- failure_
threshold float - Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- http_
get Dict[HTTPGetAction] - HTTPGet specifies the http request to perform.
- initial_
delay_ floatseconds - Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- period_
seconds float - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
- success_
threshold float - Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
- tcp_
socket Dict[TCPSocketAction] - TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- timeout_
seconds float - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
ProjectedVolumeSource
- Sources
List<Pulumi.
Kubernetes. Core. V1. Inputs. Volume Projection Args> - list of volume projections
- Default
Mode int - Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Sources
Volume
Projection - list of volume projections
- Default
Mode int - Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- sources
core.v1.
Volume Projection[] - list of volume projections
- default
Mode number - Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- sources
List[Volume
Projection] - list of volume projections
- default_
mode float - Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
QuobyteVolumeSource
- Registry string
- Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- Volume string
- Volume is a string that references an already created Quobyte volume by name.
- Group string
- Group to map volume access to Default is no group
- Read
Only bool - ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
- Tenant string
- Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
- User string
- User to map volume access to Defaults to serivceaccount user
- Registry string
- Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- Volume string
- Volume is a string that references an already created Quobyte volume by name.
- Group string
- Group to map volume access to Default is no group
- Read
Only bool - ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
- Tenant string
- Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
- User string
- User to map volume access to Defaults to serivceaccount user
- registry string
- Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- volume string
- Volume is a string that references an already created Quobyte volume by name.
- group string
- Group to map volume access to Default is no group
- read
Only boolean - ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
- tenant string
- Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
- user string
- User to map volume access to Defaults to serivceaccount user
- registry str
- Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- volume str
- Volume is a string that references an already created Quobyte volume by name.
- group str
- Group to map volume access to Default is no group
- read_
only bool - ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
- tenant str
- Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
- user str
- User to map volume access to Defaults to serivceaccount user
RBDVolumeSource
- Image string
- The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Monitors List<string>
- A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
- Keyring string
- Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Pool string
- The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- User string
- The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Image string
- The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Monitors []string
- A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
- Keyring string
- Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Pool string
- The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Read
Only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Secret
Ref LocalObject Reference - SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- User string
- The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- image string
- The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- monitors string[]
- A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- fs
Type string - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
- keyring string
- Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- pool string
- The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- read
Only boolean - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- secret
Ref core.v1.Local Object Reference - SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- user string
- The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- image str
- The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- monitors List[str]
- A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- fs_
type str - Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
- keyring str
- Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- pool str
- The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- read_
only bool - ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- secret_
ref Dict[LocalObject Reference] - SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- user str
- The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
ResourceFieldSelector
ResourceRequirements
- Limits Dictionary<string, string>
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- Requests Dictionary<string, string>
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- Limits map[string]string
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- Requests map[string]string
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- limits {[key: string]: string}
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- requests {[key: string]: string}
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- limits Dict[str, str]
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- requests Dict[str, str]
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
RollbackConfig
RollingUpdateDeployment
- Max
Surge Union<int, string> - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
- Union<int, string>
- The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
- Max
Surge interface{} - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
- interface{}
- The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
- max
Surge number | string - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
- number | string
- The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
- max_
surge integer | string - The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
- integer | string
- The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
SELinuxOptions
ScaleIOVolumeSource
- Gateway string
- The host address of the ScaleIO API Gateway.
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- System string
- The name of the storage system as configured in ScaleIO.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Default is “xfs”.
- Protection
Domain string - The name of the ScaleIO Protection Domain for the configured storage.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Ssl
Enabled bool - Flag to enable/disable SSL communication with Gateway, default false
- Storage
Mode string - Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
- Storage
Pool string - The ScaleIO Storage Pool associated with the protection domain.
- Volume
Name string - The name of a volume already created in the ScaleIO system that is associated with this volume source.
- Gateway string
- The host address of the ScaleIO API Gateway.
- Secret
Ref LocalObject Reference - SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- System string
- The name of the storage system as configured in ScaleIO.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Default is “xfs”.
- Protection
Domain string - The name of the ScaleIO Protection Domain for the configured storage.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Ssl
Enabled bool - Flag to enable/disable SSL communication with Gateway, default false
- Storage
Mode string - Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
- Storage
Pool string - The ScaleIO Storage Pool associated with the protection domain.
- Volume
Name string - The name of a volume already created in the ScaleIO system that is associated with this volume source.
- gateway string
- The host address of the ScaleIO API Gateway.
- secret
Ref core.v1.Local Object Reference - SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- system string
- The name of the storage system as configured in ScaleIO.
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Default is “xfs”.
- protection
Domain string - The name of the ScaleIO Protection Domain for the configured storage.
- read
Only boolean - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- ssl
Enabled boolean - Flag to enable/disable SSL communication with Gateway, default false
- storage
Mode string - Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
- storage
Pool string - The ScaleIO Storage Pool associated with the protection domain.
- volume
Name string - The name of a volume already created in the ScaleIO system that is associated with this volume source.
- gateway str
- The host address of the ScaleIO API Gateway.
- secret_
ref Dict[LocalObject Reference] - SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- system str
- The name of the storage system as configured in ScaleIO.
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Default is “xfs”.
- protection_
domain str - The name of the ScaleIO Protection Domain for the configured storage.
- read_
only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- ssl_
enabled bool - Flag to enable/disable SSL communication with Gateway, default false
- storage_
mode str - Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
- storage_
pool str - The ScaleIO Storage Pool associated with the protection domain.
- volume_
name str - The name of a volume already created in the ScaleIO system that is associated with this volume source.
SecretEnvSource
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the Secret must be defined
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the Secret must be defined
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional boolean
- Specify whether the Secret must be defined
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional bool
- Specify whether the Secret must be defined
SecretKeySelector
SecretProjection
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Key To Path Args> - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the Secret or its key must be defined
- Items
Key
To Path - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Optional bool
- Specify whether the Secret or its key must be defined
- items
core.v1.
Key To Path[] - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name string
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional boolean
- Specify whether the Secret or its key must be defined
- items
List[Key
To Path] - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- name str
- Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- optional bool
- Specify whether the Secret or its key must be defined
SecretVolumeSource
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
List<Pulumi.
Kubernetes. Core. V1. Inputs. Key To Path Args> - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Optional bool
- Specify whether the Secret or its keys must be defined
- Secret
Name string - Name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Default
Mode int - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
Key
To Path - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- Optional bool
- Specify whether the Secret or its keys must be defined
- Secret
Name string - Name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- default
Mode number - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
core.v1.
Key To Path[] - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- optional boolean
- Specify whether the Secret or its keys must be defined
- secret
Name string - Name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- default_
mode float - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
List[Key
To Path] - If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- optional bool
- Specify whether the Secret or its keys must be defined
- secret_
name str - Name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
SecurityContext
- Allow
Privilege boolEscalation - AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
- Capabilities
Pulumi.
Kubernetes. Core. V1. Inputs. Capabilities Args - The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
- Privileged bool
- Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
- Proc
Mount string - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
- Read
Only boolRoot Filesystem - Whether this container has a read-only root filesystem. Default is false.
- Run
As intGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As boolNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As intUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Se
Linux Pulumi.Options Kubernetes. Core. V1. Inputs. SELinux Options Args - The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Windows
Options Pulumi.Kubernetes. Core. V1. Inputs. Windows Security Context Options Args - The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Allow
Privilege boolEscalation - AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
- Capabilities Capabilities
- The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
- Privileged bool
- Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
- Proc
Mount string - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
- Read
Only boolRoot Filesystem - Whether this container has a read-only root filesystem. Default is false.
- Run
As intGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As boolNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Run
As intUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Se
Linux SELinuxOptions Options - The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Windows
Options WindowsSecurity Context Options - The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- allow
Privilege booleanEscalation - AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
- capabilities
core.v1.
Capabilities - The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
- privileged boolean
- Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
- proc
Mount string - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
- read
Only booleanRoot Filesystem - Whether this container has a read-only root filesystem. Default is false.
- run
As numberGroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run
As booleanNon Root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run
As numberUser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- se
Linux core.v1.Options SELinux Options - The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- windows
Options core.v1.Windows Security Context Options - The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- allow_
privilege_ boolescalation - AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
- capabilities Dict[Capabilities]
- The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
- privileged bool
- Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
- proc_
mount str - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
- read_
only_ boolroot_ filesystem - Whether this container has a read-only root filesystem. Default is false.
- run_
as_ floatgroup - The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run_
as_ boolnon_ root - Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- run_
as_ floatuser - The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- se_
linux_ Dict[SELinuxoptions Options] - The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- windows_
options Dict[WindowsSecurity Context Options] - The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
ServiceAccountTokenProjection
- Path string
- Path is the path relative to the mount point of the file to project the token into.
- Audience string
- Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
- Expiration
Seconds int - ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
- Path string
- Path is the path relative to the mount point of the file to project the token into.
- Audience string
- Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
- Expiration
Seconds int - ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
- path string
- Path is the path relative to the mount point of the file to project the token into.
- audience string
- Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
- expiration
Seconds number - ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
- path str
- Path is the path relative to the mount point of the file to project the token into.
- audience str
- Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
- expiration_
seconds float - ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
StorageOSVolumeSource
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Secret
Ref Pulumi.Kubernetes. Core. V1. Inputs. Local Object Reference Args - SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
- Volume
Name string - VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
- Volume
Namespace string - VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to “default” if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Read
Only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Secret
Ref LocalObject Reference - SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
- Volume
Name string - VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
- Volume
Namespace string - VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to “default” if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- read
Only boolean - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret
Ref core.v1.Local Object Reference - SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
- volume
Name string - VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
- volume
Namespace string - VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to “default” if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- read_
only bool - Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- secret_
ref Dict[LocalObject Reference] - SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
- volume_
name str - VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
- volume_
namespace str - VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to “default” if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
Sysctl
TCPSocketAction
Toleration
- Effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Operator string
- Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- Effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Operator string
- Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- Toleration
Seconds int - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator string
- Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration
Seconds number - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect str
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key str
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator str
- Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration_
seconds float - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value str
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
TopologySpreadConstraint
- Max
Skew int - MaxSkew describes the degree to which pods may be unevenly distributed. It’s the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It’s a required field. Default value is 1 and 0 is not allowed.
- Topology
Key string - TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. It’s a required field. - When
Unsatisfiable string - WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It’s considered as “Unsatisfiable” if and only if placing incoming pod on any topology violates “MaxSkew”. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- Label
Selector Pulumi.Kubernetes. Meta. V1. Inputs. Label Selector Args - LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- Max
Skew int - MaxSkew describes the degree to which pods may be unevenly distributed. It’s the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It’s a required field. Default value is 1 and 0 is not allowed.
- Topology
Key string - TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. It’s a required field. - When
Unsatisfiable string - WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It’s considered as “Unsatisfiable” if and only if placing incoming pod on any topology violates “MaxSkew”. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- Label
Selector LabelSelector - LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- max
Skew number - MaxSkew describes the degree to which pods may be unevenly distributed. It’s the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It’s a required field. Default value is 1 and 0 is not allowed.
- topology
Key string - TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. It’s a required field. - when
Unsatisfiable string - WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It’s considered as “Unsatisfiable” if and only if placing incoming pod on any topology violates “MaxSkew”. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- label
Selector meta.v1.Label Selector - LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- max_
skew float - MaxSkew describes the degree to which pods may be unevenly distributed. It’s the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It’s a required field. Default value is 1 and 0 is not allowed.
- topology_
key str - TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. It’s a required field. - when_
unsatisfiable str - WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It’s considered as “Unsatisfiable” if and only if placing incoming pod on any topology violates “MaxSkew”. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- label_
selector Dict[LabelSelector] - LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
Volume
- Name string
- Volume’s name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Aws
Elastic Pulumi.Block Store Kubernetes. Core. V1. Inputs. AWSElastic Block Store Volume Source Args - AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Azure
Disk Pulumi.Kubernetes. Core. V1. Inputs. Azure Disk Volume Source Args - AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- Azure
File Pulumi.Kubernetes. Core. V1. Inputs. Azure File Volume Source Args - AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- Cephfs
Pulumi.
Kubernetes. Core. V1. Inputs. Ceph FSVolume Source Args - CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime
- Cinder
Pulumi.
Kubernetes. Core. V1. Inputs. Cinder Volume Source Args - Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Config
Map Pulumi.Kubernetes. Core. V1. Inputs. Config Map Volume Source Args - ConfigMap represents a configMap that should populate this volume
- Csi
Pulumi.
Kubernetes. Core. V1. Inputs. CSIVolume Source Args - CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
- Downward
API Pulumi.Kubernetes. Core. V1. Inputs. Downward APIVolume Source Args - DownwardAPI represents downward API about the pod that should populate this volume
- Empty
Dir Pulumi.Kubernetes. Core. V1. Inputs. Empty Dir Volume Source Args - EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- Fc
Pulumi.
Kubernetes. Core. V1. Inputs. FCVolume Source Args - FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.
- Flex
Volume Pulumi.Kubernetes. Core. V1. Inputs. Flex Volume Source Args - FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- Flocker
Pulumi.
Kubernetes. Core. V1. Inputs. Flocker Volume Source Args - Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running
- Gce
Persistent Pulumi.Disk Kubernetes. Core. V1. Inputs. GCEPersistent Disk Volume Source Args - GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Git
Repo Pulumi.Kubernetes. Core. V1. Inputs. Git Repo Volume Source Args - GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod’s container.
- Glusterfs
Pulumi.
Kubernetes. Core. V1. Inputs. Glusterfs Volume Source Args - Glusterfs represents a Glusterfs mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- Host
Path Pulumi.Kubernetes. Core. V1. Inputs. Host Path Volume Source Args - HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Iscsi
Pulumi.
Kubernetes. Core. V1. Inputs. ISCSIVolume Source Args - ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
- Nfs
Pulumi.
Kubernetes. Core. V1. Inputs. NFSVolume Source Args - NFS represents an NFS mount on the host that shares a pod’s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Persistent
Volume Pulumi.Claim Kubernetes. Core. V1. Inputs. Persistent Volume Claim Volume Source Args - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Photon
Persistent Pulumi.Disk Kubernetes. Core. V1. Inputs. Photon Persistent Disk Volume Source Args - PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- Portworx
Volume Pulumi.Kubernetes. Core. V1. Inputs. Portworx Volume Source Args - PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
- Projected
Pulumi.
Kubernetes. Core. V1. Inputs. Projected Volume Source Args - Items for all in one resources secrets, configmaps, and downward API
- Quobyte
Pulumi.
Kubernetes. Core. V1. Inputs. Quobyte Volume Source Args - Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime
- Rbd
Pulumi.
Kubernetes. Core. V1. Inputs. RBDVolume Source Args - RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- Scale
IO Pulumi.Kubernetes. Core. V1. Inputs. Scale IOVolume Source Args - ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- Secret
Pulumi.
Kubernetes. Core. V1. Inputs. Secret Volume Source Args - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Storageos
Pulumi.
Kubernetes. Core. V1. Inputs. Storage OSVolume Source Args - StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
- Vsphere
Volume Pulumi.Kubernetes. Core. V1. Inputs. Vsphere Virtual Disk Volume Source Args - VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
- Name string
- Volume’s name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Aws
Elastic AWSElasticBlock Store Block Store Volume Source - AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Azure
Disk AzureDisk Volume Source - AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- Azure
File AzureFile Volume Source - AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- Cephfs
Ceph
FSVolume Source - CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime
- Cinder
Cinder
Volume Source - Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Config
Map ConfigMap Volume Source - ConfigMap represents a configMap that should populate this volume
- Csi
CSIVolume
Source - CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
- Downward
API DownwardAPIVolume Source - DownwardAPI represents downward API about the pod that should populate this volume
- Empty
Dir EmptyDir Volume Source - EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- Fc
FCVolume
Source - FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.
- Flex
Volume FlexVolume Source - FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- Flocker
Flocker
Volume Source - Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running
- Gce
Persistent GCEPersistentDisk Disk Volume Source - GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Git
Repo GitRepo Volume Source - GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod’s container.
- Glusterfs
Glusterfs
Volume Source - Glusterfs represents a Glusterfs mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- Host
Path HostPath Volume Source - HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Iscsi
ISCSIVolume
Source - ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
- Nfs
NFSVolume
Source - NFS represents an NFS mount on the host that shares a pod’s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Persistent
Volume PersistentClaim Volume Claim Volume Source - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Photon
Persistent PhotonDisk Persistent Disk Volume Source - PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- Portworx
Volume PortworxVolume Source - PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
- Projected
Projected
Volume Source - Items for all in one resources secrets, configmaps, and downward API
- Quobyte
Quobyte
Volume Source - Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime
- Rbd
RBDVolume
Source - RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- Scale
IO ScaleIOVolume Source - ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- Secret
Secret
Volume Source - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Storageos
Storage
OSVolume Source - StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
- Vsphere
Volume VsphereVirtual Disk Volume Source - VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
- name string
- Volume’s name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- aws
Elastic core.v1.Block Store AWSElastic Block Store Volume Source - AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- azure
Disk core.v1.Azure Disk Volume Source - AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- azure
File core.v1.Azure File Volume Source - AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- cephfs
core.v1.
Ceph FSVolume Source - CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime
- cinder
core.v1.
Cinder Volume Source - Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- config
Map core.v1.Config Map Volume Source - ConfigMap represents a configMap that should populate this volume
- csi
core.v1.
CSIVolume Source - CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
- downward
API core.v1.Downward APIVolume Source - DownwardAPI represents downward API about the pod that should populate this volume
- empty
Dir core.v1.Empty Dir Volume Source - EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- fc
core.v1.
FCVolume Source - FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.
- flex
Volume core.v1.Flex Volume Source - FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- flocker
core.v1.
Flocker Volume Source - Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running
- gce
Persistent core.v1.Disk GCEPersistent Disk Volume Source - GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- git
Repo core.v1.Git Repo Volume Source - GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod’s container.
- glusterfs
core.v1.
Glusterfs Volume Source - Glusterfs represents a Glusterfs mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- host
Path core.v1.Host Path Volume Source - HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- iscsi
core.v1.
ISCSIVolume Source - ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
- nfs
core.v1.
NFSVolume Source - NFS represents an NFS mount on the host that shares a pod’s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- persistent
Volume core.v1.Claim Persistent Volume Claim Volume Source - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- photon
Persistent core.v1.Disk Photon Persistent Disk Volume Source - PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- portworx
Volume core.v1.Portworx Volume Source - PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
- projected
core.v1.
Projected Volume Source - Items for all in one resources secrets, configmaps, and downward API
- quobyte
core.v1.
Quobyte Volume Source - Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime
- rbd
core.v1.
RBDVolume Source - RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- scale
IO core.v1.Scale IOVolume Source - ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- secret
core.v1.
Secret Volume Source - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- storageos
core.v1.
Storage OSVolume Source - StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
- vsphere
Volume core.v1.Vsphere Virtual Disk Volume Source - VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
- name str
- Volume’s name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- aws_
elastic_ Dict[AWSElasticblock_ store Block Store Volume Source] - AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- azure_
disk Dict[AzureDisk Volume Source] - AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- azure_
file Dict[AzureFile Volume Source] - AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- cephfs
Dict[Ceph
FSVolume Source] - CephFS represents a Ceph FS mount on the host that shares a pod’s lifetime
- cinder
Dict[Cinder
Volume Source] - Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- config_
map Dict[ConfigMap Volume Source] - ConfigMap represents a configMap that should populate this volume
- csi
Dict[CSIVolume
Source] - CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
- downward_
api Dict[DownwardAPIVolume Source] - DownwardAPI represents downward API about the pod that should populate this volume
- empty_
dir Dict[EmptyDir Volume Source] - EmptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- fc
Dict[FCVolume
Source] - FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.
- flex_
volume Dict[FlexVolume Source] - FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- flocker
Dict[Flocker
Volume Source] - Flocker represents a Flocker volume attached to a kubelet’s host machine. This depends on the Flocker control service being running
- gce_
persistent_ Dict[GCEPersistentdisk Disk Volume Source] - GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- git_
repo Dict[GitRepo Volume Source] - GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod’s container.
- glusterfs
Dict[Glusterfs
Volume Source] - Glusterfs represents a Glusterfs mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- host_
path Dict[HostPath Volume Source] - HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- iscsi
Dict[ISCSIVolume
Source] - ISCSI represents an ISCSI Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
- nfs
Dict[NFSVolume
Source] - NFS represents an NFS mount on the host that shares a pod’s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- persistent_
volume_ Dict[Persistentclaim Volume Claim Volume Source] - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- photon_
persistent_ Dict[Photondisk Persistent Disk Volume Source] - PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- portworx_
volume Dict[PortworxVolume Source] - PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
- projected
Dict[Projected
Volume Source] - Items for all in one resources secrets, configmaps, and downward API
- quobyte
Dict[Quobyte
Volume Source] - Quobyte represents a Quobyte mount on the host that shares a pod’s lifetime
- rbd
Dict[RBDVolume
Source] - RBD represents a Rados Block Device mount on the host that shares a pod’s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- scale_
io Dict[ScaleIOVolume Source] - ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- secret
Dict[Secret
Volume Source] - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- storageos
Dict[Storage
OSVolume Source] - StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
- vsphere_
volume Dict[VsphereVirtual Disk Volume Source] - VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
VolumeDevice
- Device
Path string - devicePath is the path inside of the container that the device will be mapped to.
- Name string
- name must match the name of a persistentVolumeClaim in the pod
- Device
Path string - devicePath is the path inside of the container that the device will be mapped to.
- Name string
- name must match the name of a persistentVolumeClaim in the pod
- device
Path string - devicePath is the path inside of the container that the device will be mapped to.
- name string
- name must match the name of a persistentVolumeClaim in the pod
- device_
path str - devicePath is the path inside of the container that the device will be mapped to.
- name str
- name must match the name of a persistentVolumeClaim in the pod
VolumeMount
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ‘:‘.
- Name string
- This must match the Name of a Volume.
- Mount
Propagation string - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
- Read
Only bool - Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
- Sub
Path string - Path within the volume from which the container’s volume should be mounted. Defaults to “” (volume’s root).
- Sub
Path stringExpr - Expanded path within the volume from which the container’s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container’s environment. Defaults to “” (volume’s root). SubPathExpr and SubPath are mutually exclusive.
- Mount
Path string - Path within the container at which the volume should be mounted. Must not contain ‘:‘.
- Name string
- This must match the Name of a Volume.
- Mount
Propagation string - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
- Read
Only bool - Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
- Sub
Path string - Path within the volume from which the container’s volume should be mounted. Defaults to “” (volume’s root).
- Sub
Path stringExpr - Expanded path within the volume from which the container’s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container’s environment. Defaults to “” (volume’s root). SubPathExpr and SubPath are mutually exclusive.
- mount
Path string - Path within the container at which the volume should be mounted. Must not contain ‘:‘.
- name string
- This must match the Name of a Volume.
- mount
Propagation string - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
- read
Only boolean - Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
- sub
Path string - Path within the volume from which the container’s volume should be mounted. Defaults to “” (volume’s root).
- sub
Path stringExpr - Expanded path within the volume from which the container’s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container’s environment. Defaults to “” (volume’s root). SubPathExpr and SubPath are mutually exclusive.
- mount_
path str - Path within the container at which the volume should be mounted. Must not contain ‘:‘.
- name str
- This must match the Name of a Volume.
- mount_
propagation str - mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
- read_
only bool - Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
- sub_
path str - Path within the volume from which the container’s volume should be mounted. Defaults to “” (volume’s root).
- sub_
path_ strexpr - Expanded path within the volume from which the container’s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container’s environment. Defaults to “” (volume’s root). SubPathExpr and SubPath are mutually exclusive.
VolumeProjection
- Config
Map Pulumi.Kubernetes. Core. V1. Inputs. Config Map Projection Args - information about the configMap data to project
- Downward
API Pulumi.Kubernetes. Core. V1. Inputs. Downward APIProjection Args - information about the downwardAPI data to project
- Secret
Pulumi.
Kubernetes. Core. V1. Inputs. Secret Projection Args - information about the secret data to project
- Service
Account Pulumi.Token Kubernetes. Core. V1. Inputs. Service Account Token Projection Args - information about the serviceAccountToken data to project
- Config
Map ConfigMap Projection - information about the configMap data to project
- Downward
API DownwardAPIProjection - information about the downwardAPI data to project
- Secret
Secret
Projection - information about the secret data to project
- Service
Account ServiceToken Account Token Projection - information about the serviceAccountToken data to project
- config
Map core.v1.Config Map Projection - information about the configMap data to project
- downward
API core.v1.Downward APIProjection - information about the downwardAPI data to project
- secret
core.v1.
Secret Projection - information about the secret data to project
- service
Account core.v1.Token Service Account Token Projection - information about the serviceAccountToken data to project
- config_
map Dict[ConfigMap Projection] - information about the configMap data to project
- downward_
api Dict[DownwardAPIProjection] - information about the downwardAPI data to project
- secret
Dict[Secret
Projection] - information about the secret data to project
- service_
account_ Dict[Servicetoken Account Token Projection] - information about the serviceAccountToken data to project
VsphereVirtualDiskVolumeSource
- Volume
Path string - Path that identifies vSphere volume vmdk
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Storage
Policy stringID - Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
- Storage
Policy stringName - Storage Policy Based Management (SPBM) profile name.
- Volume
Path string - Path that identifies vSphere volume vmdk
- Fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- Storage
Policy stringID - Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
- Storage
Policy stringName - Storage Policy Based Management (SPBM) profile name.
- volume
Path string - Path that identifies vSphere volume vmdk
- fs
Type string - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- storage
Policy stringID - Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
- storage
Policy stringName - Storage Policy Based Management (SPBM) profile name.
- volume_
path str - Path that identifies vSphere volume vmdk
- fs_
type str - Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
- storage_
policy_ strid - Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
- storage_
policy_ strname - Storage Policy Based Management (SPBM) profile name.
WeightedPodAffinityTerm
- Pod
Affinity Pulumi.Term Kubernetes. Core. V1. Inputs. Pod Affinity Term Args - Required. A pod affinity term, associated with the corresponding weight.
- Weight int
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
- Pod
Affinity PodTerm Affinity Term - Required. A pod affinity term, associated with the corresponding weight.
- Weight int
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
- pod
Affinity core.v1.Term Pod Affinity Term - Required. A pod affinity term, associated with the corresponding weight.
- weight number
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
- pod_
affinity_ Dict[Podterm Affinity Term] - Required. A pod affinity term, associated with the corresponding weight.
- weight float
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
WindowsSecurityContextOptions
- Gmsa
Credential stringSpec - GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
- Gmsa
Credential stringSpec Name - GMSACredentialSpecName is the name of the GMSA credential spec to use.
- Run
As stringUser Name - The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Gmsa
Credential stringSpec - GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
- Gmsa
Credential stringSpec Name - GMSACredentialSpecName is the name of the GMSA credential spec to use.
- Run
As stringUser Name - The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- gmsa
Credential stringSpec - GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
- gmsa
Credential stringSpec Name - GMSACredentialSpecName is the name of the GMSA credential spec to use.
- run
As stringUser Name - The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- gmsa_
credential_ strspec - GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
- gmsa_
credential_ strspec_ name - GMSACredentialSpecName is the name of the GMSA credential spec to use.
- run_
as_ struser_ name - The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
Package Details
- Repository
- https://github.com/pulumi/pulumi-kubernetes
- License
- Apache-2.0