mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Merge pull request #65265 from sttts/sttts-sample-apiserver-pkg
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. staging-repos: add note that these are to be imported as k8s/* Fixes https://github.com/kubernetes/sample-controller/issues/17 Fixes https://github.com/kubernetes/sample-controller/issues/20
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
Demonstration of how to use the k8s.io/apiserver library to build a functional API server.
|
||||
|
||||
**Note:** go-get or vendor this package as `k8s.io/sample-apiserver`.
|
||||
|
||||
## Purpose
|
||||
|
||||
|
@@ -3,6 +3,8 @@
|
||||
This repository implements a simple controller for watching Foo resources as
|
||||
defined with a CustomResourceDefinition (CRD).
|
||||
|
||||
**Note:** go-get or vendor this package as `k8s.io/sample-controller`.
|
||||
|
||||
This particular example demonstrates how to perform basic operations such as:
|
||||
|
||||
* How to register a new custom resource (custom resource type) of type `Foo` using a CustomResourceDefinition.
|
||||
|
Reference in New Issue
Block a user