Skip to main content
https://circleci.com/gh/IntrospectData/django-kubernetes-manager.svg?style=shield Maintainability Test Coverage DjangoKubernetesManager

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

ReadTheDocs

Installation

Install the app using pip:

$ pip install django-kubernetes-manager

Getting Started

  1. Add “kubernetes_manager” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'kubernetes_manager',
    ]
  2. Include the kubernetes_manager URLconf in your project urls.py like this:

    path('dkm/', include('kubernetes_manager.urls')),
  3. To create models in your database, run:

    python manage.py migrate
    
    * Requires Postgresql or other database with JSON support.
  4. Start the development server and visit http://127.0.0.1:8000/admin/ to configure a TargetCluster (you’ll need the Admin app enabled).

  5. 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)

Source distribution for django-kubernetes-manager 0.4.7
File Size Uploaded
django-kubernetes-manager-0.4.7.tar.gz 139.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-kubernetes-manager 0.4.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.7 This release

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page