Skip to main content

Python wrapper for user-space Kubernetes 'usernetes'

Project description

usernetes (python)

Python SDK and client to deploy user space Kubernetes (usernetes)

PyPI version

This is a library in Python to easily deploy Usernetes. It is implemented in Python anticipating being used by Flux Framework, which has the most feature rich SDK written in Python. Note that I haven't added support for other container runtimes (e.g., nerdctl) yet since I'm just adding core functionality, but this would be easy to do.

🚧 Under Development 🚧

Orchestration

The following setups are available:

  • flux-framework: assumes a shared filesystem
  • aws: (with Flux, assuming no shared filesystem) is coming soon!

See the logic in scripts/flux/start-usernetes.sh and scripts/flux/stop-usernetes.sh for logic to bring up and down a cluster. For Flux, these are intending to be run as perilog and epilog scripts, before and after a batch job, respectively, and given that a particular environment variable is set. If you add a set of scripts (and instructions) for your environment, please open a pull request here to add code and instructions!

This library has not been fully tested yet, waiting for development environments!

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usernetes-0.0.11.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usernetes-0.0.11-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file usernetes-0.0.11.tar.gz.

File metadata

  • Download URL: usernetes-0.0.11.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for usernetes-0.0.11.tar.gz
Algorithm Hash digest
SHA256 696d5d8c7b354ba861ddfc53c5a5c43ca946b93b81d159e9be1e2d8f9606f0c1
MD5 0190136e917c0c7ab5a3185a66ddb517
BLAKE2b-256 f9c5a5b181fff2c07f7c049aa0325e051e05b2fb649992314668898997675ce4

See more details on using hashes here.

File details

Details for the file usernetes-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: usernetes-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for usernetes-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae17a24727de9361e98cfaf5ab3c726ab562be5dd68bb732066f061e332d871
MD5 f70cc8613d2027df63b312fa94f5e73e
BLAKE2b-256 dc22b4c8643d109dc887c7823dd1d1dd6ac1b2c48560675c23e50fafbca3d92f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page