Closed brandond closed 4 months ago
@brandond I found a way to reproduce the watch-list request easily. Firstly, use kubectl proxy to bypass the authorization/certification issue.
kubectl proxy &
Then, use curl to create a watch-list request to apiserver, and please ensure you enabled watch-list feature in k8s apiserver.
curl 'http://localhost:8001/api/v1/namespaces/default/pods?allowWatchBookmarks=true&resourceVersionMatch=NotOlderThan&sendInitialEvents=true&timeoutSeconds=565&watch=true'
Now You can dig out what's going on under the hood.
Originally posted by @qwtsc in https://github.com/k3s-io/kine/issues/255#issuecomment-1888178259
@brandond I found a way to reproduce the watch-list request easily. Firstly, use kubectl proxy to bypass the authorization/certification issue.
Then, use curl to create a watch-list request to apiserver, and please ensure you enabled watch-list feature in k8s apiserver.
Now You can dig out what's going on under the hood.
Originally posted by @qwtsc in https://github.com/k3s-io/kine/issues/255#issuecomment-1888178259