Skip to main content

Kubernetes Vagrant Provisioning and management script

Project description

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",

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

k8svag-14.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file k8svag-14.tar.gz.

File metadata

  • Download URL: k8svag-14.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for k8svag-14.tar.gz
Algorithm Hash digest
SHA256 2352b3d4ac8a346e5b2b5ac9ee7031c0a459d289478607e2fc0b3757ea8121e7
MD5 be85609cb7b025b08b3691c55defd74f
BLAKE2b-256 f9621a3d4b1239cd0b76936f0e6f090c4d3170a6994cb4a93feeaa38bac91976

See more details on using hashes here.

Supported by

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