{"id":13521734,"url":"https://github.com/replicatedhq/outdated","last_synced_at":"2025-04-05T16:11:01.766Z","repository":{"id":36277163,"uuid":"200257453","full_name":"replicatedhq/outdated","owner":"replicatedhq","description":"Kubectl plugin to find and report outdated images running in a Kubernetes cluster","archived":false,"fork":false,"pushed_at":"2023-07-31T14:07:14.000Z","size":205,"stargazers_count":418,"open_issues_count":24,"forks_count":23,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-04-13T22:20:33.525Z","etag":null,"topics":["kubectl","kubectl-plugins","kubernetes"],"latest_commit_sha":null,"homepage":"https://outdated.sh","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replicatedhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-02T15:24:10.000Z","updated_at":"2024-04-03T11:17:23.000Z","dependencies_parsed_at":"2024-01-13T22:23:34.464Z","dependency_job_id":"5d6f2687-9a5f-4058-8a42-e87adb3d92c0","html_url":"https://github.com/replicatedhq/outdated","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicatedhq%2Foutdated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicatedhq%2Foutdated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicatedhq%2Foutdated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicatedhq%2Foutdated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicatedhq","download_url":"https://codeload.github.com/replicatedhq/outdated/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361695,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubectl","kubectl-plugins","kubernetes"],"created_at":"2024-08-01T06:00:37.619Z","updated_at":"2025-04-05T16:11:01.735Z","avatar_url":"https://github.com/replicatedhq.png","language":"Go","funding_links":[],"categories":["kubectl Plugins","Go"],"sub_categories":["Installing plugins via awesome-kubectl-plugins"],"readme":"# `kubectl outdated`\n\n`kubectl` `outdated` is a `kubectl` plugin that displays all out-of-date images running in a Kubernetes cluster.\n\n## How it Works\n\nThe 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.\n\nAfter 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](https://semver.org/) naming, the list is simply sorted and the plugin reports how out of date the running image is.\n\nFor images that aren't [semver](https://semver.org/) 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.\n\n## Quickstart\n\n### Prerequisites\n\n\u003cmark\u003eNote:\u003c/mark\u003e You will need [git](https://git-scm.com/downloads) to install the `krew` plugin.\n\nthe `outdated` plugin is installed using the `krew` plugin manager for Kubernetes CLI. Installation instructions for `krew` can be found [here](https://krew.sigs.k8s.io/docs/user-guide/setup/install/).\n\n### Installation\n\nAfter installing \u0026 configuring the k8s `krew` plugin, install `outdated` using the following command:\n\n````\n$ kubectl krew install outdated\n````\n\n### Usage\n\n[![kubectl outdated](https://asciinema.org/a/ESRC5ubIylWMSQgyi015j04oa.svg)](https://asciinema.org/a/ESRC5ubIylWMSQgyi015j04oa)\n\nThe 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.\n\nScan all available images in your current `kubecontext` with the command:\n\n````\nkubectl outdated\n````\n\nThe 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.\n\n### Contributing to `outdated`\n\nFind a bug? Want to add a new feature? Want to write docs? Send a [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) \u0026 we'll review it! ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicatedhq%2Foutdated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicatedhq%2Foutdated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicatedhq%2Foutdated/lists"}