Skip to content

zesty-co/kubectl-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Zesty kubectl plugin

Used to interact with Zesty's resources

Installation

Using krew (recommended)

  1. Add this repo as a krew index

    $ kubectl krew index add zestyIndex https://github.com/zesty-co/kubectl-plugin.git
  2. Verify it was added successfully

    $ kubectl krew index list
    INDEX       URL
    default     https://github.com/kubernetes-sigs/krew-index.git
    zestyIndex  https://github.com/zesty-co/kubectl-plugin.git
  3. Install the plugin:

    $ kubectl krew install zestyIndex/zesty
  4. Verify a successul installation:

    $ kubectl krew list
    PLUGIN          VERSION
    zestyIndex/zesty  v1.0.0

Uninstallation

kubectl krew uninstall zesty

Manual (not recommended)

Download the latest version from the releases page and unzip the executable to a directory which is accessable on PATH.

Usage

Run kubectl zesty --help for availble functionality.

Note

If you are on MacOs or Linux and receiving the following error

error: unknown command "zesty" for "kubectl"

run the following command to make sure the plugin is executable:

chmod +x ~/.krew/store/zesty/*/kubectl-zesty

Changelog

v2.2

Added a command to collect persistent volumes' usage and utilization

v2.1.1

Logs collection command:

  • Improved volumeattachments' collection

v2.1.0

Logs collection command:

  • Added collection for Zesty's internal Mutator and Extender pods

v2.0.0

Compatible with zesty-helm version 1.0.253 (new naming convention for internal Zesty resources)

v1.0.1

Logs collection command:

  • Bug fix: Displaying an error message and continuing to collect subsequent resource YML or log instead of exiting upon encountering an error.