
Some cases and users actually know when their applications will have a high workload and, therefore, autoscaling support for time based scaling is a desired feature. This commit creates the first version of two CRDs called `ScalingSchedule` and `ClusterScalingSchedule`. The CRDs describe one or multiples schedules inside them. The schedules contains the information of when the time based scaling starts, if it happens once or multiple times, its duration and, a configurable value that later can be used by HPAs to scale applications. The only difference between the two CRDs is their scope. `ClusterScalingSchedule` aims to attend cluster wide schedules, to multiple applications, while `ScalingSchedule` has to be deployed with each application into the same namespace. This commit does not creates any metric, it's a noop change that creates just the CRD and import tools required to generate the CRD and others required code, as `deepCopy` functions and clients. Signed-off-by: Jonathan Juares Beber <jonathanbeber@gmail.com>
37 lines
1.4 KiB
Modula-2
37 lines
1.4 KiB
Modula-2
module github.com/zalando-incubator/kube-metrics-adapter
|
|
|
|
require (
|
|
github.com/NYTimes/gziphandler v1.0.1 // indirect
|
|
github.com/aws/aws-sdk-go v1.37.20
|
|
github.com/go-openapi/spec v0.20.3
|
|
github.com/influxdata/influxdb-client-go v0.2.0
|
|
github.com/influxdata/line-protocol v0.0.0-20201012155213-5f565037cbc9 // indirect
|
|
github.com/kubernetes-sigs/custom-metrics-apiserver v0.0.0-20201216091021-1b9fa998bbaa
|
|
github.com/magefile/mage v1.11.0 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/prometheus/client_golang v1.9.0
|
|
github.com/prometheus/common v0.18.0
|
|
github.com/sirupsen/logrus v1.8.0
|
|
github.com/spf13/cobra v1.1.1
|
|
github.com/spyzhov/ajson v0.4.2
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/zalando-incubator/cluster-lifecycle-manager v0.0.0-20180921141935-824b77fb1f84
|
|
golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 // indirect
|
|
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
|
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
|
golang.org/x/sys v0.0.0-20210301091718-77cc2087c03b // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
k8s.io/api v0.20.4
|
|
k8s.io/apimachinery v0.20.4
|
|
k8s.io/apiserver v0.20.4
|
|
k8s.io/client-go v0.20.4
|
|
k8s.io/code-generator v0.20.4
|
|
k8s.io/component-base v0.20.4
|
|
k8s.io/klog v1.0.0
|
|
k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd
|
|
k8s.io/metrics v0.20.4
|
|
sigs.k8s.io/controller-tools v0.5.0
|
|
)
|
|
|
|
go 1.16
|