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
- Repository: kubernetes/client-go
- Owner: kubernetes
- Language: Go
- Created at: 2016-08-25
- Last Updated: 2024-09-26
Engagement Metrics
- Stars: 8966
- Forks: 2932
- Open Issues: 33
- Watchers: 8966
- Subscribers: 174
Contribution Opportunities
- Issues are available for contributions.
- Project boards are active.
- Wiki is available for documentation and guides.
License
Apache License 2.0
Topics
Recent Contributors
k8s-publishing-bot
1601 Contributions
k8s-publish-robot
295 Contributions
liggitt
182 Contributions
dims
93 Contributions
deads2k
75 Contributions
pohly
70 Contributions
smarterclayton
65 Contributions
sttts
59 Contributions
p0lyn0mial
56 Contributions
wojtek-t
49 Contributions
nikhita
48 Contributions
lavalamp
43 Contributions
jpbetz
38 Contributions
alexzielenski
34 Contributions
mikedanese
34 Contributions
thockin
32 Contributions
ash2k
31 Contributions
caesarxuchao
30 Contributions
seans3
29 Contributions
k8s-ci-robot
29 Contributions
MikeSpreitzer
27 Contributions
enj
26 Contributions
tkashem
22 Contributions
cblecker
20 Contributions
aojea
20 Contributions
tnozicka
19 Contributions
Jefftree
19 Contributions
ericchiang
19 Contributions
ixdy
18 Contributions
kevindelgado
18 Contributions