JobRun

emrcontainers.services.k8s.aws/v1alpha1

TypeLink
GoDocemrcontainers-controller/apis/v1alpha1#JobRun

Metadata

PropertyValue
ScopeNamespaced
KindJobRun
ListKindJobRunList
Pluraljobruns
Singularjobrun

This entity describes a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

Spec

configurationOverrides: string
executionRoleARN: string
jobDriver: 
  sparkSubmitJobDriver: 
    entryPoint: string
    entryPointArguments:
    - string
    sparkSubmitParameters: string
name: string
releaseLabel: string
tags: {}
virtualClusterID: string
virtualClusterRef: 
  from: 
    name: string
FieldDescription
configurationOverrides
Optional
string
executionRoleARN
Required
string
The execution role ARN for the job run.
jobDriver
Required
object
The job driver for the job run.
jobDriver.sparkSubmitJobDriver
Optional
object
The information about job driver for Spark submit.
jobDriver.sparkSubmitJobDriver.entryPoint
Optional
string
jobDriver.sparkSubmitJobDriver.entryPointArguments
Optional
array
jobDriver.sparkSubmitJobDriver.entryPointArguments.[]
Required
string
name
Optional
string
The name of the job run.
releaseLabel
Required
string
The Amazon EMR release version to use for the job run.
tags
Optional
object
The tags assigned to job runs.
virtualClusterID
Optional
string
The virtual cluster ID for which the job run request is submitted.
virtualClusterRef
Optional
object
AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference
type to provide more user friendly syntax for references using ‘from’ field
Ex:
APIIDRef:


from:
name: my-api
virtualClusterRef.from
Optional
object
AWSResourceReference provides all the values necessary to reference another
k8s resource for finding the identifier(Id/ARN/Name)
virtualClusterRef.from.name
Optional
string

Status

ackResourceMetadata: 
  arn: string
  ownerAccountID: string
  region: string
conditions:
- lastTransitionTime: string
  message: string
  reason: string
  status: string
  type: string
id: string
state: string
FieldDescription
ackResourceMetadata
Optional
object
All CRs managed by ACK have a common Status.ACKResourceMetadata member
that is used to contain resource sync state, account ownership,
constructed ARN for the resource
ackResourceMetadata.arn
Optional
string
ARN is the Amazon Resource Name for the resource. This is a
globally-unique identifier and is set only by the ACK service controller
once the controller has orchestrated the creation of the resource OR
when it has verified that an “adopted” resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR’s Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
ackResourceMetadata.ownerAccountID
Required
string
OwnerAccountID is the AWS Account ID of the account that owns the
backend AWS service API resource.
ackResourceMetadata.region
Required
string
Region is the AWS region in which the resource exists or will exist.
conditions
Optional
array
All CRS managed by ACK have a common Status.Conditions member that
contains a collection of ackv1alpha1.Condition objects that describe
the various terminal states of the CR and its backend AWS service API
resource
conditions.[]
Required
object
Condition is the common struct used by all CRDs managed by ACK service
controllers to indicate terminal states of the CR and its backend AWS
service API resource
conditions.[].message
Optional
string
A human readable message indicating details about the transition.
conditions.[].reason
Optional
string
The reason for the condition’s last transition.
conditions.[].status
Optional
string
Status of the condition, one of True, False, Unknown.
conditions.[].type
Optional
string
Type is the type of the Condition
id
Optional
string
This output displays the started job run ID.
state
Optional
string
The state of the job run.