Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/emr eks spark operator #220

Merged
merged 13 commits into from
Jun 19, 2023

Conversation

lmouhib
Copy link
Contributor

@lmouhib lmouhib commented Jun 7, 2023

What does this PR do?

Add a blueprint to use Spark Operator with EMR on EKS.

馃洃 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation

Recently launched feature by emr on eks

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • [x ] Mandatory for new blueprints. Yes, I have added a example to support my blueprint PR
  • [ x] Mandatory for new blueprints. Yes, I have updated the website/docs or website/blog section for this feature
  • [ x] Yes, I ran pre-commit run -a with this PR. Link for installing pre-commit locally

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

@lmouhib lmouhib temporarily deployed to DoEKS Test June 7, 2023 11:46 — with GitHub Actions Inactive
Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmouhib Thanks for raising the PR for this new feature. We don't need a new blueprint for this pattern. We can use the existing emr-eks-karpenter blueprint and introduce a new variable for deploying emr-spark-operator add-on.

  • Add a new variable to deploy emr-spark-operator add-on
  • Add this new add-on under workshop/modules/terraform-aws-eks-data-addons
  • Add new example under analytics/terraform/emr-eks-karpenter/examples/emr-spark-operator and emr-spark-submit etc.
  • You can have a dedicated Website doc similar to what you did in the PR

@lmouhib lmouhib force-pushed the feat/emr-eks-spark-operator branch from 5c3d66c to 4698724 Compare June 13, 2023 14:54
@lmouhib lmouhib temporarily deployed to DoEKS Test June 13, 2023 14:54 — with GitHub Actions Inactive
@lmouhib lmouhib temporarily deployed to DoEKS Test June 13, 2023 19:31 — with GitHub Actions Inactive
@lmouhib
Copy link
Contributor Author

lmouhib commented Jun 13, 2023

@vara-bonthu I applied the changes requested

@lmouhib lmouhib temporarily deployed to DoEKS Test June 13, 2023 19:55 — with GitHub Actions Inactive
Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor comments otherwise looks good to me 馃憤

analytics/terraform/emr-eks-karpenter/data.tf Show resolved Hide resolved
))
}

resource "helm_release" "emr_spark_operator" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to use all the values that comes with helm release. Use the other helm release example.

cpu: 100m
memory: 512Mi

# batchScheduler:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the commented lines

# -- Webhook service port
port: 8080

emrContainers:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set only this value in this module and ignore the other values as those are the default

@lmouhib lmouhib temporarily deployed to DoEKS Test June 14, 2023 08:29 — with GitHub Actions Inactive
@lmouhib lmouhib temporarily deployed to DoEKS Test June 14, 2023 15:56 — with GitHub Actions Inactive
@@ -31,6 +31,10 @@ locals {
grafana_repository = "https://grafana.github.io/helm-charts"
grafana_version = "6.52.4"

emr_spark_operator_name = "spark-operator"
emr_spark_operator_version = "1.1.26-amzn-1"
emr_spark_operator_namespace = "spark-operator"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this to emr-spark-operator

@lmouhib lmouhib temporarily deployed to DoEKS Test June 19, 2023 11:26 — with GitHub Actions Inactive
@vara-bonthu vara-bonthu temporarily deployed to DoEKS Test June 19, 2023 12:15 — with GitHub Actions Inactive
@vara-bonthu vara-bonthu temporarily deployed to DoEKS Test June 19, 2023 12:56 — with GitHub Actions Inactive
Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmouhib Thanks for this PR 馃殌

@vara-bonthu vara-bonthu merged commit a8140b8 into awslabs:main Jun 19, 2023
51 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants