Skip to content
Work in progress
Branch: master
Clone or download
k8s-ci-robot Merge pull request #45 from brendandburns/watch2
Add support for watch @ resourceVersion, and improve tests.
Latest commit a8363be May 16, 2019

Kubernetes Ruby Client

Ruby client for the kubernetes API.


require 'kubernetes'
require 'pp'

kube_config ="#{ENV['HOME']}/.kube/config")
config =


client =

pp client.list_namespaced_pod('default')


Please see for instructions on how to contribute.

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.


Update client

to update the client clone the gen repo and run this command at the root of the client repo:

${GEN_REPO_BASE}/openapi/ kubernetes settings


This program follows the Apache License version 2.0 ( ). See LICENSE file included with the distribution for details.

You can’t perform that action at this time.