python
python copied to clipboard
Official Python client library for kubernetes
This issue occurs because parse_rfc3339 in the Kubernetes Python client does not guard against re.search() returning None. When the input string is not a valid RFC3339 timestamp, calling .groups() on...
## Summary Various valid deployment spec properties are seemingly wiped out when I load it into a `V1DeploymentSpec` object, make a small change, then re-serialize to a dict. ## Details...
## Summary I am loading a `V1CustomResourceDefinition`, making a small modification to it, then re-serializing it, and I am seeing numerous unintended mutations / removals made to the resulting output...
**Summary** Trying to contribute as a Windows developer to this repo turned up several significant issues: 1. Several folders (e.g., `kubernetes/config`, `kubernetes/watch`) are symlinks to `base/` subdirectories in the repo....
**What happened (please include outputs or screenshots)**: I'm using `read_namespaced_pod_log`, setting `follow=True` and `_preload_content=False`: ``` response = client.read_namespaced_pod_log(follow=True, ...) for log in response.stream(): ... ``` We expect each line to...
**What happened (please include outputs or screenshots)**: When the KubernetesPodOperator in airflow runs it outputs this log without breaking. `{kube_config.py:520} ERROR - 'NoneType' object has no attribute 'groups'` I have...