Configure Kriten and run jobs from NetBox.
Project description
Kriten NetBox Plugin
The Kriten NetBox Plugin allows control of Kriten deployments (clusters) from NetBox. You can add clusters, runners, tasks and launch jobs from the plugin.
Install Kriten and NetBox(with plugin). Instructions are here.
Login to Kriten
Open the Kriten swagger page http://kriten-local/swagger/api/index.html
Press the ${\textsf{\color{lightgreen}Authorize}}$ button at top of the swagger page and set value to Bearer <login_token>
Create an API token
In NetBox, go to plugins > Kriten Clusters and add details of the local Kriten cluster.
This defines where code is stored and container image needed to run it.
A task is how to run a program stored in a runner git repository. There may be many tasks per runner depending how the repository is organiised.
You are now ready to run a job.
This job should not take long to run.
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
Built Distribution
File details
Details for the file kriten_netbox-0.1.4.tar.gz
.
File metadata
- Download URL: kriten_netbox-0.1.4.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b821dedb94ae85eac73f9048108f0a260b9d6ff194ba4f5774b313810c2718a3 |
|
MD5 | fc74ab757a8ce29ff32a9c5d0580a4bd |
|
BLAKE2b-256 | 5e0cd9c4cea6a94a7cf1c1ae27e14b2131f99ab457c6dbcd265a6ec0a5ff364b |
File details
Details for the file kriten_netbox-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: kriten_netbox-0.1.4-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c950d5c942cd2deb453a4dc9e901a0cc5bf9649f8a4503661ab896531adf411f |
|
MD5 | 7662466a6fed654cb7321fac8353adef |
|
BLAKE2b-256 | 3fca1e5a83b893cffa1fd2697f003c0ed4bba649070087349d70470cd7f9bf6b |