Skip to content

Conversation

@claudiolor
Copy link
Contributor

@claudiolor claudiolor commented Sep 10, 2025

Description

This PR fixes a known issue with Liqo: when a provider cluster becomes unreachable, it is not easy to disable a peering connection with that cluster, as the CRDreplicator and the ControllerManager attempt to remove resources from a cluster that will never come back up. A mechanism based on the
liqo.io/foreign-cluster-permanently-unreachable: true has been added: when a ForeignCluster is marked with that annotations, and the API server of the remote cluster is considered unreachable, then replicated resources are removed from the local cluster, ignoring the remote ones.

@github-actions github-actions bot added the feat Adds a new feature to the codebase label Sep 10, 2025
@adamjensenbot
Copy link
Collaborator

Hi @claudiolor. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • feat: 🚀 New Feature
  • fix: 🐛 Bug Fix
  • refactor: 🧹 Code Refactoring
  • docs: 📝 Documentation
  • style: 💄 Code Style
  • perf: 🐎 Performance Improvement
  • test: ✅ Tests
  • chore: 🚚 Dependencies Management
  • build: 📦 Builds Management
  • ci: 👷 CI/CD
  • revert: ⏪ Reverts Previous Changes

@claudiolor claudiolor changed the title feat: mark foreigncluster as permanently unreachable [Core] feat: mark foreigncluster as permanently unreachable Sep 10, 2025
@claudiolor
Copy link
Contributor Author

/rebase test=true

This patch fixes a known issue with Liqo: when a provider cluster
becomes unreachable, it is not easy to disable a peering connection with
that cluster, as the CRDreplicator and the ControllerManager attempt to
remove resources from a cluster that will never come back up.
A mechanism based on the
`liqo.io/foreign-cluster-permanently-unreachable` has been added: when a
ForeignCluster is marked with that annotations, and the API server of
the remote cluster is considered unreachable, then replicated resources
are removed from the local cluster, ignoring the remote ones.
@claudiolor
Copy link
Contributor Author

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Adds a new feature to the codebase size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants