Commit 86509ce3 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'cluster-list-show-cpu' into 'master'

Show cpu on clusters list

See merge request gitlab-org/gitlab!26783
parents e8f231fb d392051c
...@@ -27,6 +27,10 @@ export default { ...@@ -27,6 +27,10 @@ export default {
key: 'size', key: 'size',
label: __('Size'), label: __('Size'),
}, },
{
key: 'cpu',
label: __('Total cores (vCPUs)'),
},
{ {
key: 'memory', key: 'memory',
label: __('Total memory (GB)'), label: __('Total memory (GB)'),
......
...@@ -20864,6 +20864,9 @@ msgstr "" ...@@ -20864,6 +20864,9 @@ msgstr ""
msgid "Total artifacts size: %{total_size}" msgid "Total artifacts size: %{total_size}"
msgstr "" msgstr ""
msgid "Total cores (vCPUs)"
msgstr ""
msgid "Total issues" msgid "Total issues"
msgstr "" msgstr ""
......
...@@ -5,6 +5,7 @@ export default [ ...@@ -5,6 +5,7 @@ export default [
size: '3', size: '3',
clusterType: 'group_type', clusterType: 'group_type',
status: 'disabled', status: 'disabled',
cpu: '6 (100% free)',
memory: '22.50 (30% free)', memory: '22.50 (30% free)',
}, },
{ {
...@@ -13,6 +14,7 @@ export default [ ...@@ -13,6 +14,7 @@ export default [
size: '12', size: '12',
clusterType: 'project_type', clusterType: 'project_type',
status: 'unreachable', status: 'unreachable',
cpu: '3 (50% free)',
memory: '11 (60% free)', memory: '11 (60% free)',
}, },
{ {
...@@ -21,6 +23,7 @@ export default [ ...@@ -21,6 +23,7 @@ export default [
size: '12', size: '12',
clusterType: 'project_type', clusterType: 'project_type',
status: 'authentication_failure', status: 'authentication_failure',
cpu: '1 (0% free)',
memory: '22 (33% free)', memory: '22 (33% free)',
}, },
{ {
...@@ -29,6 +32,7 @@ export default [ ...@@ -29,6 +32,7 @@ export default [
size: '12', size: '12',
clusterType: 'project_type', clusterType: 'project_type',
status: 'deleting', status: 'deleting',
cpu: '6 (100% free)',
memory: '45 (15% free)', memory: '45 (15% free)',
}, },
{ {
...@@ -37,6 +41,7 @@ export default [ ...@@ -37,6 +41,7 @@ export default [
size: '12', size: '12',
clusterType: 'project_type', clusterType: 'project_type',
status: 'connected', status: 'connected',
cpu: '6 (100% free)',
memory: '20.12 (35% free)', memory: '20.12 (35% free)',
}, },
]; ];
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment