Skip to content

Remove the router pod when an breaking config happens - #43

Merged
fedepaol merged 1 commit into
mainfrom
killpods
Mar 10, 2025
Merged

Remove the router pod when an breaking config happens#43
fedepaol merged 1 commit into
mainfrom
killpods

Conversation

@fedepaol

@fedepaol fedepaol commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

When the underlay config changes, we kill the pod so the reconciliation loop starts again instead of recovering everything.

"log/slog"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/cri-api/pkg/errors"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should point to "k8s.io/apimachinery/pkg/api/errors"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stupid auto - correction

We need to restart the router pod and restart from a clean slate if some
major changes (like changes in the vtep ip, or in the interface used for
the underlay) happen.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants