Skip to main content

This is a one-cli plugin that adds Kubernetes tools alias to the CLI.

Project description

plugin-kube

This is a one-cli plugin that adds Kubernetes tools alias to the CLI.

Build PyPI LICENSE

Configuration

# one.yaml
required_version: ">= 0.7.1"

plugins:
  kube:
    package: one-cli-plugin-kube==0.5.2
    module: 'plugin_kube'
    parameters:
      cluster_name: <redact>
      aws_default_region: <redact>
      aws_assume_role: # Optional: default to false
      kubeconfig: # Optional: Override default kubeconfig path

Usage

one kubectl ...
one helm ...
one kube-bash

Development

Dependencies

  • Python 3

Python Virtual Environment

# Create environment
python3 -m venv env

# To activate the environment
source env/bin/activate

# When you finish you can exit typing
deactivate

Install dependencies

pip3 install --editable .

Author

Managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

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

one-cli-plugin-kube-0.5.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

one_cli_plugin_kube-0.5.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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