Client Libraries
To write applications using the Kubernetes REST API, you do not need to implement the API calls and request/response types yourself. You can use a client library for the programming language you are using.
The following client libraries are officially maintained by Kubernetes SIG API Machinery.
Community-maintained client libraries
The following Kubernetes API client libraries are provided and maintained by their authors, not the Kubernetes team.
Language | Client Library |
---|---|
Clojure | github.com/yanatan16/clj-kubernetes-api |
DotNet | |
DotNet (RestSharp) | github.com/masroorhasan/Kubernetes.DotNet |
Elixir | |
Elixir | github.com/coryodaniel/k8s |
Go | |
Java (OSGi) | bitbucket.org/amdatulabs/amdatu-kubernetes |
Java (Fabric8, OSGi) | |
Java | github.com/manusa/yakc |
Lisp | |
Lisp | github.com/xh4/cube |
Node.js (TypeScript) | |
Node.js | github.com/ajpauwels/easy-k8s |
Node.js | |
Node.js | github.com/tenxcloud/node-kubernetes-client |
Perl | |
PHP | github.com/allansun/kubernetes-php-client |
PHP | |
PHP | github.com/travisghansen/kubernetes-client-php |
PHP | |
Python | github.com/fiaas/k8s |
Python | |
Python | github.com/mnubo/kubernetes-py |
Python | |
Python | github.com/Frankkkkk/pykorm |
Ruby | |
Ruby | github.com/k8s-ruby/k8s-ruby |
Ruby | |
Rust | github.com/clux/kube-rs |
Rust | |
Scala | github.com/hagay3/skuber |
Scala | |
Scala | github.com/joan38/kubernetes-client |
Swift |