Django Kubernetes Manager 0.4.7
Django Kubernetes Manager is an open source project to wrap the complexity of Kubernetes management in the simplicity of Django Rest Framework.
Introduction
Our engineering team has developed several data processing apps, and found celery wasn’t quite enough for dispatching heavier tasks. We decided to try Kubernetes Jobs, and while pleased with performance, wanted a less verbose, more object oriented way to interact with our clusters.
And thus Django Kubernetes Manager was spawned. Using Django Rest Framework and the kubernetes client library, our devs came up with the idea to treat each object we’d be deploying as a Model instance, and use the DRF viewsets and actions to create an RESTful API framework from which we could extend for each projects particular needs.
License
This project is license under the MIT license.
Please see the license dir for dependency licenses.
Docs
Installation
Install the app using pip:
$ pip install django-kubernetes-manager
Getting Started
Add “kubernetes_manager” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'kubernetes_manager', ]Include the kubernetes_manager URLconf in your project urls.py like this:
path('dkm/', include('kubernetes_manager.urls')),To create models in your database, run:
python manage.py migrate * Requires Postgresql or other database with JSON support.
Start the development server and visit http://127.0.0.1:8000/admin/ to configure a TargetCluster (you’ll need the Admin app enabled).
Create, update, delete, deploy, or remove a Kubernetes object using the api :)
Metadata
Release files for django-kubernetes-manager 0.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-kubernetes-manager-0.4.7.tar.gz | 139.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_kubernetes_manager-0.4.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 164.9 kB
Release files / django-kubernetes-manager-0.4.7.tar.gz
| Download URL | django-kubernetes-manager-0.4.7.tar.gz |
|---|---|
| Size | 139.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae2db564f44368a52933c1a7368f4e908ca33972cc82f97a28d2e126f404642c
|
|
BLAKE2b-256 checksum How to use checksums |
eda96cc522f22423d678d9f39929c4765bdc7ac85b5ed659254f4e3941e6637b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.2
|
Release files / django_kubernetes_manager-0.4.7-py3-none-any.whl
| Download URL | django_kubernetes_manager-0.4.7-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09ce29c68e588dad704b2e02e4e06ba7c3cf7335933683252ce503958fee4aa6
|
|
BLAKE2b-256 checksum How to use checksums |
ad614daac5d44e6bdebf9863438d4d7bf67fb84b8d1fa244688a71b00157e0fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.2
|