pykube icon indicating copy to clipboard operation
pykube copied to clipboard

Lightweight Python 3.6+ client library for Kubernetes (pykube-ng)

Results 14 pykube issues
Sort by recently updated
recently updated
newest added

See https://github.com/hjacobs/kube-janitor/issues/40#issuecomment-684513029 for reference.

move https://github.com/kelproject/pykube/issues/138 from upstream

I'm aware there is `[deployment object].scale([int])`, which modifies the main object. It doesn't look as if it is possible to patch against the deployments/scale api endpoint, is it? https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#patch-scale-deployment-v1-apps

pykube.exceptions.PyKubeError: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt passed as relative path, but cannot determine location of kube config

bug

I need to copy files to/from containers in pods. What's the best way to do that with the pykube lib?

I noticed that `KubeConfig.from_service_account` doesn't read namespace from `/var/run/secrets/kubernetes.io/serviceaccount/namespace` which causes it to use `default` namespace. Because of that I have to manually filter by namespace when trying to access...

Is there a way to run a command on a pod using exec? I can't see any way of doing it looking at the code.

there is an [official lib](https://github.com/kubernetes-client/python) And when choosing a Python lib for a k8s project, what is pro/con of choosing this lib? I guess you and the original author would...

Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/site-packages/pykube/query.py", line 182, in __iter__ return iter(self.query_cache["objects"]) File "/usr/lib/python3.6/site-packages/pykube/query.py", line 172, in query_cache cache["response"] = self.execute().json() File "/usr/lib/python3.6/site-packages/pykube/query.py", line...

There are some parts of the project which might be out of scope: * cloud-provider authentication (GCP, EKS, ..) --- this should probably be more a plugin than part of...