client-go
client-go copied to clipboard
Go client for Kubernetes.
Comment which is reffering to `ConfigMapsLeasesResourceLock` said `EndpointsLeasesResourceLock` instead which was confusing Sorry, we do not accept changes directly against this repository, unless the change is to the `README.md` itself....
I imported client-go v0.22.2 and used leader election logic, but I only deployed one pod. When the pod failed to update the lock for whatever reason, the pod does not...
K8s 1.21: batchv1beta1 change to batchv1,so i get warning,such as:`warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob`
the below is a code to tail logs for specific pod/container. when tailing pod, after 4 hours exactly, it hangs and break loop of Scan() and continue while pod still...
I used the Apply method to update the YAML file but it reported an error Here's my code func (c *ClientGo) applyDeployment(namespace string, manifest []byte) error { config := applyappsv1.DeploymentApplyConfiguration{}...
Having go.1.18 introducing generics, I wonder if it make sense to add generics to `workqueue` package, i.e. to interfaces like `RateLimitingInterface` etc. Any opinions ?
hi i want to update my pod which has multiple containers. my source code and error message is bellow. how to update my specific pod? please help. ```golang pods, _...
Right now in the `ExecConfig` struct you can add env vars using the `Envs` field but by default it merges with the host process environment variable, which might be not...
testing TokenReviews requires manipulating the created tokenReview object as part of the test while the submitted toeknReview object sent as part of Create is part of the code being tested....
Hello Everyone, I saw for every k8s resource we have a unique [UID](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/). So, does the `client-go` has capability to query resources using this UID?