kubernetes-client/python

Add support for bookmark events

開放

#1,729 建立於 2022年2月28日

 (7 則留言) (10 個反應) (0 位負責人)Python (3,323 個分叉)batch import
help wantedkind/feature

倉庫指標

星標
 (6,225 顆星)
PR 合併指標
 (平均合併 10天 3小時) (30 天內合併 2 個 PR)

描述

What is the feature and why do you need it:

In kubernetes-client/python-base#234 the parsing of BOOKMARK events has been bypassed (and still is as of today). But those events exist for a reason and can be useful in some circumstances. A motivational example is this Airflow issue: https://github.com/apache/airflow/issues/21087.

As Airflows scheduler can be stopped and restarted, while many events occur on k8s, it would need to process BOOKMARK to recover its state. Sadly because those are ignored by the Python client, it cannot. Which manifests itself in varied ways (see the different issues referenced in the ticket above)

Describe the solution you'd like to see:

We'd like for the bookmark event to be parsed and yield by the watcher, so it is possible for clients to consume them.

(copied from kubernetes-client/python-base#286)

貢獻者指南