-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
## Custom Resource | ||
|
||
Custom resources are extensions of the Kubernetes API. | ||
|
||
They are not available in a default Kubernetes installation | ||
and have to be installed/created separately. | ||
|
||
All requests are coming to the API server as usual. | ||
|
||
### Custom Resource Definition (CRD) | ||
|
||
CRD is a way to define a custom resource. | ||
|
||
To work with CRD, you need to create a Custom Controller to handle | ||
CRD requests, because the API server doesn't know how your CRD | ||
should behave in different situations. | ||
|
||
### Controller vs Operator | ||
|
||
Controller works on vanilla Kubernetes objects. | ||
|
||
Operator is a controller that works with custom resources. | ||
|
||
### Resources | ||
|
||
- https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/ | ||
- https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/ | ||
|
||
todo: add more info |