Skip to content

Conversation

@jyeshe
Copy link
Contributor

@jyeshe jyeshe commented Apr 16, 2025

Description

ECS also provides a service discovery via DNS. By using Cluster.Strategy.Kubernetes.DNS, Lightning instances are able to join Erlang cluster (via vendor-free DNS query) to enable the PubSub. It relies on a env var set by AWS themselves (AWS_EXECUTION_ENV).

Refs "AWS Lagos dependency for Lightning clustering."

Validation Steps

  1. Set K8S_HEADLESS_SERVICE with the ECS service discovery DNS name
  2. Run a task

Additional notes for the reviewer

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

Pre-submission checklist

  • I have performed a self-review of my code.
  • I have implemented and tested all related authorization policies. (e.g., :owner, :admin, :editor, :viewer)
  • I have updated the changelog.
  • I have ticked a box in "AI usage" in this PR

@github-project-automation github-project-automation bot moved this to New Issues in v2 Apr 16, 2025
@theroinaochieng theroinaochieng moved this from New Issues to In review in v2 Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants