-
Notifications
You must be signed in to change notification settings - Fork 221
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache NiFi on EKS #99
Conversation
|
||
# Apache NiFi on EKS | ||
|
||
### Coming soon.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@season1946 NiFi.md is updated with instructions |
@codesometech hosted zone and acm cert are not optional. Since the doc says it is optional, I directly copy/paste the code below but got error export TF_VAR_eks_cluster_domain="example.com" |
@season1946 Documentation is fixed. To proceed you will need a hosted zone in Route53 and an ACM cert for that domain. |
@codesometech thanks for the explanation. looks good to me. |
enable_amazon_eks_vpc_cni = true | ||
enable_amazon_eks_coredns = true | ||
enable_amazon_eks_kube_proxy = true | ||
enable_amazon_eks_aws_ebs_csi_driver = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually used? Looks like the default in-tree gp2 StorageClass is used in helm chart.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eks_aws_ebs_csi_driver is now mandatory form eks v1.23 even with default gp2.
streaming/nifi/addons.tf
Outdated
name = "metrics-server" | ||
repository = "https://kubernetes-sigs.github.io/metrics-server/" # (Optional) Repository URL where to locate the requested chart. | ||
chart = "metrics-server" | ||
version = "3.8.2" | ||
namespace = "kube-system" | ||
timeout = "300" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should try to keep the code less verbose and remove the default values. Please do this for all add-ons below.
special = true | ||
override_special = "!#$%&*()-_=+[]{}<>:?" | ||
} | ||
#tfsec:ignore:aws-ssm-secret-use-customer-key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing newline
length = 16 | ||
special = false | ||
} | ||
#tfsec:ignore:aws-ssm-secret-use-customer-key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing newline
length = 16 | ||
special = false | ||
} | ||
#tfsec:ignore:aws-ssm-secret-use-customer-key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing newline
streaming/nifi/vpc.tf
Outdated
} | ||
|
||
private_subnet_tags = { | ||
"kubernetes.io/cluster/${local.name}" = "shared" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this tag is no longer needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tag removed
@@ -0,0 +1,205 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove references to "ray" in the doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
sidebar_label: Apache NiFi on EKS | ||
--- | ||
|
||
# Apache NiFi on EKS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some details on what Nifi is and when should customers consider Nifi. References to some pertinent documentation would also be useful here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added intro section
|
||
Coming soon.. | ||
|
||
### Monitoring |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a grafana dashboard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grafana dashboard link added
|
||
### Examples | ||
|
||
Coming soon.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a simple example now? Without example the blueprint does not make much sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example added
@askulkarni2 I made the suggested changes and also moved to the new pattern for eks cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codesometech Excellent work on this PR Praveen 🥇 We are good to merge this PR if you double check the comments from Apoorva and ensure the checks are passing.
@vara-bonthu I added a couple of missing new lines. TFlint is failing in emr-eks-ack-crossplane and ray. Rest of the checks are passing. |
What does this PR do?
🛑 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.
This PR enables deployment on Apache NiFi on EKS using EKS Blueprints.
#80
Motivation
AWS Data Lab team observed customers looking for guidance on running Apache NiFi on EKS. Currently customers are running Apache NiFi on EC2. Running Apache NiFi on EKS simplifies operations (deployments, observability, etc.) for customers who are already running other workloads on Amazon EKS
More
website/docs
orwebsite/blog
section for this featurepre-commit run -a
with this PR. Link for installing pre-commit locallyFor Moderators
Additional Notes
A working example and documentation for the website is currently under development.