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 EksPodProperties = EksPodProperties' {
- containers :: Maybe [EksContainer]
- dnsPolicy :: Maybe Text
- hostNetwork :: Maybe Bool
- serviceAccountName :: Maybe Text
- volumes :: Maybe [EksVolume]
- newEksPodProperties :: EksPodProperties
- eksPodProperties_containers :: Lens' EksPodProperties (Maybe [EksContainer])
- eksPodProperties_dnsPolicy :: Lens' EksPodProperties (Maybe Text)
- eksPodProperties_hostNetwork :: Lens' EksPodProperties (Maybe Bool)
- eksPodProperties_serviceAccountName :: Lens' EksPodProperties (Maybe Text)
- eksPodProperties_volumes :: Lens' EksPodProperties (Maybe [EksVolume])
Documentation
data EksPodProperties Source #
The properties for the pod.
See: newEksPodProperties
smart constructor.
EksPodProperties' | |
|
Instances
newEksPodProperties :: EksPodProperties Source #
Create a value of EksPodProperties
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:EksPodProperties'
, eksPodProperties_containers
- The properties of the container that's used on the Amazon EKS pod.
$sel:dnsPolicy:EksPodProperties'
, eksPodProperties_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
$sel:hostNetwork:EksPodProperties'
, eksPodProperties_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:serviceAccountName:EksPodProperties'
, eksPodProperties_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:EksPodProperties'
, eksPodProperties_volumes
- Specifies the volumes for a job definition that uses Amazon EKS
resources.
eksPodProperties_containers :: Lens' EksPodProperties (Maybe [EksContainer]) Source #
The properties of the container that's used on the Amazon EKS pod.
eksPodProperties_dnsPolicy :: Lens' EksPodProperties (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. For more information,
see
Pod's DNS policy
in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
eksPodProperties_hostNetwork :: Lens' EksPodProperties (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.
eksPodProperties_serviceAccountName :: Lens' EksPodProperties (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.
eksPodProperties_volumes :: Lens' EksPodProperties (Maybe [EksVolume]) Source #
Specifies the volumes for a job definition that uses Amazon EKS resources.