All Projects → iximiuz → client-go-examples

iximiuz / client-go-examples

Licence: Apache-2.0 license
Collection of mini-programs demonstrating Kubernetes client-go usage.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to client-go-examples

Kubernetes Workshop
⚙️ A Gentle introduction to Kubernetes with more than just the basics. 🌟 Give it a star if you like it.
Stars: ✭ 3,122 (+332.41%)
Mutual labels:  kubernetes-api, kubernetes-client
k8s-api
Kubernetes client, data driven
Stars: ✭ 87 (-87.95%)
Mutual labels:  kubernetes-api, kubernetes-client
kraph
Go module for scraping APIs to graphs
Stars: ✭ 12 (-98.34%)
Mutual labels:  kubernetes-api
k8s-discovery
Auto discover the running environment and serves the kubernetes clientset interface for interaction
Stars: ✭ 44 (-93.91%)
Mutual labels:  client-go
api-gateway
Api Gateway for a microservices deployment
Stars: ✭ 31 (-95.71%)
Mutual labels:  kubernetes-api
gen-crd-api-reference-docs
API Reference Docs generator for Kubernetes CRDs (used by Knative, Kubeflow and others)
Stars: ✭ 205 (-71.61%)
Mutual labels:  kubernetes-api
hikaru
Move smoothly between Kubernetes YAML and Python for creating/updating/componentizing configurations.
Stars: ✭ 60 (-91.69%)
Mutual labels:  kubernetes-api
steampipe-mod-kubernetes-compliance
Run individual controls or full compliance benchmarks for NSA CISA Kubernetes Hardening Guidance across all of your Kubernetes clusters using Steampipe.
Stars: ✭ 23 (-96.81%)
Mutual labels:  kubernetes-api
rbac-tool
Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query
Stars: ✭ 546 (-24.38%)
Mutual labels:  kubernetes-api
go
OpenAPI based generated Go Client for Kubernetes
Stars: ✭ 134 (-81.44%)
Mutual labels:  client-go
helm-clientgo-example
helm client-go example to add helm repo, fetch charts and install chart
Stars: ✭ 27 (-96.26%)
Mutual labels:  client-go
k8s-client-examples
Building stuff with the Kubernetes API
Stars: ✭ 110 (-84.76%)
Mutual labels:  client-go
Pod-Dive
A kubectl plugin to dive into your Kubernetes nodes pods, and inspect them.
Stars: ✭ 46 (-93.63%)
Mutual labels:  client-go
Kubernetes Client
Java client for Kubernetes & OpenShift
Stars: ✭ 2,188 (+203.05%)
Mutual labels:  kubernetes-client
k8s
Python client library for the Kubernetes API
Stars: ✭ 35 (-95.15%)
Mutual labels:  kubernetes-client

Kubernetes client-go examples

! Support development of this project > patreon.com/iximiuz

A collection of mini-programs covering various client-go use cases inspired by client-go/examples. The intention (at least so far) is to test (more or less) fresh version of Go and packages against a few latest Kubernetes versions.

What tested at the moment:

  • go 1.18
  • k8s.io/client-go v0.23.1 v0.24.7 v0.25.3
  • Kubernetes v1.22.15 1.23.12 v1.24.6 v1.25.2

Setup

Most examples expect minikube with at least two Kubernetes clusters - shared1 and shared2.

curl -sLS https://get.arkade.dev | sudo sh
arkade get minikube kubectl

minikube start --profile shared1
minikube start --profile shared2

Run

Oversimplified (for now):

cd <program>
go run main.go

TODO

Contribution

Contributions are always welcome! Want to participate but don't know where to start? The TODO list above could give you some ideas. Before jumping to the code, please create an issue describing the addition/change first. This will allow me to coordinate the effort and make sure multiple people don't work on the same task.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].