community-images

module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0

README

Attribution

Adapted from code https://github.com/replicatedhq/outdated

kubectl community-images

kubectl community-images is a kubectl plugin that displays images running in a Kubernetes cluster that were pulled from community owned repositories and warn the user to switch repositories if needed

What does the output look like

How it Works

The plugin will iterate through readable namespaces, and look for pods. For every pod it can read, the plugin will read the podspec for the container images, and any init container images.

Once there is a list of images, the plugin will print those images that come from a community owned repository and specifically point out those whose repository path have to be updated

Quickstart

Prerequisites

Note: You will need git to install the krew plugin.

the community-images plugin is installed using the krew plugin manager for Kubernetes CLI. Installation instructions for krew can be found here.

Installation

After installing & configuring the k8s krew plugin, install community-images using the following command:

$ kubectl krew install community-images
Usage
kubectl community-images
Alternatives to krew
go install github.com/kubernetes-sigs/community-images/cmd/community_images@latest
$GOPATH/bin/community_images

The community-images is a list of all community owned images, with the most out-of-date images in red.

Contributing to community-images

Find a bug? Want to add a new feature? Want to write docs? Send a pull request & we'll review it!

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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