Skip to main content

vks-bootstraper PyPI

The simple CLI tool to bootstrap instances of VKS workload clusters

Python


Installation

  • Install the vks-bootstraper:latest with pip tool:
    pip3 install --upgrade vks-bootstraper
    

Build

  • Install the Pip dependencies

    pip3 install --upgrade pip
    pip3 install --upgrade -r requirements.txt
    pip3 install --upgrade build twine
    
  • Build the CLI

    python3 -m build
    twine check dist/*
    
  • Publish the CLI to PyPi (make sure you have configured the $HOME/.pypirc config file, refer this section to pre-configure before performing this step)

    twine upload [--repository pypi] dist/*
    

Others

The .pypirc config file

  • The config file should be located at $HOME/.pypirc
  • The content of the file should be like this:
    [pypi]
      username = __token__
      password = pypi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    

Usage

  • Run the CLI with the following command:
    vks-bootstraper --help
    
    ➜   vks-bootstraper --help             
    Usage: vks-bootstraper [OPTIONS] COMMAND [ARGS]...
    
    Options:
      --version  Show the version and exit.
      --help     Show this message and exit.
    
    Commands:
      add-host                 Add a new host to the /etc/hosts file
      generate-ssh-key         Generate the SSH key for the current instance
      get-instance-id          Get the vServer ID of the current instance
      get-local-ipv4           Get the local IPv4 of the current instance
      prepare-kubeadm-config   Prepare the kubeadm config file for the...
      waiting-instance-booted  Waiting for the instance to be booted up,...
      waiting-internet         Waiting for the instance to reach to the...
    

Release files for vks-bootstraper 1.4.0

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

Source distribution (sdist)

Source distribution for vks-bootstraper 1.4.0
File Size Uploaded
vks_bootstraper-1.4.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vks-bootstraper 1.4.0
File Interpreter ABI Platform
vks_bootstraper-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / vks_bootstraper-1.4.0.tar.gz

Download URL vks_bootstraper-1.4.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
be83d57bbbcc0806f86626092f075426d22cd90e0856f5339fc2c808fa123770
BLAKE2b-256 checksum
How to use checksums
31c16cb9cbdb710f0ced58b9fcab95dc24f33de9c16d89f6c0fb92875493e05e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / vks_bootstraper-1.4.0-py3-none-any.whl

Download URL vks_bootstraper-1.4.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22a0958b31da28364afe82dd01a00d0c81e4c986e0b358a301208d25384adf15
BLAKE2b-256 checksum
How to use checksums
ece4a49a6719508c855a402f122a3af48c26ecf43581dfd16408de3d4e8c5308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.10

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

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