AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The properties for the pod.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class EksPodProperties
The EksPodProperties type exposes the following members
Name | Description | |
---|---|---|
EksPodProperties() |
Name | Type | Description | |
---|---|---|---|
Containers | System.Collections.Generic.List<Amazon.Batch.Model.EksContainer> |
Gets and sets the property Containers. The properties of the container that's used on the Amazon EKS pod. |
|
DnsPolicy | System.String |
Gets and sets the property DnsPolicy.
The DNS policy for the pod. The default value is
Valid values: |
|
HostNetwork | System.Boolean |
Gets and sets the property HostNetwork.
Indicates if the pod uses the hosts' network IP address. The default value is |
|
ImagePullSecrets | System.Collections.Generic.List<Amazon.Batch.Model.ImagePullSecret> |
Gets and sets the property ImagePullSecrets. References a Kubernetes secret resource. This object must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.
|
|
InitContainers | System.Collections.Generic.List<Amazon.Batch.Model.EksContainer> |
Gets and sets the property InitContainers. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation. This object is limited to 10 elements |
|
Metadata | Amazon.Batch.Model.EksMetadata |
Gets and sets the property Metadata. Metadata about the Kubernetes pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation. |
|
ServiceAccountName | System.String |
Gets and sets the property ServiceAccountName. The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation. |
|
ShareProcessNamespace | System.Boolean |
Gets and sets the property ShareProcessNamespace. Indicates if the processes in a container are shared, or visible, to other containers in the same pod. For more information, see Share Process Namespace between Containers in a Pod. |
|
Volumes | System.Collections.Generic.List<Amazon.Batch.Model.EksVolume> |
Gets and sets the property Volumes. Specifies the volumes for a job definition that uses Amazon EKS resources. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5