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

Hi, I'm using client-go's [NewSharedInformer](https://godoc.org/k8s.io/client-go/tools/cache#NewSharedInformer) to access ingresses but I'm not sure which expectedType to use. I've started out using `(k8s.io/client-go/pkg/apis/)extensions.Ingress` which worked on my 1.7 clusters but another user...

lifecycle/frozen

- basically how to use resourceVersion correctly. Sorry if this is documented somewhere else ? - From my understanding, we should always do a list and get the resourceVersion from...

lifecycle/frozen
lifecycle/stale

Hi, when I run `trivy` on my project which is using `client-go` in `k8s.io/client-go v0.25.0` I got notification about https://avd.aquasec.com/nvd/2022/cve-2022-27664/ Best to upgrade to `0.0.0-20220906165146-f3363e06e74c`

Hello, `kubectl` provides a way to sort events by using: `kubectl get events --sort-by='.metadata.creationTimestamp'` How can I achieve the same using client-go APIs? ``` events, err := clientset.CoreV1().Events(namespace).List(context.TODO(), metav1.ListOptions{ FieldSelector:...

I would love to be able to use a SharedIndexInformer without my process leaking goroutines and eventually crashing. **Background:** I'm using controller-runtime to spin up a controller that in turn...

When I deploy a kubebuilder project image with deployment and securityContext defines readOnlyRootFilesystem: true, pod start failed and throw error msg: read-only file system ``` 2022-09-22T05:29:22.181Z INFO controller-runtime.metrics metrics server...

This is a request for the inverse of https://github.com/kubernetes/client-go/issues/351 Where environment variables contain proxy settings, it can be useful to specify that they should be ignored when communicating with the...

i want to exec cmd like "kubectl config set-credentials" in go-client, how could i can do this?

We are facing intermittent issue in k8s go-client creation in pod using client-go[https://github.com/kubernetes/client-go] at our customer side. K8s client creation is randomly failing with "Unauthorized" error in some pods. Here...

Even I set the config it wanted , it keep to throws the same error. In this code I try to copy a file from inside of a pod to...