kubernetes-client / kubernetes-client/javascript
not possible to set a client timeout
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 568
- Merge trung bình
- 17 giờ 57 phút
- Pull request đã merge (30 ngày)
- 41
Mô tả
**Describe the bug**
At the moment, it seems not possible to set a client timeout since node-fetch requires passing an AbortController instance to the fetch request option's signal.
** Client Version **
1.0.0-rc3
**To Reproduce**
**Expected behavior**
It would be great to set a client's timeout when creating a k8sApi instance or invoking a request
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by tracing how the client is created and how requests are invoked, focusing on the node-fetch signal option and AbortController requirement described here. Done means a timeout can be configured when creating a k8sApi instance or when invoking a request, with the behavior verified through the relevant request path.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100