Project's Logo

kubernetes/client-go

The kubernetes/client-go project is a Go library for communicating with a Kubernetes cluster. It includes clients for accessing the Kubernetes API, discovery of supported APIs, dynamic client for performing generic operations on arbitrary Kubernetes API objects, authentication plugins, and tools for caching.

The library follows semantic versioning, with major version remaining 0 for each Kubernetes release. Bugfixes result in patch version changes, while minor and major version changes result in new branches and tags. Older client-go versions are compatible with many different Kubernetes cluster versions, and bugfixes are backported into older versions.

To get the latest version, use go get k8s.io/client-go@latest with Go 1.16 or higher. For specific versions, use go get with the desired version number. Detailed installation instructions and troubleshooting can be found in the [INSTALL.md](/INST applications/client-go/INSTALL.md) file.

The library includes the kubernetes, discovery, dynamic, plugin/pkg/client/auth, and transport packages, as well as the tools/cache package for writing controllers.

For in-cluster usage, refer to the in-cluster example. For out-of-cluster usage, refer to the out-of-cluster example.

For dependency management, please see the INSTALL.md file for details. To contribute code, send pull requests against the client packages in the Kubernetes main repository. Changes in the staging area are published to this repository daily.

Project Information

Contribution Opportunities

  • Issues are available for contributions.
  • Project boards are active.
  • Wiki is available for documentation and guides.

License

Apache License 2.0

Topics

k8s-staging

Recent Contributors

k8s-publishing-bot's avatar

k8s-publishing-bot

1601 Contributions

k8s-publish-robot's avatar

k8s-publish-robot

295 Contributions

liggitt's avatar

liggitt

182 Contributions

dims's avatar

dims

93 Contributions

deads2k's avatar

deads2k

75 Contributions

pohly's avatar

pohly

70 Contributions

smarterclayton's avatar

smarterclayton

65 Contributions

sttts's avatar

sttts

59 Contributions

p0lyn0mial's avatar

p0lyn0mial

56 Contributions

wojtek-t's avatar

wojtek-t

49 Contributions

nikhita's avatar

nikhita

48 Contributions

lavalamp's avatar

lavalamp

43 Contributions

jpbetz's avatar

jpbetz

38 Contributions

alexzielenski's avatar

alexzielenski

34 Contributions

mikedanese's avatar

mikedanese

34 Contributions

thockin's avatar

thockin

32 Contributions

ash2k's avatar

ash2k

31 Contributions

caesarxuchao's avatar

caesarxuchao

30 Contributions

seans3's avatar

seans3

29 Contributions

k8s-ci-robot's avatar

k8s-ci-robot

29 Contributions

MikeSpreitzer's avatar

MikeSpreitzer

27 Contributions

enj's avatar

enj

26 Contributions

tkashem's avatar

tkashem

22 Contributions

cblecker's avatar

cblecker

20 Contributions

aojea's avatar

aojea

20 Contributions

tnozicka's avatar

tnozicka

19 Contributions

Jefftree's avatar

Jefftree

19 Contributions

ericchiang's avatar

ericchiang

19 Contributions

ixdy's avatar

ixdy

18 Contributions

kevindelgado's avatar

kevindelgado

18 Contributions