Files
client-go/examples/README.md
Nikhita Raghunath d8822e0597 Update CR example in client-go
Remove custom-resources directory from client-go

Add TPR example back

Mention CRD is successor to TPR

Kubernetes-commit: b0504c6bff0ea5f923f935a4844e1eeab0ae5405
2017-07-07 20:27:35 +00:00

1.3 KiB

client-go Examples

This directory contains examples that cover various use cases and functionality for client-go.

Configuration

Basics

Advanced Concepts

  • Work queues: Create a hotloop-free controller with the rate-limited workqueue and the informer framework.
  • Third-party resources (deprecated): Register a third-party resource type with the API, create/update/query this third-party type, and write a controller that drives the cluster state based on the changes to the third-party resources.
  • Custom Resource Definition (successor of TPR): Register a custom resource type with the API, create/update/query this custom type, and write a controller that drives the cluster state based on the changes to the custom resources.