Build badge
This commit is contained in:
Родитель
5dfd472963
Коммит
d68fc54d30
|
@ -1,5 +1,6 @@
|
||||||
# Project Status & Disclaimer
|
# Project Status & Disclaimer
|
||||||
The code provided in this repo is not actively maintained.
|
The code provided in this repo is not actively maintained.
|
||||||
|
![CI](https://github.com/microsoft/k8s-cronjob-prescaler/workflows/CI/badge.svg)
|
||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
The main purpose of this project is to provide a mechanism whereby cronjobs can be run on auto-scaling clusters, and ensure that the cluster is scaled up to their desired size prior to the time at which the `CronJob` workload needs to begin.
|
The main purpose of this project is to provide a mechanism whereby cronjobs can be run on auto-scaling clusters, and ensure that the cluster is scaled up to their desired size prior to the time at which the `CronJob` workload needs to begin.
|
||||||
|
@ -142,4 +143,4 @@ Many samples in the Kubernetes docs show `requests` and `limits` of a container
|
||||||
requests:
|
requests:
|
||||||
nvidia.com/gpu: 1
|
nvidia.com/gpu: 1
|
||||||
```
|
```
|
||||||
The generated yaml schema definition for the `PrescaledCronJob` just sets the validation for these properties to `string`s, rather than what they should be (`integer` | `string` with a fixed regex format). This means we need to apply a patch (`/config/crd/patches/resource-type-patch.yaml`) to override the autogenerated type. This information may come in handy in future if other edge cases are found.
|
The generated yaml schema definition for the `PrescaledCronJob` just sets the validation for these properties to `string`s, rather than what they should be (`integer` | `string` with a fixed regex format). This means we need to apply a patch (`/config/crd/patches/resource-type-patch.yaml`) to override the autogenerated type. This information may come in handy in future if other edge cases are found.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче