Skip to content

Liveness probe failed in k8s v1.28 and 1.29 using kopf 1.37.3 #1140

@ozlerhakan

Description

@ozlerhakan

Long story short

Hi @nolar ,

Our operator running on both k8s v1.28 and 1.29 has started failing the liveness probe at the startup after upgrading kopf to 1.37.3 along with Python 3.13. Switching back to 1.37.2 works as expected. There might be an incompatibility with the K8s version. I couldn't find a particular log from the output. I also tried the latest version of aiohttp==3.11.7 but it didn't help much.

Kopf version

1.37.3

Kubernetes version

1.28.13, 1.29.10

Python version

3.13

Code

No response

Logs

81s         Normal    Created             pod/operator
81s         Normal    Started             pod/operator
12s         Warning   Unhealthy           pod/operator-868f677cf5-7mscx    Liveness probe failed: Get "http://10.0.0.160:8080/healthz": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
12s         Normal    Killing             pod/operator-868f677cf5-7mscx    Container operator failed liveness probe, will be restarted

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions