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 Everyone! We updated our K8s cluster to 1.21 and since the [Bound Tokens are now the default option for service accounts](https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-bound-service-account-tokens) I just wanted to double check when does...

lifecycle/rotten

It would be nice to be able call get_or_create on long lasting resources such as `NameSpace`, `ServiceAccount` etc. This will reduce verbosity in some cases. For example this function: ```go...

lifecycle/rotten

Hi I think the utility method (like [this](https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/config/config.go#L99) from controller-runtime) would be useful WDYT?

lifecycle/rotten

Please correct me if I am wrong but we are running in a somehow complicated situation. As following: - one service is the `leader` who dispatches actions to the `n`...

lifecycle/rotten

``` func (c *FakePods) List(ctx context.Context, opts v1.ListOptions) (result *corev1.PodList, err error) { // ... label, _, _ := testing.ExtractFromListOptions(opts) list := &corev1.PodList{ListMeta: obj.(*corev1.PodList).ListMeta} for _, item := range obj.(*corev1.PodList).Items...

lifecycle/rotten

Hi ! I'd like to know how to safely drain the Pod and Node as kubectl does, is there any example ? If Update() method is possible, is that safe...

rest config has **APIPath** params which is set hard coded to "/apis", without option for overwrite. is it on propose? In order to access k8s via Rancher API, I wanna...

lifecycle/rotten

Hi, The issue always happens to me with the yaml and the demo code. To simply demo the error, I summarized it https://github.com/zongzw/client-go-helloworld/ ### Versions: ``` k8s.io/api v0.24.1 k8s.io/client-go v0.24.1...

lifecycle/rotten

Im trying to get a complete view of the deployments, statefulsets, replicasets, etc and match them to their respective pods. What I've tried so far: 1. Pod-First: I've tried getting...

About workqueue. Among workqueue.ParallelizeUntil goroutine does not make idle goroutine processing tasks immediately, if there is a plan to further optimize it

lifecycle/rotten