-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating helm chart #130
base: main
Are you sure you want to change the base?
Updating helm chart #130
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,12 @@ metadata: | |
name: watermarkpodautoscalers.datadoghq.com | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[0].type | ||
name: condition | ||
type: string | ||
- JSONPath: .status.conditions[0].status | ||
name: condition status | ||
type: string | ||
- JSONPath: .status.currentMetrics[*].external.currentValue.. | ||
name: value | ||
type: string | ||
|
@@ -25,9 +31,12 @@ spec: | |
- JSONPath: .spec.maxReplicas | ||
name: max replicas | ||
type: integer | ||
- JSONPath: .spec.dryRun | ||
- JSONPath: .status.conditions[?(@.type=="DryRun")].status | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is what I was talking about during the standup. |
||
name: dry-run | ||
type: string | ||
- JSONPath: .status.lastScaleTime | ||
name: last scale | ||
type: date | ||
group: datadoghq.com | ||
names: | ||
kind: WatermarkPodAutoscaler | ||
|
@@ -230,6 +239,13 @@ spec: | |
- type | ||
type: object | ||
type: array | ||
minAvailableReplicaPercentage: | ||
description: MinAvailableReplicaPercentage indicates the minimum percentage | ||
of replicas that need to be available in order for the controller | ||
to autoscale the target. | ||
format: int32 | ||
maximum: 100 | ||
type: integer | ||
minReplicas: | ||
format: int32 | ||
minimum: 1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
replicaCount: 1 | ||
image: | ||
repository: gcr.io/datadoghq/watermarkpodautoscaler | ||
tag: v0.3.1 | ||
tag: v0.4.0 | ||
pullPolicy: IfNotPresent | ||
imagePullSecrets: [] | ||
nameOverride: "" | ||
|
@@ -29,6 +29,11 @@ labelsAsTags: [] | |
podSecurityContext: {} | ||
# fsGroup: 2000 | ||
|
||
ddProfiling: | ||
enabled: false | ||
|
||
workers: 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO to be backward compatible the OR, you add an {{- if no eq (int .Values.workers) 1 }}
- -workers={{ .Values.workers }}
{{- end }} |
||
|
||
# Determines which resource lock to use for leader election | ||
leaderElectionResourceLock: configmaps | ||
securityContext: {} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how can we be sure it is always the first item in the conditions slice?