GitXplorerGitXplorer
S

kube2

public
5 stars
4 forks
0 issues

Commits

List of commits on branch main.
Unverified
c7eab030cc58f4916dc3252c3bf6f4a54bc6535a

Changes to be committed:

SShivanshuPurohit committed 3 years ago
Unverified
a6c3a9741b24c0a40ea58689b613473629fd331d

Changes to be committed:

SShivanshuPurohit committed 3 years ago
Unverified
f0c48a611086ed43202a8bbdecdc8a9ccf10ed51

undo

SShivanshuPurohit committed 3 years ago
Unverified
b089c91f25fc23f4528513dca30e2259be7cc6e4

why was this here anyway?

SShivanshuPurohit committed 3 years ago
Unverified
6ea1ee4ab8cd0f0fc9d3ea19303741ac5248ab83

ssh was fuk

SShivanshuPurohit committed 3 years ago
Verified
430a8aa9753461cecd44dd00c779d35e9f9b3f3d

Add efa stuff that was missing

SShivanshuPurohit committed 3 years ago

README

The README file for this repository.

EKS Management Tool

Installation

  1. Install kubectl: https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html
  2. Install eksctl: https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html
  3. Clone this repository, and install the dependencies pip install -r requirements.txt. You may want to do this in a virtual environment.

You should now be able to use the CLI. To show the help page, use python kube2.py --help.

Basic Usage

First, ensure you are using the AWS profile, by setting the AWS_PROFILE environment variable. By default, you will use the default AWS profile. (view your profiles with cat ~/.aws/credentials)

Then, to list the available clusters, type python kube2.py cluster list. This will display the available clusters:

NAME         CREATED      STATUS  
test-2       2 days ago   ACTIVE  
my-cluster   4 hours ago  ACTIVE  

By default, we probably aren't selecting any cluster. Check with python kube2.py cluster current:

No cluster selected.

Select a cluster with python kube2.py cluster select --name my-cluster:

Then, use python kube2.py job [deploy|list|kill|ssh] to work with jobs on the cluster.