You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
707 B

import { PluginRegistry } from "../pluginRegistry.js";
PluginRegistry.register('microservice', {
type: 'microservice',
label: 'Microservice',
props: [
{ name: 'label', type: 'string', default: 'Service', group: 'label-group' },
{ name: 'instanceCount', type: 'number', default: 3, group: 'microservice-group' },
{ name: 'cpu', type: 'number', default: 2, group: 'microservice-group' },
{ name: 'ramGb', type: 'number', default: 4, group: 'microservice-group' },
{ name: 'rpsCapacity', type: 'number', default: 150, group: 'microservice-group' },
{ name: 'scalingStrategy', type: 'string', default: 'auto', group: 'microservice-group' }
]
});