mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
ui: revert default mirage scenario to topoMedium and set product links in all scenarios (#11649)
This commit is contained in:
@@ -25,8 +25,7 @@ module.exports = function(environment) {
|
||||
|
||||
APP: {
|
||||
blockingQueries: true,
|
||||
// TODO: revert before merging to main.
|
||||
mirageScenario: 'sysbatchSmall', // convert to 'sysbatchSmall' when working on feature
|
||||
mirageScenario: 'topoMedium',
|
||||
mirageWithNamespaces: false,
|
||||
mirageWithTokens: true,
|
||||
mirageWithRegions: true,
|
||||
|
||||
@@ -60,7 +60,7 @@ function smallCluster(server) {
|
||||
}
|
||||
|
||||
function mediumCluster(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
server.createList('node', 50);
|
||||
server.createList('job', 25);
|
||||
}
|
||||
@@ -79,7 +79,7 @@ function massiveCluster(server) {
|
||||
}
|
||||
|
||||
function allJobTypes(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
server.createList('node', 5);
|
||||
|
||||
server.create('job', { type: 'service' });
|
||||
@@ -93,7 +93,7 @@ function allJobTypes(server) {
|
||||
}
|
||||
|
||||
function allNodeTypes(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
|
||||
server.create('node');
|
||||
server.create('node', 'forceIPv4');
|
||||
@@ -106,7 +106,7 @@ function allNodeTypes(server) {
|
||||
}
|
||||
|
||||
function everyFeature(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
|
||||
server.create('node', 'forceIPv4');
|
||||
server.create('node', 'draining');
|
||||
|
||||
@@ -7,7 +7,8 @@ export function sysbatchLarge(server) {
|
||||
}
|
||||
|
||||
function sysbatchScenario(server, clientCount) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
|
||||
const clients = server.createList('node', clientCount, {
|
||||
datacenter: 'dc1',
|
||||
status: 'ready',
|
||||
|
||||
@@ -10,7 +10,7 @@ const genResources = (CPU, Memory) => ({
|
||||
});
|
||||
|
||||
export function topoSmall(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
server.createList('node', 12, {
|
||||
datacenter: 'dc1',
|
||||
status: 'ready',
|
||||
@@ -46,7 +46,7 @@ export function topoSmall(server) {
|
||||
}
|
||||
|
||||
export function topoMedium(server) {
|
||||
server.createList('agent', 3);
|
||||
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
|
||||
server.createList('node', 10, {
|
||||
datacenter: 'us-west-1',
|
||||
status: 'ready',
|
||||
|
||||
Reference in New Issue
Block a user