Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.02 KB

Horizontal Pod Cronscaler

Go Reference License

Horizontal Pod Cronscaler scales the workload based on the specified Cron Schedule.

Installation

Latest Horizontal Pod Cronscaler release can be installed by running:

kubectl apply -f https://github.com/44smkn/horizontal-pod-cronscaler/latest/download/components.yaml

Installation instructions for previous releases can be found in Horizontal Pod Cronscaler releases.

Example

apiVersion: autoscaling.44smkn.github.io/v1beta1
kind: HorizontalPodCronscaler
metadata:
  name: horizontalpodcronscaler-sample
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: nginx-deployment
  replicas: 2
  schedule: "*/3 * * * *"