Skip to content
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

[Ingest Storage] Update default ReplicaTemplate label selector #9915

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2780,7 +2780,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2784,7 +2784,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ metadata:
name: ingester-zone-a
namespace: default
spec:
labelSelector: name=unused
labelSelector: name=ingester-zone-a
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
ingest_storage_ingester_autoscaling_ingester_annotations_enabled: $._config.ingest_storage_ingester_autoscaling_enabled,

// Make label selector in ReplicaTemplate configurable. This mostly doesn't matter, but from our experience if the selector
// doesn't match correct pods, HPA in GKE will display wrong usage in "kubectl describe hpa". This is harmless, but can
// easily be fixed by using name=ingester-zone-a. (We will roll out that change internally, and then upstream).
ingest_storage_replica_template_label_selector: 'name=unused',
// doesn't match correct pods, HPA in GKE will display wrong usage in "kubectl describe hpa".
ingest_storage_replica_template_label_selector: 'name=ingester-zone-a',

// Make triggers configurable so that we can add more. Each object needs to have: query, threshold, metric_type.
ingest_storage_ingester_autoscaling_triggers: [
Expand Down
Loading