Add docs for BPM
- [Open Questions and TODOs](#open-questions-and-todos)
- [Example Deployment Manifest Conversion Details](#example-deployment-manifest-conversion-details)
- [BPM](#bpm)
- - [Entrypoint](#entrypoint)
- - [Environment](#environment)
+ - [Entrypoint & Environment Variables](#entrypoint--environment-variables)
- [Resources](#resources)
- [Healthchecks](#healthchecks)
- [Conversion Details](#conversion-details)
@@ -357,13 +356,38 @@ tags:
## BPM
-### Entrypoint
+The BPM's are converted into containers of `ExtendedStatefulSet's` and `ExtendedJob's` pods. Each `process` in the BPM is run in a single `container` of kubernetes pods. Following subsections will describe about the mapping of BPM configuration into containers.
-### Environment
+### Entrypoint & Environment Variables
+
+Bosh | Kube Pod Container |
+--------------- | ---- |
+`executable` | `command` |
+`args` | `args` |
+`env` | `env` |
### Resources
-### Healthchecks
+Bosh | Kube Pod Container |
+--------------- | ---- |
+`workdir` | `workingDir`. Not Supported. |
+`hooks` | `Not Supported` |
+`capabilities` | `container.SecurityContext.Capabilities`. Not yet supported. |
+`limits` | `container.Resources.Limits`. Not yet supported. |
+`ephermeral_disk` | Not Supported. |
+`persistent_disk` | Supported. |
+`additional_volumes` | maps to `VolumeClaimTemplates` which creates Persistent Volume claims in kube cluster. Not yet supported. |
+`unsafe` | Unmapped to Kubernetes resources. Can be programmatically supported. Not yet supported. |
+
+## Healthchecks
+
+Healthcheck is used for checking the status of the BPM process's using liveness and readiness as defined in Kubernetes [docs](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/).
+
+Bosh | Kube Pod Container |
+--------------- | ---- |
+`liveness` defined in properties of the Instance group job per BPM process. | `livenessProbe`. Not Supported. |
+`readiness` defined in properties of the Instance group job per BPM process. | `readinessProbe` Not Supported. |
+
## Conversion Details
