kubectl-getenv

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0

README

Build Status

kubectl-getenv

This is a kubectl plugin to get the all the environment variables for the containers that run in the Pod.

Installation

To use this kubectl-getenv plugin, you can follow the official Kubernetes Plugin documentation.

  • Make it executable:
chmod u+x kubectl-getenv
  • Place it in your PATH:
 mv kubectl-aks /usr/local/bin
  • Now it can be access using kubectl command:
$ kubectl getenv
The kubectl-getenv plugin gets all the environment variables for the containers that run in the Pod.

Usage:
  getenv [flags]

Flags:
  -h, --help               help for getenv
  -n, --namespace string   name of the namespace (default "default")

Usage

  • Get list of environment variables for specific pod:
$ kubectl get env -n nginx nginx-pod

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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