client-go icon indicating copy to clipboard operation
client-go copied to clipboard

Go client for Kubernetes.

Results 177 client-go issues
Sort by recently updated
recently updated
newest added

Please add a method to add Labels to K8s Events via the EventRecorder interface

lifecycle/stale

After enabling the Image Streaming feature in our Google Kubernetes Engine (GKE) cluster, we've observed that Kubernetes labels for nodes are going missing. This issue seems to be consistently reproducible...

lifecycle/stale

client-go sets [minWatchTimeout](https://github.com/kubernetes/client-go/blob/master/tools/cache/reflector.go#L157) to only 5min by default. Every watch will be terminated and reinitiated every 7.5min on average. This can translate to large WATCH QPS to API server on...

lifecycle/stale

Below I have a really simple test and a minimal working example. In the test I am inserting 4 jobs into my fake client. I then delete all jobs that...

Line present inside shared_informer.go file is panicing: isSync = accessor.GetResourceVersion() == oldAccessor.GetResourceVersion() Has anyone else faced this?

lifecycle/stale

[Here](https://github.com/skonto/test-k8s/blob/main/README.md) is a way to reproduce. We also hit this at the [Knative side ](https://github.com/knative/serving/pull/15321#issuecomment-2176434523) from time to time, where we randomly kill pods. This leaves leases in a non...

lifecycle/rotten

I'm working on a kubectl facade for executing some common tasks in a known environment. I will need to pass in a context name on the command line and connect...

lifecycle/rotten

On Windows 11, I have multiple versions of kubectl installed, and I can work with our remote clusters perfectly fine with it (using corresponding version of kubectl), including listing pods....

lifecycle/rotten

The compatibility matrix is imprecise on how to handle upgrades https://github.com/kubernetes/client-go/?tab=readme-ov-file#compatibility-matrix. The chart tells us each client version will only be 100% compatible with the same AKS version. If that...

lifecycle/stale

endpoints, err := c.kubeClient.CoreV1().Endpoints(service.ObjectMeta.Namespace).Get(context.Background(), service.Name, metav1.GetOptions{}) if err != nil { log.Errorf("Error getting endpoints for service %s: %v\n", service.Name, err) } if the service.ObjectMeta.Namespace is empty string i.e. "" it...

lifecycle/stale