AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.EksPodProperties

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class EksPodProperties

The EksPodProperties type exposes the following members

Constructors

NameDescription
Public Method EksPodProperties()

Properties

NameTypeDescription
Public Property 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.

Public Property DnsPolicy System.String

Gets and sets the property DnsPolicy.

The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.

Valid values: Default | ClusterFirst | ClusterFirstWithHostNet

Public Property HostNetwork System.Boolean

Gets and sets the property HostNetwork.

Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see Host namespaces and Pod networking in the Kubernetes documentation.

Public Property 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.

ImagePullSecret$name is required when this object is used.

Public Property 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

Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5