python
kr8s
python | kr8s | |
---|---|---|
22 | 8 | |
6,444 | 728 | |
1.2% | 5.3% | |
7.9 | 9.3 | |
6 days ago | about 22 hours ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python
- Show HN: Kr8s a batteries-included Python client library for Kubernetes
-
How can I get a list of all namespaces within a specific Kubernetes cluster, using the Kubernetes API?
One option is to use list_namespace(), as described in https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/CoreV1Api.md
- python-k8sclient documentatiom
-
Running `connect_get_namespaced_pod_exec` using kubernetes client corev1api gives bad request
I have checked the python version == 2.7 and pip freeze - ipaddress==1.0.22, urllib3==1.24.1 and websocket-client==0.54.0 are the versions which satisfy the requirement - as mentioned here: https://github.com/kubernetes-client/python/blob/master/README.md#hostname-doesnt-matchfollowed the issue on this thread - https://github.com/kubernetes-client/python/issues/36 - not much help.
-
How to use the kubernetes-client for executing "kubectl apply"
kubectl apply -f class.yamlkubectl apply -f rbac.yamlkubectl apply -f deployment-arm.yaml I want to use the kubernetes-client written in python to replace it. My current code, loads the there yaml files (using pyyaml), edits them a bit, inserts into a file and use the command line kubectl to execute those three commands. Some of the code:
-
Tell HN: Amusing Substitutions for Class Keyword
In the Kubernetes Python client code it's called "klass":
https://github.com/kubernetes-client/python/blob/1a0cb469528e6b2bdeb3eb2c06945f1c22303dfd/kubernetes/client/api_client.py#L266
and in Apache ecosystem it's called clazz:
https://github.com/search?q=org%3Aapache+clazz&type=code
Just thought it was amusing and wanted to share
- Connecting to EKS from a Python Lambda
-
Leader Election In Kubernetes
One way is to use configmap lock https://github.com/kubernetes-client/python/tree/master/kubernetes/base/leaderelection
-
Unable to connect to kubernetes python api - .kube/config file not found
I'm having trouble connecting to the kubernetes python client even though I'm following the examples here in the api.
-
Automate All the Boring Kubernetes Operations with Python
As you can imagine, that's a lot of functions to choose from, luckily all of them are listed in docs and you can click on any one of them to get an example of its usage.
kr8s
-
This Week In Python
kr8s – A batteries-included Python client library for Kubernetes that feels familiar for folks who already know how to use kubectl
-
Building a no-code Helm UI with Windmill - Part 1
We’ll import the kr8s package to interact with the cluster, and when you’ll remove arguments from the main function, you will also see them disappear from the input section! Quite neat.
- GitHub - kr8s-org/kr8s: A batteries-included Python client library for Kubernetes that feels familiar for folks who already know how to use kubectl
- Show HN: Kr8s – a Python client library for Kubernetes
- Show HN: Kr8s a batteries-included Python client library for Kubernetes
- Introducing kr8s, a new Kubernetes client library for Python inspired by kubectl
-
Show HN: Kr8s, a Kubernetes client library for Python inspired by kubectl
For the last few months I’ve been tinkering with a new Kubernetes client library for Python called kr8s.
https://github.com/kr8s-org/kr8s
The project has reached the point where it has enough features and is stable enough that I’m starting to use it in my other projects, so it feels like a good time to announce it to the world.
I intend to post about my journey building kr8s so if you’re interested in following along then subscribe to my blog in your favourite RSS reader or follow me on the birdsite.
I'll stick around and respond to comments if folks have any questions :).
What are some alternatives?
helm - The Kubernetes Package Manager
robusta - Kubernetes observability and automation, with an awesome Prometheus integration
kubebuilder - Kubebuilder - SDK for building Kubernetes APIs using CRDs
dask-kubernetes - Native Kubernetes integration for Dask
pyJoules - A Python library to capture the energy consumption of code snippets
recommenders - Best Practices on Recommendation Systems
bicep - Bicep is a declarative language for describing and deploying Azure resources
homelab-k3s
control-flag - A system to flag anomalous source code expressions by learning typical expressions from training data
openshift-restclient-python - Python client for the OpenShift API
szurubooru - Image board engine, Danbooru-style.
devops-exercises - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions