Skip to main content

xrally-kubernetes

xRally plugins for Kubernetes platform.

Getting started

First of all, you need to create rally env for Kubernetes. There are two main ways to communicate to Kubernetes cluster - specifying auth-token or certifications. Choose what is suitable for your case and use one of the following samples.

To create env using certifications, use spec samples/platforms/cert-spec.yaml:

rally env create --name kubernetes --spec samples/platforms/cert-spec.yaml

For using Kubernetes token authentication, you need to get API key and use samples/platforms/apikey-spec.yaml spec to create env:

rally env create --name kubernetes --spec samples/platforms/apikey-spec.yaml

For initialization Rally environment to communicate to existing Kubernetes cluster you can also use system environment variables instead of making specification json/yaml file. See the list of available options:

  • As like regular kubernetes client (kubectl) Rally can read kubeconfig file. Call rally env create --name kubernetes-created --from-sys-env and Rally with check $HOME/.kube/config file to the available configuration. Also, you can specify KUBECONFIG variable with a path different to the default $HOME/.kube/config.

  • Despite the fact that kubectl doesn't support specifying Kubernetes credentials via separated system environment variables per separate option (auth_url, api_key, etc) like other platforms support (OpenStack, Docker, etc), Rally team provides this way. Check existing@kubernetes plugin documentation for the list of all available variables. Here is a simple example of this feature:

    # the URL to the Kubernetes host.
    export KUBERNETES_HOST="https://example.com:3030" 
    #  a path to a file containing TLS certificate to use when connecting to the Kubernetes host.
    export KUBERNETES_CERT_AUTH="~/.kube/cert_auth_file"
    # client API key to use as token when connecting to the Kubernetes host.
    export KUBERNETES_API_KEY="foo"
    # client API key prefix to use in token when connecting to the Kubernetes host.
    export KUBERNETES_API_KEY_PREFIX="bar"
    
    # finally create a Rally environment
    rally env create --name my-kubernetes --from-sysenv
    

Check env availbility by the following command:

rally env check

Where the tasks and bugs are tracked ?!

The primary tracking system is Issues at GitHub.

For Rally framework related issues look at Launchpad.

Metadata

Release files for xrally-kubernetes 1.1.1

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

Source distribution (sdist)

Source distribution for xrally-kubernetes 1.1.1
File Size Uploaded
xrally-kubernetes-1.1.1.tar.gz 56.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xrally-kubernetes 1.1.1
File Interpreter ABI Platform
xrally_kubernetes-1.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 99.8 kB

Release files / xrally-kubernetes-1.1.1.tar.gz

Download URL xrally-kubernetes-1.1.1.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd2102a6855e624e5447bd7457a4ce7f53ff06347dda5c03b1134f1c100c1450
BLAKE2b-256 checksum
How to use checksums
5868a04134bbfa2f49bf62ffe5db49b7985b240548eb1791f513433625950134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

Release files / xrally_kubernetes-1.1.1-py2.py3-none-any.whl

Download URL xrally_kubernetes-1.1.1-py2.py3-none-any.whl
Size 43.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
aec1027ba12e724fe508c8f9842cf40fb6ee17519c7353b517956656411c97f5
BLAKE2b-256 checksum
How to use checksums
9fa2b018f15b37f82b3f25f297538b900dc6aa41be3d397a82607366e8a5a12b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.0.0

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