All Projects → replicatedhq → Outdated

replicatedhq / Outdated

Licence: apache-2.0
Kubectl plugin to find and report outdated images running in a Kubernetes cluster

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Outdated

Kubernetes Cheatsheet
This is Kubernetes Cheatsheet based on Kubernetes API 1.19 version.
Stars: ✭ 53 (-56.56%)
Mutual labels:  kubectl
Kuttle
Kubernetes wrapper for sshuttle
Stars: ✭ 86 (-29.51%)
Mutual labels:  kubectl
Kubectx
Faster way to switch between clusters and namespaces in kubectl
Stars: ✭ 11,922 (+9672.13%)
Mutual labels:  kubectl
Kubectl Capture
A kubectl plugin which triggers a Sysdig capture
Stars: ✭ 66 (-45.9%)
Mutual labels:  kubectl
Kubeplay
kubeplay – a new way to interact with Kubernetes API from your terminal
Stars: ✭ 83 (-31.97%)
Mutual labels:  kubectl
Kubedoom
Kill Kubernetes pods by playing Id's DOOM!
Stars: ✭ 1,330 (+990.16%)
Mutual labels:  kubectl
Bitnami Docker Kubectl
Bitnami Docker Image for Kubectl
Stars: ✭ 50 (-59.02%)
Mutual labels:  kubectl
Kubectl Sheetcheat
The Definitive Kubectl Sheetcheat. ⭐ Give it a star if you like it. Work (always) in progress !
Stars: ✭ 119 (-2.46%)
Mutual labels:  kubectl
Kubectl Build
Build dockerfiles directly in your Kubernetes cluster.
Stars: ✭ 84 (-31.15%)
Mutual labels:  kubectl
Libvirt K8s Provisioner
Automate your k8s installation
Stars: ✭ 106 (-13.11%)
Mutual labels:  kubectl
Kubectl Trace
Schedule bpftrace programs on your kubernetes cluster using the kubectl
Stars: ✭ 1,194 (+878.69%)
Mutual labels:  kubectl
Terraform Eks
Terraform for AWS EKS
Stars: ✭ 82 (-32.79%)
Mutual labels:  kubectl
Ksniff
Kubectl plugin to ease sniffing on kubernetes pods using tcpdump and wireshark
Stars: ✭ 1,339 (+997.54%)
Mutual labels:  kubectl
Kauthproxy
Local authentication proxy for Kubernetes Dashboard (kubectl auth-proxy)
Stars: ✭ 54 (-55.74%)
Mutual labels:  kubectl
Kuberos
An OIDC authentication helper for Kubernetes' kubectl
Stars: ✭ 109 (-10.66%)
Mutual labels:  kubectl
Docker Kubectl
Containerized Kubernetes kubectl
Stars: ✭ 52 (-57.38%)
Mutual labels:  kubectl
Konfig
konfig helps to merge, split or import kubeconfig files
Stars: ✭ 92 (-24.59%)
Mutual labels:  kubectl
Kube Prompt
An interactive kubernetes client featuring auto-complete.
Stars: ✭ 1,614 (+1222.95%)
Mutual labels:  kubectl
Vim Kubernetes
vim-kubernetes
Stars: ✭ 112 (-8.2%)
Mutual labels:  kubectl
Kcf
A CLI tool providing you with status & configuration of a Kubernetes cluster fleet
Stars: ✭ 98 (-19.67%)
Mutual labels:  kubectl

kubectl outdated

kubectl outdated is a kubectl plugin that displays all out-of-date images running in a Kubernetes cluster.

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. Additionally, it collects the content sha of the image, so that it can be used to disambiguate between different versions pushed with the same tag.

After collecting a list of images running and deduplicating this list, the plugin will anonymously connect to all required image repositories and request a list of tags. For tags and images that follow strict semver naming, the list is simply sorted and the plugin reports how out of date the running image is.

For images that aren't semver named, the plugin starts to collect tags dates from the manifest and sorts to find any tag that was pushed after the tag that is running.

Quickstart

Prerequisites

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

the outdated 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 outdated using the following command:

$ kubectl krew install outdated

Usage

kubectl outdated

The plugin will scan for all pods in all namespaces that you have at least read access to. It will then connect to the registry that hosts the image, and (if there's permission), it will analyze your tag to the list of current tags.

Scan all available images in your current kubecontext with the command:

kubectl outdated

The output is a list of all images, with the most out-of-date images in red, slightly outdated in yellow, and up-to-date in green.

Contributing to outdated

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].