A Django app to manage kubernetes clusters and objects.
Project description
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 :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-kubernetes-manager-0.4.7.tar.gz
.
File metadata
- Download URL: django-kubernetes-manager-0.4.7.tar.gz
- Upload date:
- Size: 139.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2db564f44368a52933c1a7368f4e908ca33972cc82f97a28d2e126f404642c |
|
MD5 | cd28dfddd1d2cccd1fddcbcfa662e3c7 |
|
BLAKE2b-256 | eda96cc522f22423d678d9f39929c4765bdc7ac85b5ed659254f4e3941e6637b |
File details
Details for the file django_kubernetes_manager-0.4.7-py3-none-any.whl
.
File metadata
- Download URL: django_kubernetes_manager-0.4.7-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ce29c68e588dad704b2e02e4e06ba7c3cf7335933683252ce503958fee4aa6 |
|
MD5 | e69cd842ce13f4608da9ee81ddc269b0 |
|
BLAKE2b-256 | ad614daac5d44e6bdebf9863438d4d7bf67fb84b8d1fa244688a71b00157e0fd |