docs: app uml with example
Signed-off-by: Arsen Gumin <gumin@live.ru>
This commit is contained in:
parent
d05a9bad50
commit
1c1eb997a8
|
@ -0,0 +1,12 @@
|
|||
@startuml
|
||||
actor User
|
||||
participant "REST Submit Server" as REST
|
||||
participant "Kubernetes API" as K8s
|
||||
participant "Spark Operator" as Operator
|
||||
|
||||
User -> REST: POST /sparkapplications (CRD as JSON)
|
||||
REST -> K8s: CreateNamespacedCustomObject (go-client)
|
||||
K8s <--> Operator: Existed behaivor
|
||||
K8s --> REST: Event/Status
|
||||
REST --> User: Response (200 OK / Details)
|
||||
@enduml
|
|
@ -41,6 +41,8 @@ Deploy a companion HTTP server with the Spark Operator that:
|
|||
5. **Supports TLS termination** via mounted certificates (cert-manager or manual).
|
||||
6. **Emits** structured logs and exposes Prometheus metrics for request counts and latencies.
|
||||
|
||||
7. 
|
||||
|
||||
### User Stories (Optional)
|
||||
|
||||
#### Story 1
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 7.3 KiB |
Loading…
Reference in New Issue