Update eks cluster with stack script #72
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces improvements and additional cleanup steps to the EKS cluster setup and teardown scripts, focusing on more robust resource management and clearer configuration. The most significant change is the addition of automated deletion of EBS volumes associated with the cluster during cleanup, ensuring no orphaned storage resources remain after cluster deletion. There are also enhancements to image configuration documentation and S3 endpoint handling.
Related Issues
Type of Change
Changes Made
Resource Cleanup Improvements
delete_cluster_ebs_volumesfunction to automatically find and delete all EBS volumes associated with the cluster, including those tagged by Kubernetes and the EBS CSI driver. This function is now called as part of thedelete_cluster_minimalcleanup process.Configuration and Documentation Enhancements
cluster-config.yaml, clarifying the difference between relative and full image paths and their resulting behavior.build_image_urlhelper function during installation.Testing Performed
Ran
./eks_cluster_with_stack delete-fullto clean up and existing cluster and verified all EBS resources were deleted.make test)make lint)Documentation
Checklist
Additional Notes
These changes were requested by a Splunk employee who is going through the ai tier setup.