Skip to main content

k8svag

Kubernetes Vagrant Provisioning and management script

Usage

pip install k8svag

k8svag createproject myproject

k8svag up myproject

k8svag status

Output

Active8 => CoreOS Vagrant Kubernetes Cluster
status: project 'kubetest1' found in '.../test/kubetest1'
statuscluster: core1 up version_id=633.1.0
==
systemctl list-units k8svag/init:1118
==
kube-apiserver          : loaded active running   Kubernetes API Server
kube-controller-manager : loaded active running   Kubernetes Controller Manager
kube-register           : loaded active running   Kubernetes Registration Service
kube-scheduler          : loaded active running   Kubernetes Scheduler

statuscluster: core2 up version_id=633.1.0
==
systemctl list-units k8svag/init:1118
==
kube-kubelet : loaded active running   Kubernetes Kubelet
kube-proxy   : loaded active running   Kubernetes Proxy

statuscluster: core3 up version_id=633.1.0
==
systemctl list-units k8svag/init:1118
==
kube-kubelet : loaded active running   Kubernetes Kubelet
kube-proxy   : loaded active running   Kubernetes Proxy

statuscluster: core4 up version_id=633.1.0
==
systemctl list-units k8svag/init:1118
==
kube-kubelet : loaded active running   Kubernetes Kubelet
kube-proxy   : loaded active running   Kubernetes Proxy

Options

Vagrant cluster management

Usage:
    cryptobox vagrant [options] [--] <command> [<projectname>] [<args>...]

Options:
    -h --help               Show this screen.
    -p --parallel           Execute commands in parallel, default is serial execution
    -v --verbose            Verbose mode.
    -f --force              Do not ask for confirmation
    -w --wait=<ws>          Wait <ws> seconds between commands.
    -d --workingdir=<wrkd>  Directory to execute commands in, default is current working dir.

Commands:
    ansible        Provision cluster with ansible-playbook(s) [(<labelservers>:<nameplaybook>) ..]
    baseprovision  Apply configuration, createproject calls this.
    coreostoken    Print coreos token to stdout
    createproject  Create a Coreos Kubernetes cluster in local directory
    destroy        Destroy vagrant cluster (vagrant destroy -f)
    halt           Halt vagrant cluster (vagrant halt)
    reload         Reload cluster (vagrant reload)
    reset          Reset cloudconfig settings and replace on cluster, reboots cluster
    ssh            Make ssh connection into specific machine
    sshcmd         Execute command on cluster (remote command)
    status         Status of cluster or machine
    up             Bring cluster up

pip

https://pypi.python.org/pypi/k8svag!

"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta ",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: POSIX",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Clustering",
"Topic :: System :: Distributed Computing",
"Topic :: System",

Metadata

Release files for k8svag 21

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

Source distribution (sdist)

Source distribution for k8svag 21
File Size Uploaded
k8svag-21.tar.gz 14.0 kB Details

Release files / k8svag-21.tar.gz

Download URL k8svag-21.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c2c1818e874c6d9d234a86b46b6bc16cd14d8dbb1c4dbea08bf03ca859a0a1d9
BLAKE2b-256 checksum
How to use checksums
11a0e68e7c136bf3fb58c5549e12815d1085d0339d21c498f9b6a0b4fc5d6f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

26

1 release file

25

1 release file

24

1 release file

23

1 release file

22

1 release file

This release

21 This release

1 release file

20

1 release file

19

1 release file

18

1 release file

16

1 release file

15

1 release file

14

1 release file

13

1 release file

12

1 release file

11

1 release file

10

1 release file

5

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