Skip to content

Commit 39818f9

Browse files
authored
Merge pull request #156 from ContainerSolutions/user-guide
User guide
2 parents 765d651 + 7f266fc commit 39818f9

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Feature we would like to implement and invite the community to help us implement
2424
* Configurable Retry Handling
2525
* Smart Event Processing Scheduling
2626

27+
## User Guide
28+
29+
You can find detailed documentation [here](docs/DOCS.md).
30+
Note that these docs are currently in progress.
31+
2732
## Usage
2833

2934
We have several sample Operators under the samples directory:

docs/DOCS.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Java Operator SDK - Documentation
2+
3+
## Introduction & Resources on Operators
4+
5+
Operators are easy and simple way to manage resource on Kubernetes clusters but
6+
also outside of the cluster. The goal of this SDK is to allow writing operators in Java by
7+
providing a nice API and handling common issues regarding the operators on framework level.
8+
9+
For an introduction, what is an operator see this [blog post](https://blog.container-solutions.com/kubernetes-operators-explained).
10+
11+
You can read about the common problems what is this operator framework is solving for you [here](https://blog.container-solutions.com/a-deep-dive-into-the-java-operator-sdk).
12+
13+
## Getting Started
14+
15+
The easiest way to get started with SDK is start [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) and
16+
execute one of our [examples](https://github.com/ContainerSolutions/java-operator-sdk/tree/master/samples/webserver)
17+
18+
Note that you don't have to deploy the operator to a Kubernetes clusters as a pod (however you have to apply the CRD).
19+
If you run this example from you favorite IDE, it will pick up the kubeconfig (prepared by minikube) and will start
20+
processing events of custom resources immediately.
21+
22+
23+
## Controllers
24+
Controllers are where you implement you logic for you operator.
25+
26+
### Generation Awareness
27+
28+
## Automatic Retries
29+
30+
## Running The Operator
31+
32+
## Development Tips & Tricks
33+
34+
TODO: explain running operator locally against a cluster
35+
36+
## Event Processing Details
37+
### Handling Finalizers
38+
### Managing Consistency
39+
### Event Scheduling
40+
### Event Dispatching
41+
### Generation Awareness
42+
43+
## Spring Boot Support

0 commit comments

Comments
 (0)