kubernetes-client / kubernetes-client/javascript

not possible to set a client timeout

Đang mở
#1,613 9 bình luận 8 reaction 0 người được giao Xem trên GitHub
good first issue javascript
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

Mở 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.