{"id":13522487,"url":"https://github.com/Kyrremann/kubectl-eksporter","last_synced_at":"2025-03-31T22:31:32.890Z","repository":{"id":43344376,"uuid":"200604431","full_name":"Kyrremann/kubectl-eksporter","owner":"Kyrremann","description":"A simple Ruby-script to export k8s resources","archived":false,"fork":false,"pushed_at":"2022-07-06T18:52:39.000Z","size":45,"stargazers_count":23,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T06:51:10.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kyrremann.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}},"created_at":"2019-08-05T07:29:11.000Z","updated_at":"2024-01-23T07:48:19.000Z","dependencies_parsed_at":"2022-09-16T19:21:35.757Z","dependency_job_id":null,"html_url":"https://github.com/Kyrremann/kubectl-eksporter","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyrremann%2Fkubectl-eksporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyrremann%2Fkubectl-eksporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyrremann%2Fkubectl-eksporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyrremann%2Fkubectl-eksporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kyrremann","download_url":"https://codeload.github.com/Kyrremann/kubectl-eksporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552507,"owners_count":20795826,"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-08-01T06:00:47.841Z","updated_at":"2025-03-31T22:31:32.561Z","avatar_url":"https://github.com/Kyrremann.png","language":"Ruby","funding_links":[],"categories":["kubectl Plugins"],"sub_categories":["Installing plugins via awesome-kubectl-plugins"],"readme":"kubectl-eksporter\n==================\n\n\u003e A simple Ruby-script to export k8s resources, and removes a pre-defined set of fields for later import\n\n\n## Usage\n\n```\nkubectl eksporter \u003cresource\u003e \u003cname\u003e\n```\n\n`-n / --namespace` and other arguments are supported by proxy.\n\nThe eksporter also supports piping.\n\n\n### Command arguments\n\n#### --drop\n\nYou can easily remove more fields with the `--drop` argument. List the fields (also nested fields) to be removed.\n\n#### --keep\n\nIf you need some of the pre-defined fields, you can list them with `--keep` and they will not be removed.\n\n\n### Example\n\n```\n$ kubectl eksporter ingress testapp\n---\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n  labels:\n    app: testapp\n    environment: default\n  name: testapp\nspec:\n  rules:\n  - host: testapp.local\n    http:\n      paths:\n      - backend:\n          serviceName: testapp\n          servicePort: 80\n        path: \"/\"\n```\n\nThe following command wil give the same result.\n```\n$ kubectl get ingress testapp -o yaml | kubectl eksporter\n```\n\n\n## Install\n\nFirst you need install [Krew](https://krew.dev), by following the [installation guide](https://github.com/kubernetes-sigs/krew#installation).\n\nThen just run `kubectl krew install eksporter`\n\n\n## Why Ruby?\n\nPython didn't have a built-in yaml-converter, and Go is a hassle to work with when you need generic data structures.\n\n\n## Release\n\n1. Make changes to the code\n2. Tag with `git tag -a v1.3.0`\n3. New release is automated created and pushed to Krew\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyrremann%2Fkubectl-eksporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKyrremann%2Fkubectl-eksporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyrremann%2Fkubectl-eksporter/lists"}