Skip to content

About Scaling Older Browser Versions to Zero in Kubernetes #2616

Discussion options

You must be logged in to vote

Hi, as per your requirement, I think you can try this. Via Helm configs, in each Node, you will see the config key scaledOptions to override the global config which applies for all scalers created. You can set different options for each scaler, for example the minReplicaCount as below.

crossBrowsers:
  chromeNode:
    - nameOverride: '{{ $.Release.Name }}-node-chrome-latest'
      scaledOptions:
        minReplicaCount: 5
        maxReplicaCount: 45
        pollingInterval: 20
      hpa:
        platformName: 'Linux'
        browserVersion: ''
    - nameOverride: '{{ $.Release.Name }}-node-chrome-131'
      imageTag: '131.0'
      scaledOptions:
        minReplicaCount: 0
        maxRepli…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VietND96
Comment options

Answer selected by VietND96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants