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 currently building a kubectl plugin with Go. Is there a specific method/hacky way to detect that a binary is being executed via `kubectl`? i.e. for Docker just check...

lifecycle/rotten

Seeing this kubectl error message from an atomic Helm deployment in a CI environment is really frustrating. Diagnosing these cases is really time consuming. kubectl could provide more details about...

lifecycle/rotten

I can see that go client has "v1beta1" API version which is deprecated already ``` managedFields: - manager: Go-http-client apiVersion: rbac.authorization.k8s.io/v1beta1 fieldsType: FieldsV1 ``` Is it possible to update it...

lifecycle/rotten

If I try to use the GetScale method on the Fake SimpleClientset, then it causes a panic related to the underlying Fake re-using the Deployment object, and not selecting a...

lifecycle/rotten

How do i get the numerical value of the cpu, the cpu size is a float

lifecycle/rotten

Hi, When I write a tests: ```go fakeReadyDeployment := fake.NewSimpleClientset(&appV1.Deployment{ TypeMeta: metav1.TypeMeta{ Kind: "Deployment", APIVersion: "apps/v1", }, ObjectMeta: metav1.ObjectMeta{ Name: deploymentName, Namespace: "default", }, }).AppsV1().Deployments("default") ``` After try to apply:...

lifecycle/rotten

The `jsonpath` package interprets `$.['a.b']` the same as `$.a.b` which is incorrect. It should be the same as `$.a\.b`. Here's some code to demonstrate the issue: https://play.golang.org/p/qIaggWZVHl5 Also demonstrated by...

lifecycle/stale

I was reviewing the ingress-nginx dependencies and this announcement popped out. ```Although the older libraries can still be used beyond 31 March 2023, they will no longer receive official support...

Hello, I'm trying to run the out of cluster example found here https://github.com/kubernetes/client-go/tree/master/examples/out-of-cluster-client-configuration . I made sure that 'kubectl get nodes' is working correctly when I run it from my...

lifecycle/rotten

I am seeking guidance on how to forcefully delete a pod via this library. I would like to do so via DeleteOptions(https://github.com/kubernetes/client-go/blob/6964e37acfd3678087cfb1ced00774753c27ea96/applyconfigurations/meta/v1/deleteoptions.go) but force is not a property. Thanks, Corey

lifecycle/rotten