Skip to content

change playground.elasticConfig.maxReplicas to a required parameter. #326

@nayihz

Description

@nayihz

if playground.Spec.ElasticConfig.MaxReplicas == nil {
// The value is hardcoded, because maxReplicas is required by HPA.
hpa.Spec.MaxReplicas = 99999

Why we hardcode playground.Spec.ElasticConfig.MaxReplicas when user does not set, but not make this field to a required field?

/cc @kerthcet

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureCategorizes issue or PR as related to a new feature.needs-priorityIndicates a PR lacks a label and requires one.needs-triageIndicates an issue or PR lacks a label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions