Service Templates

Service templates allow you to re-use common configuration across different services, and keep this shared configuration up to date. Changes to the service template will be reflected in the next push of all services using that template.


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
  - meta:
      name: my-service-template
          - canaryWeight: 20
             duration: 300s
          - canaryWeight: 40
             duration: 300s

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