gke_versions

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 10 Imported by: 0

README

gke_versions

Description

gke_versions command prints versions of all GKE Clusters and NodePool

Required GCP IAM permission

container.clusters.list See also: https://cloud.google.com/iam/docs/permissions-reference#container.clusters.list

Authorization

Use Google Application Default Credentials

Installation

go get github.com/fregdee/gke_versoins

Usage

$ gke_versions
+-----------------------------------------+-----------------+---------------------+------------------+
|              CLUSTER NAME               | CLUSTER VERSION |    NODEPOOL NAME    | NODEPOOL VERSION |
+-----------------------------------------+-----------------+---------------------+------------------+
| cluster1                                | 1.17.15-gke.800 | default-pool        | 1.17.13-gke.2001 |
+-----------------------------------------+                 +---------------------+------------------+
| cluster2                                |                 | default-pool        | 1.17.15-gke.800  |
+-----------------------------------------+                 +---------------------+------------------+
| cluster3                                |                 | pool-20201005       | 1.17.12-gke.2502 |
+                                         +                 +---------------------+------------------+
|                                         |                 | monitoring-20201005 | 1.17.12-gke.2502 |
+-----------------------------------------+                 +---------------------+------------------+
| cluster4                                |                 | default-pool        | 1.17.9-gke.6300  |
+-----------------------------------------+-----------------+---------------------+------------------+

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL