#2533·python

在动态客户端 watch() 中支持 _request_timeout

作者: amel-ch创建于 2026年4月1日更新于 2026年9月10日
标签kind/feature

问题

在使用动态客户端的 watch() 方法时:

api = self._client.resources.get(
    api_version=self._api_version,
    kind=self._kind
)
for event in api.watch(
    timeout=server_timeout_seconds,
)
目前没有办法配置客户端请求超时(_request_timeout)。

内容来源: kubernetes-client/python