Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data EksPodPropertiesDetail = EksPodPropertiesDetail' {}
- newEksPodPropertiesDetail :: EksPodPropertiesDetail
- eksPodPropertiesDetail_containers :: Lens' EksPodPropertiesDetail (Maybe [EksContainerDetail])
- eksPodPropertiesDetail_dnsPolicy :: Lens' EksPodPropertiesDetail (Maybe Text)
- eksPodPropertiesDetail_hostNetwork :: Lens' EksPodPropertiesDetail (Maybe Bool)
- eksPodPropertiesDetail_nodeName :: Lens' EksPodPropertiesDetail (Maybe Text)
- eksPodPropertiesDetail_podName :: Lens' EksPodPropertiesDetail (Maybe Text)
- eksPodPropertiesDetail_serviceAccountName :: Lens' EksPodPropertiesDetail (Maybe Text)
- eksPodPropertiesDetail_volumes :: Lens' EksPodPropertiesDetail (Maybe [EksVolume])
Documentation
data EksPodPropertiesDetail Source #
The details for the pod.
See: newEksPodPropertiesDetail
smart constructor.
EksPodPropertiesDetail' | |
|
Instances
newEksPodPropertiesDetail :: EksPodPropertiesDetail Source #
Create a value of EksPodPropertiesDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containers:EksPodPropertiesDetail'
, eksPodPropertiesDetail_containers
- The properties of the container that's used on the Amazon EKS pod.
$sel:dnsPolicy:EksPodPropertiesDetail'
, eksPodPropertiesDetail_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. If no value was
specified for dnsPolicy
in the
RegisterJobDefinition
API operation, then no value will be returned for dnsPolicy
by either
of
DescribeJobDefinitions
or
DescribeJobs
API operations. The pod spec setting will contain either ClusterFirst
or ClusterFirstWithHostNet
, depending on the value of the
hostNetwork
parameter. For more information, see
Pod's DNS policy
in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
$sel:hostNetwork:EksPodPropertiesDetail'
, eksPodPropertiesDetail_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.
$sel:nodeName:EksPodPropertiesDetail'
, eksPodPropertiesDetail_nodeName
- The name of the node for this job.
$sel:podName:EksPodPropertiesDetail'
, eksPodPropertiesDetail_podName
- The name of the pod for this job.
$sel:serviceAccountName:EksPodPropertiesDetail'
, eksPodPropertiesDetail_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.
$sel:volumes:EksPodPropertiesDetail'
, eksPodPropertiesDetail_volumes
- Specifies the volumes for a job definition using Amazon EKS resources.
eksPodPropertiesDetail_containers :: Lens' EksPodPropertiesDetail (Maybe [EksContainerDetail]) Source #
The properties of the container that's used on the Amazon EKS pod.
eksPodPropertiesDetail_dnsPolicy :: Lens' EksPodPropertiesDetail (Maybe Text) Source #
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. If no value was
specified for dnsPolicy
in the
RegisterJobDefinition
API operation, then no value will be returned for dnsPolicy
by either
of
DescribeJobDefinitions
or
DescribeJobs
API operations. The pod spec setting will contain either ClusterFirst
or ClusterFirstWithHostNet
, depending on the value of the
hostNetwork
parameter. For more information, see
Pod's DNS policy
in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
eksPodPropertiesDetail_hostNetwork :: Lens' EksPodPropertiesDetail (Maybe Bool) Source #
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.
eksPodPropertiesDetail_nodeName :: Lens' EksPodPropertiesDetail (Maybe Text) Source #
The name of the node for this job.
eksPodPropertiesDetail_podName :: Lens' EksPodPropertiesDetail (Maybe Text) Source #
The name of the pod for this job.
eksPodPropertiesDetail_serviceAccountName :: Lens' EksPodPropertiesDetail (Maybe Text) Source #
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.
eksPodPropertiesDetail_volumes :: Lens' EksPodPropertiesDetail (Maybe [EksVolume]) Source #
Specifies the volumes for a job definition using Amazon EKS resources.