jiri-otoupal / abst

Manage your bastion sessions automatically, and simplify your connection to k8s cluster
MIT License
7 stars 1 forks source link
bastion cli kubernetes kubernetes-cluster kubernetes-pod kubernetes-pods oci oracle oracle-cloud oracle-cloud-infrastructure python ssh ssh-tunnel

Auto Bastion

Manage your bastion sessions automatically without pain of creating them by clicking and copy pasting commands

image PyPI - Python Version Downloads

Supported

OS

No specific requirements here, whatever runs Python

Cloud Providers

Requirements

Python

Configuration of OCI SDK

Installing

MacOS

On most MacOS machines there is pip3 instead of pip use pip3 for install

Install and update using pip:

pip install abst

or

pip3 install abst

How to set up

Usage

Both commands do automatic reconnect on idle SSH Tunnel termination

Context commands

Session commands

Parallel execution

If you are more demanding and need to have connection to your SSH Tunnels ready at all times you can use parallel executed Bastions that currently work for full-auto forwarded setting

Change local port in the setting to port that is unique to other configs, and it will be running on all the added ports Until you kill the abst command, it will automatically remove all generated Bastion sessions by this program

Helm registry commands

Kubectl commands


Did I made your life less painful ?

Support my coffee addiction ;)
Buy me a Coffee