{"id":17086413,"url":"https://github.com/dasch/ruby-kubernetes","last_synced_at":"2025-10-17T11:40:15.237Z","repository":{"id":56893526,"uuid":"42057094","full_name":"dasch/ruby-kubernetes","owner":"dasch","description":"A Ruby client library for Kubernetes. ","archived":false,"fork":false,"pushed_at":"2017-01-05T18:01:40.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T15:48:14.292Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dasch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-07T14:22:59.000Z","updated_at":"2023-06-02T02:14:05.000Z","dependencies_parsed_at":"2022-08-21T01:50:17.602Z","dependency_job_id":null,"html_url":"https://github.com/dasch/ruby-kubernetes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Fruby-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Fruby-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Fruby-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Fruby-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasch","download_url":"https://codeload.github.com/dasch/ruby-kubernetes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637832,"owners_count":21137538,"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-14T13:28:34.803Z","updated_at":"2025-10-17T11:40:10.192Z","avatar_url":"https://github.com/dasch.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes\n\nA client library for [Kubernetes](http://kubernetes.io/) in Ruby.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'kubernetes'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install kubernetes\n\n## Usage\n\n```ruby\nrequire 'kubernetes'\n\n# Assumes you're running a local proxy or SSH tunnel.\nclient = Kubernetes.new\n\n# Connect to server from within a pod:\ntoken = File.read('/var/run/secrets/kubernetes.io/serviceaccount/token')\nclient = Kubernetes.new({\n  connection: {\n    host: 'https://kubernetes', \n    headers: { Authorization: \"Bearer #{token}\"}, \n    ssl_verify_peer: false }})\n\n# Lists all pods:\nclient.get_pods\n\n# Lists all replication controllers:\nclient.get_replication_controllers\n\n# Get the logs for a specific pod:\nclient.logs(\"some-pod\")\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/kubernetes/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasch%2Fruby-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasch%2Fruby-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasch%2Fruby-kubernetes/lists"}