Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

opsani/servo-put

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

servo-statestore

Optune adjust driver that stores adjust state and returns it back on query.

On adjust, this driver saves the state that it receives. On query it takes the state defined in the driver config (lists all components and their settings, including default values), updates the settings values with the last state that it received on adjust (if present) and returns the result.

State is saved/read using an external library.

driver configuration

This driver requires configuration that lists the default state of the application - list of components, their settings and default values.

Adjust operations should only set values for settings that are listed in the config, anything else will be accepted but not returned on query.

Sample config.yaml:

statestore:
  components:                     # required
    web:                          # component name
      settings:
        inst_type:
          type: enum
          unit: ec2
          step: 1
          value: c5.2xlarge       # default value
          values:                 # list values to try
          - c5.2xlarge
          - m5.xlarge
          - m5a.xlarge
        replicas:
          type: range
          min: 1
          max: 50
          step: 1
          unit: count

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages