client-go
client-go copied to clipboard
Go client for Kubernetes.
BUMP
BUMP _Originally posted by @BrunoMCBraga in https://github.com/kubernetes/client-go/issues/815#issuecomment-678800022_ Whether to consider implementing IsPodReady() function in client-go package to avoid importing kubernetes package when developing with go language
Can we re-open this? I'm happy to answer questions from a Crossplane perspective. My use-case is I would like to filter events of a Crossplane ManagedResource which happens to be...
An error `http2: client connection force closed via ClientConn.Close` has occured for some reason (maybe api-server was under load). This lead our deployment tool (helm based one, which makes use...
Currently all the fake clients leverage these fixtures: https://github.com/kubernetes/client-go/blob/master/testing/fixture.go#L151-L184 Which are super great and helpful, but there is a new patch type in town and these fixtures don't know about...
1. first call `q.AddAfter(1, 3*time.Second)` then call `q.AddAfter(1, 5*time.Second)`, but `q.Get()` just returned after first call `q.AddAfter` 3 second later. 2. first call `q.AddAfter(1, 5*time.Second)` then call `q.AddAfter(1, 3*time.Second)`, `q.Get()`...
when using `go get k8s.io/client-go@latest`, v1.5.2 is pulled instead of v0.24.1
After I evicted an pod, I performed the operation of the full list instance, but found something that did not meet expectations **Simulation scene:** ``` package main import ( "context"...
hi~ I use fake client to create and modify simulated resources.When the amount of data is large and changes frequently, it will cause the program to panic. ![截屏2022-06-06 下午2 33...
I'm writing a controller that creates resources that are owners of multiple other resources. This is akin to a 1 to many relationship. I need to be able to get...
If you attempt to perform DeleteCollection on the fake Kubernetes client, then no error will be returned and nothing will be deleted. This is because the current behaviour of the...