Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
bfa9ce43
Unverified
Commit
bfa9ce43
authored
Jun 20, 2017
by
Nikhita Raghunath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CR example in client-go
Remove custom-resources directory from client-go Add TPR example back Mention CRD is successor to TPR
parent
4fd040af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
README.md
staging/src/k8s.io/client-go/examples/README.md
+5
-2
README.md
.../src/k8s.io/client-go/examples/custom-resources/README.md
+0
-7
No files found.
staging/src/k8s.io/client-go/examples/README.md
View file @
bfa9ce43
...
...
@@ -20,9 +20,12 @@ for client-go.
-
[
**Work queues**
](
./workqueue
)
: Create a hotloop-free controller with the
rate-limited workqueue and the
[
informer framework
][
informer
]
.
-
[
**Third-party resources (deprecated)**
](
./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)**
](
https://git.k8s.io/apiextensions-apiserver/examples/client-go
)
:
Register a custom resource type with the API, create/update/query this custom
type, and write a controller drives the cluster state based on the changes to
type, and write a controller
that
drives the cluster state based on the changes to
the custom resources.
[
informer
]:
https://godoc.org/k8s.io/client-go/tools/cache#NewInformer
staging/src/k8s.io/client-go/examples/custom-resources/README.md
deleted
100644 → 0
View file @
4fd040af
# Custom Resource Example
**Note:**
CustomResourceDefinition is the successor of the deprecated ThirdPartyResource.
For a client-go example using CustomResourceDefinitions, go to
[
k8s.io/apiextensions-apiserver/examples/client-go
](
https://git.k8s.io/apiextensions-apiserver/examples/client-go
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment