Siyu Wang
Siyu Wang
@armsnyder `PreserveUnknownFields` only helps it to have more fields beyond the definition, but the error means we can't determine the type of `interface` in CRD properties. You can do it...
> I'm writing with regard to the issue (https://github.com/Kong/kubernetes-ingress-controller/issues/2382) that would benefit from an introduction of pagination as a configurable option to client's implementation (that's where I understand this is...
@pmalek-sumo Aha, what I'm saying are two points: 1. What this issue going to do is NOT enabling page list in cache(informer), so it has no relationship with Kong/kubernetes-ingress-controller/issues/2382 ....
@pmalek-sumo @shaneutt I read your issue again, not sure what actually caused the `stream error when reading response body, may be caused by closed connection` error from apiserver. Have you...
> but the general consensus was that the culprit most likely is the long processing time and hence the timeout. The quit of your controller might be caused by the...
> What I've managed to observe as well is that when I've created a touch more secrets (e.g. 350 or 500) secrets (also putting 1MB of payload to each one)...
> I have tried this in a hack-ish way by setting the pageSize to 10 via hardcoding it in code, rebuilt the controller I use (the kubernetes-ingress-controller for Kong) in...
@quentinalbertone @harshanarayana Ah, I think you may misunderstand the controller-runtime client here. The client you directly create with `client.New()` will always do both read and write requests to API Server...
@quentinalbertone Two simple ways: (1) use the cache created by client: ```golang package main import ( "context" "fmt" "os" corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/client" ) var ( cl client.Client someCache cache.Cache...
> It looks wrong and can be misunderstood. Emm.. I don't think it is wrong, since it only gives an example of listing typed and unstructured objects from APIServer. >...