Skip to content

Auto-Restoring deleted ServiceImports and EndPointSlices #696

@davidohana

Description

@davidohana

Not sure whether to call this a bug or an enhancement.

What happened:

  • Deleting a service import or an endpoint slice locally - it stays deleted locally and deletion is synced to the broker.
  • Deleting a service import or an endpoint slice from the broker, nothing happen

What you expected to happen:

The agent shall recreate the service import / endpoint slice after some time as the "source of truth" is the export and it still exists. Currently this only happens after lighthouse agent restart.

Additional notes:

To compare, if I delete a k8s endpoint slice, it is recreated immediately.
I realize that those edge cases are only possible if someone with sufficient permissions delete those objects manually.

Slack discussion link: https://kubernetes.slack.com/archives/C010RJV694M/p1645966829687039

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions