Skip to content

Multiple deployments per httpso #1053

@Varun-Mehrotra

Description

@Varun-Mehrotra

Proposal

Currently, the http-add-on scales one deployment for each HTTPScaledObeject. This makes it difficult to scale multiple deployments based on traffic for one service. If you attempt to do this right now (as in creating multiple HTTPScaledObjects that point to the same service, but different deployments) not all deployments are scaled, only one is at a time, and seemingly random at that.

There's two ways I see it that this can be implemented:

  1. Handle how requests should map to multiple HTTPScaledObjects
  2. Change the HTTPScaledObject schema to support an array of objects rather than a single deployment/daemon set.

Use-Case

The use case I'm looking at specifically is for something like a development environment, or something else that doesn't need to necessarily be up immediately. I'd like to scale down all deployments that I'm running in a namespace dependant on the traffic to one service.

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions