Skip to main content

Build Status License Pypi

Deploys Kubernetes on various providers. Deployments are for evaluation/experimental purpose (not production).

Behind the scenes this project uses:

Command line overview

Usage: ek [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  backup        Backup the deployed environment
  build         Preconfigure a machine with all the...
  deploy        Claim resources from a PROVIDER and configure...
  destroy       Destroy the deployed environment
  g5k           Claim resources on Grid'5000 (frontend).
  hints         Give some hints on the deployment
  inventory     Generate the Ansible inventory [after g5k or...
  post_install  Post install the deployement
  prepare       Configure available resources [after deploy,...
  reset         Resets Kubernetes (see kspray doc)
  vagrant       Claim resources on vagrant (localhost).

Usage overview

Install the project:

virtualenv -p python3 venv
source venv/bin/activate
pip install enos-kubernetes

Configure the Grid5000 REST API access:

echo '
username: MYLOGIN
password: MYPASSWORD
' > ~/.python-grid5000.yaml

Get a sample configuration file at:

wget https://gitlab.inria.fr/msimonin/enos-kubernetes/raw/master/conf.yaml

Deploy on g5k:

ek deploy g5k

Deploy on g5k using virtual machines:

ek deploy vmong5k

Build a base image on g5k:

ek build g5k

Build a base image on vmong5k with an alternative cluster:

ek build vmong5k --cluster=chetemi

This also can be used from python directly using the provided API:

# pseudo-code to deploy to g5k
from enos_kubernetes import tasks

...
tasks.g5k(...)
tasks.inventory(...)
tasks.prepare(...)
...

Release files for enos-kubernetes 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for enos-kubernetes 2.0.0
File Interpreter ABI Platform
enos_kubernetes-2.0.0-py3-none-any.whl Python 3 none any Details

Release files / enos_kubernetes-2.0.0-py3-none-any.whl

Download URL enos_kubernetes-2.0.0-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e3beb29116ebf7ca59bec12fd11fde6f372e2df8b913cbb022787d579a2fe54
BLAKE2b-256 checksum
How to use checksums
be2a0b9efe393590f2e45eba2696a85134ec8a65fd8ecdcd5193652c2bb0fc55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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