Skip to content

[bug or feature?] pod being killed continuously #588

@Forget-C

Description

@Forget-C

the default namespace has two pods, run go run main.go --interval 10s --namespaces 'default' --no-dry-run
image
the test pod was killed repeatedly, I think this is unfriendly in some scenarios. Is this expected behavior?

questions:

  1. i know the --minimum-age , it's use pod.ObjectMeta.CreationTimestamp check it, but it is possible that the pod will be killed again while it is still starting.
  2. --minimum-age cannot solve the problem of the same pod being killed continuously.
  3. add an option for pod being killed continuously ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions