Skip to content

io.kestra.plugin.kubernetes.PodCreate should fail when Pod has been deleted in Kubernetes #188

@kriko

Description

@kriko

Describe the issue

Currently when you run a Pod in Kubernetes with Kestra plugin io.kestra.plugin.kubernetes.PodCreate and when the Pod has been deleted in Kubernetes during the execution, then the Kestra flow task goes into a loop of checking for non existant pod, producing continious logs as follows:

No log since '2024-08-05T08:39:54.718424453Z', reconnecting
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \"podname-fddb3\" not found","reason":"NotFound","details":{"name":"podname-fddb3","kind":"pods"},"code":404}

Kestra task should instead gracefully fail.

Environment

  • Kestra Version: 0.17.16
  • Operating System (OS/Docker/Kubernetes): Kubernetes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pluginPlugin-related issue or feature requestbugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions