mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-06-16 08:45:32 +00:00
fix previous chart issue for installation, Signed-off-by: John Zheng <john.zheng@hp.com> (#726)
Signed-off-by: John Zheng <john.zheng@hp.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: kube-metrics-adapter
|
name: kube-metrics-adapter
|
||||||
version: 0.2.0
|
version: 0.2.2
|
||||||
description: kube-metrics-adapter helm chart
|
description: kube-metrics-adapter helm chart
|
||||||
home: https://github.com/zalando-incubator/kube-metrics-adapter
|
home: https://github.com/zalando-incubator/kube-metrics-adapter
|
||||||
maintainers:
|
maintainers:
|
||||||
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.8.0
|
controller-gen.kubebuilder.io/version: v0.14.0
|
||||||
creationTimestamp: null
|
|
||||||
name: clusterscalingschedules.zalando.org
|
name: clusterscalingschedules.zalando.org
|
||||||
spec:
|
spec:
|
||||||
group: zalando.org
|
group: zalando.org
|
||||||
@ -23,18 +22,24 @@ spec:
|
|||||||
name: v1
|
name: v1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: ClusterScalingSchedule describes a cluster scoped time based
|
description: |-
|
||||||
metric to be used in autoscaling operations.
|
ClusterScalingSchedule describes a cluster scoped time based metric
|
||||||
|
to be used in autoscaling operations.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
@ -47,25 +52,30 @@ spec:
|
|||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
schedules:
|
schedules:
|
||||||
description: Schedules is the list of schedules for this ScalingSchedule
|
description: |-
|
||||||
|
Schedules is the list of schedules for this ScalingSchedule
|
||||||
resource. All the schedules defined here will result on the value
|
resource. All the schedules defined here will result on the value
|
||||||
to the same metric. New metrics require a new ScalingSchedule resource.
|
to the same metric. New metrics require a new ScalingSchedule
|
||||||
|
resource.
|
||||||
items:
|
items:
|
||||||
description: Schedule is the schedule details to be used inside
|
description: Schedule is the schedule details to be used inside
|
||||||
a ScalingSchedule.
|
a ScalingSchedule.
|
||||||
properties:
|
properties:
|
||||||
date:
|
date:
|
||||||
description: Defines the starting date of a OneTime schedule.
|
description: |-
|
||||||
It has to be a RFC3339 formatted date.
|
Defines the starting date of a OneTime schedule. It has to
|
||||||
|
be a RFC3339 formatted date.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
durationMinutes:
|
durationMinutes:
|
||||||
description: The duration in minutes (default 0) that the configured
|
description: |-
|
||||||
value will be returned for the defined schedule.
|
The duration in minutes (default 0) that the configured value will be
|
||||||
|
returned for the defined schedule.
|
||||||
type: integer
|
type: integer
|
||||||
endDate:
|
endDate:
|
||||||
description: Defines the ending date of a OneTime schedule.
|
description: |-
|
||||||
It must be a RFC3339 formatted date.
|
Defines the ending date of a OneTime schedule. It must be
|
||||||
|
a RFC3339 formatted date.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
period:
|
period:
|
||||||
@ -95,8 +105,9 @@ spec:
|
|||||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||||
type: string
|
type: string
|
||||||
timezone:
|
timezone:
|
||||||
description: The location name corresponding to a file in
|
description: |-
|
||||||
the IANA Time Zone database, like Europe/Berlin.
|
The location name corresponding to a file in the IANA
|
||||||
|
Time Zone database, like Europe/Berlin.
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- days
|
- days
|
||||||
@ -104,7 +115,8 @@ spec:
|
|||||||
- timezone
|
- timezone
|
||||||
type: object
|
type: object
|
||||||
type:
|
type:
|
||||||
description: Defines if the schedule is a OneTime schedule or
|
description: |-
|
||||||
|
Defines if the schedule is a OneTime schedule or
|
||||||
Repeating one. If OneTime, date has to be defined. If Repeating,
|
Repeating one. If OneTime, date has to be defined. If Repeating,
|
||||||
Period has to be defined.
|
Period has to be defined.
|
||||||
enum:
|
enum:
|
||||||
@ -129,8 +141,9 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
active:
|
active:
|
||||||
default: false
|
default: false
|
||||||
description: Active is true if at least one of the schedules defined
|
description: |-
|
||||||
in the scaling schedule is currently active.
|
Active is true if at least one of the schedules defined in the
|
||||||
|
scaling schedule is currently active.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -140,10 +153,4 @@ spec:
|
|||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.8.0
|
controller-gen.kubebuilder.io/version: v0.14.0
|
||||||
creationTimestamp: null
|
|
||||||
name: scalingschedules.zalando.org
|
name: scalingschedules.zalando.org
|
||||||
spec:
|
spec:
|
||||||
group: zalando.org
|
group: zalando.org
|
||||||
@ -25,18 +24,24 @@ spec:
|
|||||||
name: v1
|
name: v1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: ScalingSchedule describes a namespaced time based metric to be
|
description: |-
|
||||||
used in autoscaling operations.
|
ScalingSchedule describes a namespaced time based metric to be used
|
||||||
|
in autoscaling operations.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: |-
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
APIVersion defines the versioned schema of this representation of an object.
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
Servers should convert recognized schemas to the latest internal value, and
|
||||||
|
may reject unrecognized values.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this
|
description: |-
|
||||||
object represents. Servers may infer this from the endpoint the client
|
Kind is a string value representing the REST resource this object represents.
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
Servers may infer this from the endpoint the client submits requests to.
|
||||||
|
Cannot be updated.
|
||||||
|
In CamelCase.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
@ -49,25 +54,30 @@ spec:
|
|||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
schedules:
|
schedules:
|
||||||
description: Schedules is the list of schedules for this ScalingSchedule
|
description: |-
|
||||||
|
Schedules is the list of schedules for this ScalingSchedule
|
||||||
resource. All the schedules defined here will result on the value
|
resource. All the schedules defined here will result on the value
|
||||||
to the same metric. New metrics require a new ScalingSchedule resource.
|
to the same metric. New metrics require a new ScalingSchedule
|
||||||
|
resource.
|
||||||
items:
|
items:
|
||||||
description: Schedule is the schedule details to be used inside
|
description: Schedule is the schedule details to be used inside
|
||||||
a ScalingSchedule.
|
a ScalingSchedule.
|
||||||
properties:
|
properties:
|
||||||
date:
|
date:
|
||||||
description: Defines the starting date of a OneTime schedule.
|
description: |-
|
||||||
It has to be a RFC3339 formatted date.
|
Defines the starting date of a OneTime schedule. It has to
|
||||||
|
be a RFC3339 formatted date.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
durationMinutes:
|
durationMinutes:
|
||||||
description: The duration in minutes (default 0) that the configured
|
description: |-
|
||||||
value will be returned for the defined schedule.
|
The duration in minutes (default 0) that the configured value will be
|
||||||
|
returned for the defined schedule.
|
||||||
type: integer
|
type: integer
|
||||||
endDate:
|
endDate:
|
||||||
description: Defines the ending date of a OneTime schedule.
|
description: |-
|
||||||
It must be a RFC3339 formatted date.
|
Defines the ending date of a OneTime schedule. It must be
|
||||||
|
a RFC3339 formatted date.
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
period:
|
period:
|
||||||
@ -97,8 +107,9 @@ spec:
|
|||||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||||
type: string
|
type: string
|
||||||
timezone:
|
timezone:
|
||||||
description: The location name corresponding to a file in
|
description: |-
|
||||||
the IANA Time Zone database, like Europe/Berlin.
|
The location name corresponding to a file in the IANA
|
||||||
|
Time Zone database, like Europe/Berlin.
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- days
|
- days
|
||||||
@ -106,7 +117,8 @@ spec:
|
|||||||
- timezone
|
- timezone
|
||||||
type: object
|
type: object
|
||||||
type:
|
type:
|
||||||
description: Defines if the schedule is a OneTime schedule or
|
description: |-
|
||||||
|
Defines if the schedule is a OneTime schedule or
|
||||||
Repeating one. If OneTime, date has to be defined. If Repeating,
|
Repeating one. If OneTime, date has to be defined. If Repeating,
|
||||||
Period has to be defined.
|
Period has to be defined.
|
||||||
enum:
|
enum:
|
||||||
@ -131,8 +143,9 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
active:
|
active:
|
||||||
default: false
|
default: false
|
||||||
description: Active is true if at least one of the schedules defined
|
description: |-
|
||||||
in the scaling schedule is currently active.
|
Active is true if at least one of the schedules defined in the
|
||||||
|
scaling schedule is currently active.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -142,10 +155,4 @@ spec:
|
|||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
status:
|
|
||||||
acceptedNames:
|
|
||||||
kind: ""
|
|
||||||
plural: ""
|
|
||||||
conditions: []
|
|
||||||
storedVersions: []
|
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
@ -4,7 +4,7 @@ replicas: 1
|
|||||||
|
|
||||||
registry:
|
registry:
|
||||||
image: registry.opensource.zalan.do/teapot/kube-metrics-adapter
|
image: registry.opensource.zalan.do/teapot/kube-metrics-adapter
|
||||||
imageTag: v0.2.0
|
imageTag: v0.2.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
service:
|
service:
|
||||||
@ -14,15 +14,15 @@ service:
|
|||||||
addDirectoryHeader:
|
addDirectoryHeader:
|
||||||
contentionProfiling:
|
contentionProfiling:
|
||||||
profiling:
|
profiling:
|
||||||
enableCustomMetricsApi:
|
enableCustomMetricsApi: true
|
||||||
enableExternalMetricsApi:
|
enableExternalMetricsApi: true
|
||||||
credentialsDirectory:
|
credentialsDirectory:
|
||||||
disregardIncompatibleHPAs:
|
disregardIncompatibleHPAs:
|
||||||
http2MaxStreamsPerConnection:
|
http2MaxStreamsPerConnection:
|
||||||
listerKubeConfig:
|
listerKubeConfig:
|
||||||
skipperBackendsAnnotation:
|
skipperBackendsAnnotation:
|
||||||
skipperIngressMetrics:
|
skipperIngressMetrics:
|
||||||
skipperRouteGroupMetrics:
|
skipperRouteGroupMetrics: true
|
||||||
token:
|
token:
|
||||||
vmodule:
|
vmodule:
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ resources:
|
|||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
|
|
||||||
scalingSchedule:
|
scalingSchedule:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
|
Reference in New Issue
Block a user