Horizontal Pod Cronscaler
scales the workload based on the specified Cron Schedule.
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.
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 * * * *"