Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Merge requests
!869
Gonrg 10592 indexer autoscaling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Gonrg 10592 indexer autoscaling
GONRG-10592-indexer-autoscaling
into
master
Overview
0
Commits
3
Pipelines
4
Changes
3
Merged
Yauheni Rykhter (EPAM)
requested to merge
GONRG-10592-indexer-autoscaling
into
master
1 month ago
Overview
0
Commits
3
Pipelines
4
Changes
3
Expand
0
0
Merge request reports
Compare
master
version 1
dd9a1cb9
1 month ago
master (base)
and
latest version
latest version
437f85c5
3 commits,
1 month ago
version 1
dd9a1cb9
2 commits,
1 month ago
3 files
+
74
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
devops/gc/deploy/templates/hpa.yaml
+
50
−
12
Options
@@ -12,31 +12,69 @@ spec:
minReplicas
:
{{
.Values.hpa.minReplicas
}}
maxReplicas
:
{{
.Values.hpa.maxReplicas
}}
metrics
:
-
type
:
External
external
:
-
external
:
metric
:
name
:
istio.io|service|server|request_count
name
:
pubsub.googleapis.com|subscription|num_undelivered_messages
selector
:
matchLabels
:
metric.labels.destination_workload_name
:
{{
.Values.conf.appName | quote
}}
resource.labels.subscription_id
:
indexer-records-changed
target
:
type
:
{{
.Values.hpa.targetType | quote
}}
{{
- if eq .Values.hpa.targetType "AverageValue"
}}
averageValue
:
{{
.Values.hpa.targetValue
}}
{{
- else if eq .Values.hpa.targetType "Value"
}}
value
:
{{
.Values.hpa.targetValue
}}
{{
- end
}}
type
:
{{
.Values.hpa.pubsubTargetType | quote
}}
averageValue
:
{{
.Values.hpa.pubsubTargetValue
}}
type
:
External
-
external
:
metric
:
name
:
pubsub.googleapis.com|subscription|num_undelivered_messages
selector
:
matchLabels
:
resource.labels.subscription_id
:
indexer-reindex
target
:
type
:
{{
.Values.hpa.pubsubTargetType | quote
}}
averageValue
:
{{
.Values.hpa.pubsubTargetValue
}}
type
:
External
-
external
:
metric
:
name
:
pubsub.googleapis.com|subscription|num_undelivered_messages
selector
:
matchLabels
:
resource.labels.subscription_id
:
indexer-reprocess
target
:
type
:
{{
.Values.hpa.pubsubTargetType | quote
}}
averageValue
:
{{
.Values.hpa.pubsubTargetValue
}}
type
:
External
-
external
:
metric
:
name
:
pubsub.googleapis.com|subscription|num_messages_received
selector
:
matchLabels
:
resource.labels.subscription_id
:
indexer-schema-changed
target
:
type
:
{{
.Values.hpa.pubsubTargetType | quote
}}
averageValue
:
{{
.Values.hpa.pubsubTargetValue
}}
type
:
External
-
resource
:
name
:
cpu
target
:
type
:
{{
.Values.hpa.cpuTargetType | quote
}}
averageUtilization
:
{{
.Values.hpa.cpuTargetValue
}}
type
:
Resource
-
resource
:
name
:
memory
target
:
type
:
{{
.Values.hpa.memoryTargetType | quote
}}
averageUtilization
:
{{
.Values.hpa.memoryTargetValue
}}
type
:
Resource
behavior
:
scaleUp
:
stabilizationWindowSeconds
:
{{
.Values.hpa.behaviorScaleUpStabilizationWindowSeconds
}}
policies
:
-
type
:
P
ercent
-
type
:
P
ods
value
:
{{
.Values.hpa.behaviorScaleUpPoliciesValue
}}
periodSeconds
:
{{
.Values.hpa.behaviorScaleUpPoliciesPeriodSeconds
}}
scaleDown
:
stabilizationWindowSeconds
:
{{
.Values.hpa.behaviorScaleDownStabilizationWindowSeconds
}}
policies
:
-
type
:
P
ercent
-
type
:
P
ods
value
:
{{
.Values.hpa.behaviorScaleDownPoliciesValue
}}
periodSeconds
:
{{
.Values.hpa.behaviorScaleDownPoliciesPeriodSeconds
}}
{{
- end
}}
Loading