rke2-kubeconfig


Namerke2-kubeconfig JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryFetch and merge RKE2 kubeconfig with custom naming
upload_time2025-07-20 23:27:08
maintainerNone
docs_urlNone
authorChris Watkins
requires_pythonNone
licenseBSD-3-Clause
keywords kubeconfig rke2 cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rke2-kubeconfig

A CLI tool to fetch RKE2 kubeconfig from a remote node, rename clusters/contexts/users with custom naming, merge into your local kubeconfig, and optionally test connectivity.

### Features

- 🔧 **Automatic Fetch**: Retrieve RKE2 kubeconfig over SSH.
- 🛠️ **Custom Naming**: Override cluster, context, and user names.
- 📂 **Secure Merge**: Merge into any kubeconfig file with unique entries.
- 💾 **Backup**: Optional automatic backups of existing configs.
- 🚀 **Test Connectivity**: Run `kubectl get nodes` to verify context.
- 📋 **Interactive CLI**: Rich `--help`, `--version`, and verbose modes.

### Installation

```console
pip install rke2-kubeconfig
```

Or install from source:

```console
git clone https://github.com/chris17453/rke2-kubeconfig.git
cd rke2-kubeconfig
pip install .
```

### Usage

```console
rke2-kubeconfig <host>[@<user>] [SSH_KEY] [options]
```

```console
# Merge using SSH agent with default 'root' user
rke2-kubeconfig 10.0.0.140 --test

# Specify user, key, and custom name with verbose output
rke2-kubeconfig admin@10.0.0.140 ~/.ssh/id_rsa.pem -n prod-node -v
```

For full list of options:

```console
rke2-kubeconfig --help
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rke2-kubeconfig",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "kubeconfig, rke2, cli",
    "author": "Chris Watkins",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/3e/83/c44137aeaa036c36ecb9b67d8a2472a38f8c90f9026300f5429fd9db772e/rke2_kubeconfig-1.0.0.tar.gz",
    "platform": null,
    "description": "# rke2-kubeconfig\n\nA CLI tool to fetch RKE2 kubeconfig from a remote node, rename clusters/contexts/users with custom naming, merge into your local kubeconfig, and optionally test connectivity.\n\n### Features\n\n- \ud83d\udd27 **Automatic Fetch**: Retrieve RKE2 kubeconfig over SSH.\n- \ud83d\udee0\ufe0f **Custom Naming**: Override cluster, context, and user names.\n- \ud83d\udcc2 **Secure Merge**: Merge into any kubeconfig file with unique entries.\n- \ud83d\udcbe **Backup**: Optional automatic backups of existing configs.\n- \ud83d\ude80 **Test Connectivity**: Run `kubectl get nodes` to verify context.\n- \ud83d\udccb **Interactive CLI**: Rich `--help`, `--version`, and verbose modes.\n\n### Installation\n\n```console\npip install rke2-kubeconfig\n```\n\nOr install from source:\n\n```console\ngit clone https://github.com/chris17453/rke2-kubeconfig.git\ncd rke2-kubeconfig\npip install .\n```\n\n### Usage\n\n```console\nrke2-kubeconfig <host>[@<user>] [SSH_KEY] [options]\n```\n\n```console\n# Merge using SSH agent with default 'root' user\nrke2-kubeconfig 10.0.0.140 --test\n\n# Specify user, key, and custom name with verbose output\nrke2-kubeconfig admin@10.0.0.140 ~/.ssh/id_rsa.pem -n prod-node -v\n```\n\nFor full list of options:\n\n```console\nrke2-kubeconfig --help\n```\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Fetch and merge RKE2 kubeconfig with custom naming",
    "version": "1.0.0",
    "project_urls": null,
    "split_keywords": [
        "kubeconfig",
        " rke2",
        " cli"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a7c9a2e1765f7da3f4a77b9cb98a90ae6821074210874e558032df70aac145eb",
                "md5": "ee4b59d6010aed120d3b1d047a9a0fd6",
                "sha256": "d4de487dd0e119e929e6873c449d20a9a7213f88328c012502110cc6cc7953aa"
            },
            "downloads": -1,
            "filename": "rke2_kubeconfig-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ee4b59d6010aed120d3b1d047a9a0fd6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6861,
            "upload_time": "2025-07-20T23:27:06",
            "upload_time_iso_8601": "2025-07-20T23:27:06.963510Z",
            "url": "https://files.pythonhosted.org/packages/a7/c9/a2e1765f7da3f4a77b9cb98a90ae6821074210874e558032df70aac145eb/rke2_kubeconfig-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3e83c44137aeaa036c36ecb9b67d8a2472a38f8c90f9026300f5429fd9db772e",
                "md5": "737f56cd652414295f5b77c72dc17e2c",
                "sha256": "41b7dd175e2bbac2f17b23ebd50e8ddff8d16e3b285e7599d95ffd82f1500697"
            },
            "downloads": -1,
            "filename": "rke2_kubeconfig-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "737f56cd652414295f5b77c72dc17e2c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4612,
            "upload_time": "2025-07-20T23:27:08",
            "upload_time_iso_8601": "2025-07-20T23:27:08.168403Z",
            "url": "https://files.pythonhosted.org/packages/3e/83/c44137aeaa036c36ecb9b67d8a2472a38f8c90f9026300f5429fd9db772e/rke2_kubeconfig-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-20 23:27:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rke2-kubeconfig"
}
        
Elapsed time: 0.47429s