python
python copied to clipboard
Official Python client library for kubernetes
**What happened (please include outputs or screenshots)**: When trying to submit an event with some optional fields not set (e.g. `reportingComponent`, `reportingInstance`, `action`, `involvedObject.{namespace,uid,resourceVersion}`), the API server returns errors like...
**What happened (please include outputs or screenshots)**: I tried implementing the first example of the Kubernetes documentation (https://kubernetes.io/docs/tasks/job/pod-failure-policy/) for pod failure policies: ```yaml podFailurePolicy: rules: - action: FailJob onExitCodes: containerName:...
Hey there 👋. I'm the author of [`kr8s`](https://docs.kr8s.org/en/latest/), another Python library for Kubernetes. The goal of `kr8s` is to be a batteries-included kubectl-inspired Python library that has a very shallow...
**What happened (please include outputs or screenshots)**: There are errors when using `DynamicClient` in multithreading env. Sample error log like: ``` ERROR:root:load cache error: Expecting value: line 1 column 1...
#### What type of PR is this? /kind bug #### What this PR does / why we need it: This PR fixes a problem the DynamicClient `watch` method which has...
**What happened (please include outputs or screenshots)**: JSON Patch is not implemented in patch_namespaced_custom_object. When trying to pass JSON Patch lists as the body to `patch_namespaced_custom_object`, You'll get the following...
#### What type of PR is this? /kind feature This a feature addition to start supporting the 'proxy-url' field in the kubernetes config files. This will support most proxies. An...
**What happened (please include outputs or screenshots)**: Our Kubernetes clusters have [Teleport](https://goteleport.com/) agents installed on them as a means to manage secure/auditable access for our engineers. The agents basically act...
After sometime watch method is not detecting any change in secret/configmaps. - Kubernetes version (`kubectl version`): Client Version: v1.28.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.25.5 No timeout set for watch...
#### What type of PR is this? #### What this PR does / why we need it: This PR offers reasonable defaults to the `TimezoneInfo` class in `dateutils`. The constructor...