Class: Aws::Batch::Types::EksPodProperties
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::EksPodProperties
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
The properties for the pod.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#containers ⇒ Array<Types::EksContainer>
The properties of the container that's used on the Amazon EKS pod.
-
#dns_policy ⇒ String
The DNS policy for the pod.
-
#host_network ⇒ Boolean
Indicates if the pod uses the hosts' network IP address.
-
#metadata ⇒ Types::EksMetadata
Metadata about the Kubernetes pod.
-
#service_account_name ⇒ String
The name of the service account that's used to run the pod.
-
#volumes ⇒ Array<Types::EksVolume>
Specifies the volumes for a job definition that uses Amazon EKS resources.
Instance Attribute Details
#containers ⇒ Array<Types::EksContainer>
The properties of the container that's used on the Amazon EKS pod.
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |
#dns_policy ⇒ String
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
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |
#host_network ⇒ Boolean
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.
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |
#metadata ⇒ Types::EksMetadata
Metadata about the Kubernetes pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |
#service_account_name ⇒ String
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.
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |
#volumes ⇒ Array<Types::EksVolume>
Specifies the volumes for a job definition that uses Amazon EKS resources.
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3725 class EksPodProperties < Struct.new( :service_account_name, :host_network, :dns_policy, :containers, :volumes, :metadata) SENSITIVE = [] include Aws::Structure end |