ojob ojob.io/kube/scaleWithDeps deps="[(n: app-1, t: deploy, r: 2) | (n: app-2, t: statefulset) | (ns: other, n: app-3, d: [ 'app-1' | 'app-2' ] )]" filedeps=deps.json ns=default scale=down timeout=60000 scanwait=1000
Scales up or down deployments and/or statefulsets with their declared dependencies
Name | Description |
---|---|
deps | Dependencies to scale up or down in SLON or JSON |
filedeps | File with dependencies to scale up or down in SLON or JSON |
ns | Namespace |
scale | Scale up or down |
timeout | Timeout in milliseconds |
scanwait | Scan wait in milliseconds |