2020-05-12 05:09:31 -04:00
|
|
|
export const clusterList = [
|
2020-03-09 05:07:45 -04:00
|
|
|
{
|
|
|
|
name: 'My Cluster 1',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: '*',
|
|
|
|
cluster_type: 'group_type',
|
2020-06-10 14:09:15 -04:00
|
|
|
provider_type: 'gcp',
|
2020-06-08 20:08:47 -04:00
|
|
|
status: 'creating',
|
2020-05-27 11:08:11 -04:00
|
|
|
nodes: null,
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {
|
|
|
|
connection_error: 'authentication_error',
|
|
|
|
node_connection_error: 'connection_error',
|
|
|
|
metrics_connection_error: 'http_error',
|
|
|
|
},
|
2020-03-09 05:07:45 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'My Cluster 2',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: 'development',
|
|
|
|
cluster_type: 'project_type',
|
2020-06-10 14:09:15 -04:00
|
|
|
provider_type: 'aws',
|
2020-03-09 05:07:45 -04:00
|
|
|
status: 'unreachable',
|
2020-06-09 17:08:21 -04:00
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
status: { allocatable: { cpu: '1930m', memory: '5777156Ki' } },
|
|
|
|
usage: { cpu: '246155922n', memory: '1255212Ki' },
|
|
|
|
},
|
|
|
|
],
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {},
|
2020-03-09 05:07:45 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'My Cluster 3',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: 'development',
|
|
|
|
cluster_type: 'project_type',
|
2020-06-10 14:09:15 -04:00
|
|
|
provider_type: 'none',
|
2020-03-09 05:07:45 -04:00
|
|
|
status: 'authentication_failure',
|
2020-05-27 11:08:11 -04:00
|
|
|
nodes: [
|
2020-06-09 17:08:21 -04:00
|
|
|
{
|
|
|
|
status: { allocatable: { cpu: '1930m', memory: '5777156Ki' } },
|
|
|
|
usage: { cpu: '246155922n', memory: '1255212Ki' },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
status: { allocatable: { cpu: '1940m', memory: '6777156Ki' } },
|
|
|
|
usage: { cpu: '307051934n', memory: '1379136Ki' },
|
|
|
|
},
|
2020-05-27 11:08:11 -04:00
|
|
|
],
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {},
|
2020-03-09 05:07:45 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'My Cluster 4',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: 'production',
|
|
|
|
cluster_type: 'project_type',
|
2020-03-09 05:07:45 -04:00
|
|
|
status: 'deleting',
|
2020-06-09 17:08:21 -04:00
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
status: { allocatable: { cpu: '1missingCpuUnit', memory: '1missingMemoryUnit' } },
|
|
|
|
usage: { cpu: '1missingCpuUnit', memory: '1missingMemoryUnit' },
|
|
|
|
},
|
|
|
|
],
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {},
|
2020-03-09 05:07:45 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'My Cluster 5',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: 'development',
|
|
|
|
cluster_type: 'project_type',
|
2020-05-12 05:09:31 -04:00
|
|
|
status: 'created',
|
2020-06-09 17:08:21 -04:00
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
status: { allocatable: { cpu: '1missingCpuUnit', memory: '1missingMemoryUnit' } },
|
|
|
|
},
|
|
|
|
],
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {},
|
2020-05-12 05:09:31 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'My Cluster 6',
|
2020-05-27 11:08:11 -04:00
|
|
|
environment_scope: '*',
|
|
|
|
cluster_type: 'project_type',
|
2020-05-12 05:09:31 -04:00
|
|
|
status: 'cleanup_ongoing',
|
2020-09-18 17:10:11 -04:00
|
|
|
kubernetes_errors: {},
|
2020-03-09 05:07:45 -04:00
|
|
|
},
|
|
|
|
];
|
2020-05-12 05:09:31 -04:00
|
|
|
|
|
|
|
export const apiData = {
|
|
|
|
clusters: clusterList,
|
|
|
|
has_ancestor_clusters: false,
|
|
|
|
};
|