Browse Source

Изменить 'README.md'

tags/0.0.5
Vladimir Smagin 1 month ago
parent
commit
8b74051da2
1 changed files with 16 additions and 12 deletions
  1. 16
    12
      README.md

+ 16
- 12
README.md View File

@@ -2,16 +2,6 @@

Manages multiple CronJobs with same image, but different commands and workdirs. Supports mounting of persistent volume to save results somewhere, ENV variables configmaps, concurrency and restart policy.

## Planning

- global and local SecurityContext
- global SubPath for volume mounts
- global node selector
- global resources limits
- global tolerations
- global affinity
- global imagePullPolicy

## Build sources

- You definitly need a Golang installed ([easy install for Ubuntu](http://deb.blindage.org/readme.txt))
@@ -56,14 +46,28 @@ This parameters can be set in global section or each task:
- Allow Cronjob to run concurrent Jobs
`concurrencyPolicy`: **Allow** | *Forbid* | *Replace*

- Set standard kubernetes Pod security context
`podSecurityContext`: _default empty_

Global history limits:

- successfulJobsHistoryLimit: **3** | integer
- failedJobsHistoryLimit: **3** | integer

Also you can save intermediate results in mounted persistent volume. You can set PVC name with `PersistentVolumeName` and mount point with `PersistentVolumePath`. It's easy.
Also you can save intermediate results in mounted persistent volume. You can set PVC name with `PersistentVolumeName`, mount point with `PersistentVolumePath` and `PersistentVolumeSubPath`. It's easy.

Global affinity, node selection and tolerations, have standard kubernetes specs:

- nodeSelector: _default empty_
- affinity: _default empty_
- tolerations: _default empty_

Global resource limiting also kubernetes standard, but separated:

- podRequests: _default empty_
- podLimits: _default empty_

Look into `pkg/apis/blindage/v1alpha1/cronop_types.go` to find more interesting parameters!
Look into `pkg/apis/blindage/v1alpha1/cronop_types.go` for your CustomResource syntax.

## Your first CronOp deployment


Loading…
Cancel
Save