{"id":15616193,"url":"https://github.com/bostrt/openshift-sos-plugin","last_synced_at":"2025-03-08T00:30:49.035Z","repository":{"id":137793118,"uuid":"118925452","full_name":"bostrt/openshift-sos-plugin","owner":"bostrt","description":"OpenShift v3 oc client plugin for capturing application data.","archived":false,"fork":false,"pushed_at":"2018-11-17T04:29:39.000Z","size":21,"stargazers_count":10,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-25T01:51:12.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/bostrt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-25T14:46:37.000Z","updated_at":"2021-08-23T00:14:56.000Z","dependencies_parsed_at":"2023-05-22T14:00:18.086Z","dependency_job_id":null,"html_url":"https://github.com/bostrt/openshift-sos-plugin","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.6666666666666667,"last_synced_commit":"c309c4fbf5818a431744bb372d29a35ba8080c58"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bostrt%2Fopenshift-sos-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bostrt%2Fopenshift-sos-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bostrt%2Fopenshift-sos-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bostrt%2Fopenshift-sos-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bostrt","download_url":"https://codeload.github.com/bostrt/openshift-sos-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242483273,"owners_count":20135784,"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":[],"created_at":"2024-10-03T07:04:14.714Z","updated_at":"2025-03-08T00:30:49.026Z","avatar_url":"https://github.com/bostrt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenShift SOS Plugin\n\n`openshift-sos-plugin` is an [`oc`](https://docs.openshift.org/latest/cli_reference/index.html) plugin to aid with gather information (status, logging, configuration, etc) from your OpenShift cluster. \n\n*NOTE*: OpenShift CLI Plugins were added in v3.7 so make sure your `oc` binary version is up-to-date.\n\n*NOTE*: The OpenShfit SOS Plugin utilizes a bash script. Make sure you are running from a bash interpreter before executing!\n\n# Installation\n\n1. Clone repository into your `~/.kube/plugins` directory:\n```\n# git clone https://github.com/bostrt/openshift-sos-plugin ~/.kube/plugins/openshift-sos-plugin\n```\n2. Ensure the plugin is available by running:\n```\n# oc plugin\n  ...\nAvailable Commands:\n  sos         Plugin for gathering various types of data from OpenShift.\n```\n3. Finally, run the plugin:\n```\n# oc plugin sos -n testing\nData capture complete and archived in /tmp/oc-sos-testing-2018-01-25.tar.xz\n```\n# Usage\n\nAfter installation, you can run the plugin using the `oc` command. The prequisite is that you are logged into a cluster via the `oc` command.\n\nDefault behavior is to use your current namespace/project active in `oc`:\n```\n# oc plugin sos\nData capture complete and archived in /tmp/oc-sos-testing-2018-01-25.tar.xz\n```\n\nYou can also specify another namespace/project using the standard OpenShift `-n` flag:\n```\n# oc plugin sos -n testing\nData capture complete and archived in /tmp/oc-sos-testing-2018-01-25.tar.xz\n```\n\nIf you want to change the output format, use the standard `-o` flag. JSON output is default:\n```\n# oc plugin sos -n testing -o yaml\nData capture complete and archived in /tmp/oc-sos-testing-2018-01-25.tar.xz\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbostrt%2Fopenshift-sos-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbostrt%2Fopenshift-sos-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbostrt%2Fopenshift-sos-plugin/lists"}