Configuring Service Templates

Service templates are defined at the Application level. To add or modify a service template use pvnctl applications edit <app name>.

To add a new service template, add a new entry to the serviceTemplates field:

name: my-application
serviceTemplates:
  - meta:
      name: my-service-template
    serviceConfig:
      deliveryConfig:
        canaryProgress:
          - canaryWeight: 20
             duration: 300s
          - canaryWeight: 40
             duration: 300s
      <...>

Any fields you can set on a service config are valid in the serviceConfig field.