Skip to content

Leader for life lock not released in case pod is preempted #156

@jagpreetstamber

Description

@jagpreetstamber

Bug Report

What did you do?
The operator pod was preempted from the cluster to allow other high priority pod.

What did you expect to see?
The operator pod was rescheduled and it should become the leader.

What did you see instead? Under which circumstances?
The new operator pod started did not become the leader instead it was waiting as previous preempted pod is still the leader.

Environment

  • operator-lib version: v0.12.0

Possible Solution
check for pod preemption along with the eviction

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions