Skip to content
프로젝트

iximiuz/client-go-examples

GitHub에서 보기

소개

Kubernetes client-go 사용법을 보여 주는 미니 프로그램 모음입니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
+3
in 1 month
+2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Kubernetes client-go examples

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

A collection of mini-programs demonstrating various client-go use cases augmented by a preconfigured online development environment. Inspired by client-go/examples.

The intention is to test a (more or less) fresh version of Go and k8s.io packages against the currently maintained Kubernetes release branches.

What is tested at the moment:

  • go 1.22.10
  • k8s.io/client-go 0.28.14 0.29.12 0.30.8 0.31.4 (maintained release branches)
  • Kubernetes 1.28.9 1.29.12 1.30.8 1.31.4 (best-effort match with versions supported by kind)

Setup

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

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

kind create cluster --name shared1
kind create cluster --name shared2

Run

Oversimplified (for now):

cd <program>
make test

# or from the root folder:
make test-all

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.

관련 프로젝트 살펴보기

불러오는 중…