dashboard-shell-shell 3.0.5-test.6 → 3.0.5-test.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo.css:Zone.Identifier +0 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/demo_index.html:Zone.Identifier +0 -0
- package/assets/icons/iconfont.css +219 -0
- package/assets/icons/iconfont.css:Zone.Identifier +0 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.js:Zone.Identifier +0 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.json:Zone.Identifier +0 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
- package/assets/iconsNew/demo.css +539 -0
- package/assets/iconsNew/demo.css:Zone.Identifier +0 -0
- package/assets/iconsNew/demo_index.html +303 -0
- package/assets/iconsNew/demo_index.html:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.css +43 -0
- package/assets/iconsNew/iconfont.css:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.js +1 -0
- package/assets/iconsNew/iconfont.js:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.json +44 -0
- package/assets/iconsNew/iconfont.json:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.ttf +0 -0
- package/assets/iconsNew/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff +0 -0
- package/assets/iconsNew/iconfont.woff2 +0 -0
- package/assets/iconsNew/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff:Zone.Identifier +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/action.svg +6 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +44 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logo.svg +47 -0
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/images/pl/half-logo.svg +2 -23
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/logo.png +0 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/user.png +0 -0
- package/assets/styles/all.scss +83 -0
- package/assets/styles/app.scss +5 -0
- package/assets/styles/base/_basic.scss +2 -2
- package/assets/styles/base/_helpers.scss +1 -1
- package/assets/styles/base/_mixins.scss +1 -1
- package/assets/styles/base/_typography.scss +2 -1
- package/assets/styles/base/_variables.scss +14 -7
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +44 -26
- package/assets/styles/global/_columns.scss +3 -1
- package/assets/styles/global/_form.scss +46 -13
- package/assets/styles/global/_labeled-input.scss +54 -26
- package/assets/styles/global/_layout.scss +8 -3
- package/assets/styles/global/_select.scss +25 -17
- package/assets/styles/global/_table.scss +7 -1
- package/assets/styles/global/_tooltip.scss +60 -8
- package/assets/styles/themes/_dark.scss +3 -0
- package/assets/styles/themes/_light.scss +69 -46
- package/assets/styles/vendor/vue-select.scss +24 -10
- package/assets/translations/en-us.yaml +92 -4
- package/assets/translations/zh-hans.yaml +668 -206
- package/components/ActionDropdown.vue +2 -1
- package/components/ActionMenu.vue +2 -2
- package/components/ActionMenuShell.vue +2 -0
- package/components/AppModal.vue +46 -5
- package/components/BrandImage.vue +1 -0
- package/components/ButtonDropdown.vue +28 -4
- package/components/ButtonMultiAction.vue +1 -0
- package/components/ClusterIconMenu.vue +2 -2
- package/components/CodeMirror.vue +26 -10
- package/components/ConsumptionGauge.vue +24 -5
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CopyToClipboard.vue +15 -0
- package/components/CruResource.vue +12 -10
- package/components/CruResourceFooter.vue +2 -2
- package/components/DashboardOptions.vue +29 -17
- package/components/DotState.vue +84 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +30 -27
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +5 -4
- package/components/ExplorerMembers.vue +28 -4
- package/components/ExplorerProjectsNamespaces.vue +19 -5
- package/components/GlobalRoleBindings.vue +23 -4
- package/components/GrafanaDashboard.vue +4 -4
- package/components/GrowlManager.vue +3 -1
- package/components/HardwareResourceGauge.vue +39 -3
- package/components/IndentedPanel.vue +4 -10
- package/components/InfoBox.vue +3 -3
- package/components/InputOrDisplay.vue +28 -2
- package/components/LabelValue.vue +20 -1
- package/components/ModalWithCard.vue +12 -3
- package/components/PodSecurityAdmission.vue +2 -2
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +53 -12
- package/components/RelatedResources.vue +3 -0
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +125 -27
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +183 -39
- package/components/ResourceDetail/legacy.vue +47 -29
- package/components/ResourceList/Masthead.vue +222 -54
- package/components/ResourceList/ResourceLoadingIndicator.vue +5 -2
- package/components/ResourceTable.vue +40 -2
- package/components/SideNav.vue +74 -20
- package/components/SingleClusterInfo.vue +2 -1
- package/components/SortableTable/THead.vue +79 -4
- package/components/SortableTable/index.vue +1053 -464
- package/components/SortableTable/paging.js +26 -16
- package/components/SortableTable/selection.js +2 -2
- package/components/Tabbed/Tab.vue +3 -3
- package/components/Tabbed/index.vue +53 -30
- package/components/YamlEditor.vue +0 -1
- package/components/auth/Principal.vue +51 -19
- package/components/auth/RoleDetailEdit.vue +69 -14
- package/components/auth/SelectPrincipal.vue +1 -0
- package/components/breadcrumb/index.vue +119 -0
- package/components/form/ArrayList.vue +177 -152
- package/components/form/ArrayListGrouped.vue +13 -3
- package/components/form/ArrayListSelect.vue +1 -1
- package/components/form/BannerSettings.vue +64 -59
- package/components/form/ChangePassword.vue +5 -5
- package/components/form/ClusterAppearance.vue +4 -3
- package/components/form/ColorInput.vue +32 -8
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +12 -8
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -4
- package/components/form/KeyValue.vue +66 -8
- package/components/form/LabeledSelect.vue +216 -242
- package/components/form/Labels.vue +4 -4
- package/components/form/MatchExpressions.vue +28 -11
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +61 -43
- package/components/form/Members/MembershipEditor.vue +4 -4
- package/components/form/Members/ProjectMembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +62 -22
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/Password.vue +16 -7
- package/components/form/PodAffinity.vue +24 -25
- package/components/form/Probe.vue +15 -11
- package/components/form/ProjectMemberEditor.vue +66 -48
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +26 -23
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +38 -35
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/SecretSelector.vue +24 -23
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +12 -3
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/SimpleSecretSelector.vue +29 -9
- package/components/form/Taints.vue +2 -1
- package/components/form/Tolerations.vue +13 -9
- package/components/form/UnitInput.vue +8 -3
- package/components/form/ValueFromResource.vue +110 -96
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/BadgeStateFormatter.vue +8 -5
- package/components/formatter/LiveDate.vue +3 -3
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Favorite.vue +5 -1
- package/components/nav/Group.vue +139 -99
- package/components/nav/Header.vue +138 -164
- package/components/nav/HeaderPageActionMenu.vue +1 -0
- package/components/nav/NamespaceFilter.vue +34 -36
- package/components/nav/TopLevelMenu.vue +62 -25
- package/components/nav/Type.vue +73 -43
- package/composables/useClickOutside.ts +1 -1
- package/config/menuRouteMap.js +10 -0
- package/config/private-label.js +14 -11
- package/config/product/auth.js +17 -7
- package/config/product/explorer.js +32 -10
- package/config/product/manager.js +28 -17
- package/config/product/settings.js +19 -9
- package/config/product/uiplugins.js +13 -10
- package/config/router/navigation-guards/index.js +61 -3
- package/config/settings.ts +28 -0
- package/config/table-headers.js +3 -2
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/dialog/ForceMachineRemoveDialog.vue +2 -2
- package/dialog/RollbackWorkloadDialog.vue +1 -1
- package/dialog/ScalePoolDownDialog.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/logging-flow/index.vue +1 -2
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +8 -8
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +17 -17
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +7 -7
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +13 -13
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +54 -54
- package/edit/management.cattle.io.user.vue +17 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +50 -26
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +36 -12
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/dingding.vue +32 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/message.vue +52 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/snmp.vue +45 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/work.vue +31 -0
- package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
- package/edit/namespace.vue +1 -2
- package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/token.vue +31 -12
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +22 -18
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
- package/list/management.cattle.io.setting.vue +22 -13
- package/list/management.cattle.io.user.vue +7 -3
- package/list/namespace.vue +3 -0
- package/list/provisioning.cattle.io.cluster.vue +6 -7
- package/mixins/brand.js +17 -0
- package/mixins/create-edit-view/impl.js +10 -0
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/models/workload.js +2 -2
- package/package.json +1 -1
- package/pages/account/index.vue +93 -58
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +216 -51
- package/pages/auth/setup.vue +175 -33
- package/pages/c/_cluster/_product/namespaces.vue +5 -5
- package/pages/c/_cluster/auth/roles/index.vue +83 -8
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/index.vue +2 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
- package/pages/c/_cluster/settings/banners.vue +174 -102
- package/pages/c/_cluster/settings/brand.vue +350 -302
- package/pages/c/_cluster/settings/performance.vue +61 -38
- package/pages/home.vue +119 -37
- package/pages/prefs.vue +27 -25
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/promptRemove/mixin/roleDeletionCheck.js +2 -2
- package/public/index.html +4 -4
- package/rancher-components/BadgeState/BadgeState.vue +38 -55
- package/rancher-components/Banner/Banner.vue +25 -9
- package/rancher-components/Card/Card.vue +7 -8
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +42 -3
- package/rancher-components/Form/Radio/RadioButton.vue +35 -11
- package/rancher-components/Form/Radio/RadioGroup.vue +22 -6
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +41 -4
- package/rancher-components/RcDropdown/RcDropdown.vue +35 -7
- package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +12 -6
- package/rancher-components/RcDropdown/types.ts +1 -0
- package/rancher-components/StringList/StringList.vue +1 -1
- package/scripts/build-pkg.sh +18 -23
- package/scripts/publish-shell.sh +1 -1
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +3 -3
- package/store/i18n.js +6 -2
- package/store/modal.ts +3 -3
- package/store/prefs.js +11 -4
- package/store/type-map.js +30 -2
- package/types/shell/index.d.ts +86 -97
- package/utils/error.js +109 -8
- package/utils/errorTranslate.json +1740 -0
- package/utils/errorTranslateNew.json +39 -0
- package/utils/roleFiltering.js +33 -0
- package/utils/router.js +21 -0
- package/utils/select.js +26 -3
- package/utils/string.js +8 -5
- package/utils/title.ts +1 -1
- package/vue.config.js +1 -1
package/config/table-headers.js
CHANGED
|
@@ -52,6 +52,7 @@ export const NAME = {
|
|
|
52
52
|
getValue: (row) => row.nameDisplay,
|
|
53
53
|
sort: ['nameSort'],
|
|
54
54
|
formatter: 'LinkDetail',
|
|
55
|
+
width: 200,
|
|
55
56
|
canBeVariable: true,
|
|
56
57
|
};
|
|
57
58
|
|
|
@@ -161,7 +162,7 @@ export const NAMESPACE = {
|
|
|
161
162
|
name: 'namespace',
|
|
162
163
|
labelKey: 'tableHeaders.namespace',
|
|
163
164
|
value: 'namespace',
|
|
164
|
-
getValue:
|
|
165
|
+
getValue: row => row && row.namespace && row.namespace,
|
|
165
166
|
sort: 'namespace',
|
|
166
167
|
dashIfEmpty: true,
|
|
167
168
|
};
|
|
@@ -280,7 +281,7 @@ export const NS_SNAPSHOT_QUOTA = {
|
|
|
280
281
|
labelKey: 'harvester.tableHeaders.totalSnapshotQuota',
|
|
281
282
|
value: 'snapshotSizeQuota',
|
|
282
283
|
sort: 'snapshotSizeQuota',
|
|
283
|
-
align: '
|
|
284
|
+
align: 'left',
|
|
284
285
|
formatter: 'Si',
|
|
285
286
|
formatterOpts: {
|
|
286
287
|
opts: {
|
package/detail/node.vue
CHANGED
|
@@ -196,28 +196,7 @@ export default {
|
|
|
196
196
|
v-else
|
|
197
197
|
class="node"
|
|
198
198
|
>
|
|
199
|
-
<div
|
|
200
|
-
<div class="alerts">
|
|
201
|
-
<Alert
|
|
202
|
-
class="mr-10"
|
|
203
|
-
:status="pidPressureStatus"
|
|
204
|
-
:message="t('node.detail.glance.pidPressure')"
|
|
205
|
-
/>
|
|
206
|
-
<Alert
|
|
207
|
-
class="mr-10"
|
|
208
|
-
:status="diskPressureStatus"
|
|
209
|
-
:message="t('node.detail.glance.diskPressure')"
|
|
210
|
-
/>
|
|
211
|
-
<Alert
|
|
212
|
-
class="mr-10"
|
|
213
|
-
:status="memoryPressureStatus"
|
|
214
|
-
:message="t('node.detail.glance.memoryPressure')"
|
|
215
|
-
/>
|
|
216
|
-
<Alert
|
|
217
|
-
:status="kubeletStatus"
|
|
218
|
-
:message="t('node.detail.glance.kubelet')"
|
|
219
|
-
/>
|
|
220
|
-
</div>
|
|
199
|
+
<div style="font-size: 14px;margin-bottom: 32px;">监控数据</div>
|
|
221
200
|
<div class="mt-20 resources">
|
|
222
201
|
<ConsumptionGauge
|
|
223
202
|
:resource-name="t('node.detail.glance.consumptionGauge.cpu')"
|
|
@@ -237,7 +216,24 @@ export default {
|
|
|
237
216
|
:used="value.podConsumed"
|
|
238
217
|
/>
|
|
239
218
|
</div>
|
|
240
|
-
<div class="
|
|
219
|
+
<div class="alerts mt-10">
|
|
220
|
+
<Alert
|
|
221
|
+
:status="pidPressureStatus"
|
|
222
|
+
:message="t('node.detail.glance.pidPressure')"
|
|
223
|
+
/>
|
|
224
|
+
<Alert
|
|
225
|
+
:status="diskPressureStatus"
|
|
226
|
+
:message="t('node.detail.glance.diskPressure')"
|
|
227
|
+
/>
|
|
228
|
+
<Alert
|
|
229
|
+
:status="memoryPressureStatus"
|
|
230
|
+
:message="t('node.detail.glance.memoryPressure')"
|
|
231
|
+
/>
|
|
232
|
+
<Alert
|
|
233
|
+
:status="kubeletStatus"
|
|
234
|
+
:message="t('node.detail.glance.kubelet')"
|
|
235
|
+
/>
|
|
236
|
+
</div>
|
|
241
237
|
<ResourceTabs
|
|
242
238
|
:value="value"
|
|
243
239
|
:mode="mode"
|
|
@@ -331,4 +327,13 @@ export default {
|
|
|
331
327
|
width: 30%;
|
|
332
328
|
}
|
|
333
329
|
}
|
|
330
|
+
.alerts{
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-wrap: wrap;
|
|
333
|
+
justify-content: space-between;
|
|
334
|
+
>div{
|
|
335
|
+
width: 30%;
|
|
336
|
+
margin-bottom: 10px;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
334
339
|
</style>
|
|
@@ -236,7 +236,7 @@ export default {
|
|
|
236
236
|
<div class="badge-preview-header">
|
|
237
237
|
<p> {{ t('clusterBadge.modal.previewHeader') }}</p>
|
|
238
238
|
<div
|
|
239
|
-
class="
|
|
239
|
+
class="span-12"
|
|
240
240
|
>
|
|
241
241
|
<ClusterProviderIcon
|
|
242
242
|
:cluster="{...previewCluster, badge: displayClusterPrevIcon}"
|
|
@@ -340,7 +340,7 @@ export default {
|
|
|
340
340
|
display: flex;
|
|
341
341
|
width: 100%;
|
|
342
342
|
gap: 40px;
|
|
343
|
-
padding: 10px 5px;
|
|
343
|
+
// padding: 10px 5px;
|
|
344
344
|
margin-bottom: 30px;
|
|
345
345
|
margin-top: 5px;
|
|
346
346
|
background: var(--body-bg);
|
|
@@ -424,26 +424,34 @@ export default {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.badge-customisation {
|
|
427
|
-
display: flex;
|
|
428
|
-
gap: 10px;
|
|
427
|
+
// display: flex;
|
|
428
|
+
// gap: 10px;
|
|
429
429
|
|
|
430
|
-
div {
|
|
430
|
+
>div {
|
|
431
431
|
display: flex;
|
|
432
|
+
// align-items: flex-end;
|
|
433
|
+
margin-bottom: 30px;
|
|
432
434
|
flex-direction: column;
|
|
433
|
-
flex: 1;
|
|
434
|
-
gap: 10px;
|
|
435
|
+
// flex: 1;
|
|
436
|
+
// gap: 10px;
|
|
435
437
|
|
|
436
438
|
.color-input {
|
|
437
439
|
display: flex;
|
|
438
440
|
padding: 6px 10px;
|
|
439
441
|
min-height: 61px;
|
|
440
442
|
}
|
|
443
|
+
|
|
444
|
+
.checkbox-outer-container{
|
|
445
|
+
min-width: 160px;
|
|
446
|
+
margin-bottom: 10px;
|
|
447
|
+
// align-items: flex-start;
|
|
448
|
+
}
|
|
441
449
|
}
|
|
442
450
|
|
|
443
451
|
&-color {
|
|
444
452
|
display: flex;
|
|
445
|
-
flex-direction: column;
|
|
446
|
-
gap: 10px;
|
|
453
|
+
// flex-direction: column;
|
|
454
|
+
// gap: 10px;
|
|
447
455
|
}
|
|
448
456
|
}
|
|
449
457
|
|
|
@@ -49,8 +49,8 @@ export default {
|
|
|
49
49
|
|
|
50
50
|
<template>
|
|
51
51
|
<div>
|
|
52
|
-
<div class="row
|
|
53
|
-
<div class="
|
|
52
|
+
<div class="row">
|
|
53
|
+
<div class="span-12">
|
|
54
54
|
<ArrayListGrouped
|
|
55
55
|
v-model:value="value.spec.behavior[type].policies"
|
|
56
56
|
:add-label="t('hpa.scalingRule.addPolicy')"
|
|
@@ -59,7 +59,7 @@ export default {
|
|
|
59
59
|
>
|
|
60
60
|
<template #default="props">
|
|
61
61
|
<div class="row">
|
|
62
|
-
<div class="col
|
|
62
|
+
<div class="col">
|
|
63
63
|
<LabeledSelect
|
|
64
64
|
v-model:value="props.row.value.type"
|
|
65
65
|
:mode="mode"
|
|
@@ -72,7 +72,9 @@ export default {
|
|
|
72
72
|
:label="t('hpa.scalingRule.policy.type')"
|
|
73
73
|
/>
|
|
74
74
|
</div>
|
|
75
|
-
|
|
75
|
+
</div>
|
|
76
|
+
<div class="row">
|
|
77
|
+
<div class="col">
|
|
76
78
|
<LabeledInput
|
|
77
79
|
v-model:value.number="props.row.value.value"
|
|
78
80
|
:mode="mode"
|
|
@@ -83,7 +85,9 @@ export default {
|
|
|
83
85
|
:label="t('hpa.scalingRule.policy.value')"
|
|
84
86
|
/>
|
|
85
87
|
</div>
|
|
86
|
-
|
|
88
|
+
</div>
|
|
89
|
+
<div class="row">
|
|
90
|
+
<div class="col">
|
|
87
91
|
<LabeledInput
|
|
88
92
|
v-model:value.number="props.row.value.periodSeconds"
|
|
89
93
|
:mode="mode"
|
|
@@ -125,6 +129,5 @@ export default {
|
|
|
125
129
|
/>
|
|
126
130
|
</div>
|
|
127
131
|
</div>
|
|
128
|
-
<div class="row mb-40" />
|
|
129
132
|
</div>
|
|
130
133
|
</template>
|
|
@@ -215,7 +215,7 @@ export default {
|
|
|
215
215
|
:label="t('hpa.tabs.target')"
|
|
216
216
|
:weight="10"
|
|
217
217
|
>
|
|
218
|
-
<div class="row
|
|
218
|
+
<div class="row">
|
|
219
219
|
<div class="col span-6">
|
|
220
220
|
<LabeledSelect
|
|
221
221
|
v-model:value="value.spec.scaleTargetRef"
|
|
@@ -242,6 +242,8 @@ export default {
|
|
|
242
242
|
type="number"
|
|
243
243
|
/>
|
|
244
244
|
</div>
|
|
245
|
+
</div>
|
|
246
|
+
<div class="row">
|
|
245
247
|
<div class="col span-6">
|
|
246
248
|
<LabeledInput
|
|
247
249
|
v-model:value.number="value.spec.maxReplicas"
|
|
@@ -21,9 +21,9 @@ export default {
|
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
<template>
|
|
24
|
-
<div class="
|
|
25
|
-
<div class="row
|
|
26
|
-
<div class="col
|
|
24
|
+
<div class="span-12">
|
|
25
|
+
<div class="row">
|
|
26
|
+
<div class="col">
|
|
27
27
|
<LabeledInput
|
|
28
28
|
v-model:value="value.apiVersion"
|
|
29
29
|
:mode="mode"
|
|
@@ -33,7 +33,9 @@ export default {
|
|
|
33
33
|
type="text"
|
|
34
34
|
/>
|
|
35
35
|
</div>
|
|
36
|
-
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<div class="col">
|
|
37
39
|
<LabeledInput
|
|
38
40
|
v-model:value="value.kind"
|
|
39
41
|
:mode="mode"
|
|
@@ -45,7 +47,7 @@ export default {
|
|
|
45
47
|
</div>
|
|
46
48
|
</div>
|
|
47
49
|
<div class="row">
|
|
48
|
-
<div class="col
|
|
50
|
+
<div class="col">
|
|
49
51
|
<LabeledInput
|
|
50
52
|
v-model:value="value.name"
|
|
51
53
|
:mode="mode"
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
149
149
|
<template>
|
|
150
150
|
<div class="metric-target">
|
|
151
151
|
<div class="row">
|
|
152
|
-
<div class="col
|
|
152
|
+
<div class="col">
|
|
153
153
|
<LabeledSelect
|
|
154
154
|
v-model:value="value.type"
|
|
155
155
|
:mode="mode"
|
|
@@ -157,9 +157,11 @@ export default {
|
|
|
157
157
|
:options="targetTypes"
|
|
158
158
|
/>
|
|
159
159
|
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="row">
|
|
160
162
|
<div
|
|
161
163
|
v-if="isResourceMetricType"
|
|
162
|
-
class="col
|
|
164
|
+
class="col"
|
|
163
165
|
>
|
|
164
166
|
<UnitInput
|
|
165
167
|
v-if="value.type === 'Utilization'"
|
|
@@ -197,7 +199,7 @@ export default {
|
|
|
197
199
|
</div>
|
|
198
200
|
<div
|
|
199
201
|
v-else
|
|
200
|
-
class="col
|
|
202
|
+
class="col"
|
|
201
203
|
>
|
|
202
204
|
<LabeledInput
|
|
203
205
|
v-model:value="quantity"
|
|
@@ -159,8 +159,8 @@ export default {
|
|
|
159
159
|
:label="t('hpa.warnings.resource')"
|
|
160
160
|
color="warning"
|
|
161
161
|
/>
|
|
162
|
-
<div class="row
|
|
163
|
-
<div class="col
|
|
162
|
+
<div class="row">
|
|
163
|
+
<div class="col">
|
|
164
164
|
<LabeledSelect
|
|
165
165
|
v-model:value="value.type"
|
|
166
166
|
:reduce="(val) => val.label"
|
|
@@ -48,14 +48,14 @@ export default {
|
|
|
48
48
|
|
|
49
49
|
<template>
|
|
50
50
|
<div>
|
|
51
|
-
<div class="row
|
|
51
|
+
<div class="row">
|
|
52
52
|
<MetricTarget
|
|
53
53
|
v-model:value="value.target"
|
|
54
54
|
:mode="mode"
|
|
55
55
|
metric-resource="object"
|
|
56
56
|
/>
|
|
57
57
|
</div>
|
|
58
|
-
<div class="row
|
|
58
|
+
<div class="row">
|
|
59
59
|
<MetricObjectReference
|
|
60
60
|
v-model:value="value.describedObject"
|
|
61
61
|
:mode="mode"
|
package/edit/configmap.vue
CHANGED
|
@@ -418,10 +418,9 @@ export default {
|
|
|
418
418
|
class="mt-0"
|
|
419
419
|
:label="t('logging.flow.matches.banner')"
|
|
420
420
|
/>
|
|
421
|
-
<div v-if="isHarvester">
|
|
421
|
+
<div class="mb-20" v-if="isHarvester">
|
|
422
422
|
<LabeledSelect
|
|
423
423
|
v-model:value="loggingType"
|
|
424
|
-
class="mb-20"
|
|
425
424
|
:options="flowTypeOptions"
|
|
426
425
|
:mode="mode"
|
|
427
426
|
:disabled="!isCreate"
|
|
@@ -50,8 +50,8 @@ export default {
|
|
|
50
50
|
<h3>{{ t('logging.output.sections.access') }}</h3>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
|
-
<div
|
|
54
|
-
<div
|
|
53
|
+
<div>
|
|
54
|
+
<div>
|
|
55
55
|
<SecretSelector
|
|
56
56
|
v-model:value="value.endpoint.access_key_id"
|
|
57
57
|
:mode="mode"
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
:show-key-selector="true"
|
|
62
62
|
/>
|
|
63
63
|
</div>
|
|
64
|
-
<div
|
|
64
|
+
<div>
|
|
65
65
|
<SecretSelector
|
|
66
66
|
v-model:value="value.endpoint.secret_access_key"
|
|
67
67
|
:mode="mode"
|
|
@@ -34,31 +34,31 @@ export default {
|
|
|
34
34
|
<h3>{{ t('logging.output.sections.target') }}</h3>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="row
|
|
37
|
+
<div class="row">
|
|
38
38
|
<div class="col span-6">
|
|
39
|
-
<LabeledInput
|
|
40
|
-
v-model:value="value.azure_container"
|
|
41
|
-
:mode="mode"
|
|
42
|
-
:disabled="disabled"
|
|
43
|
-
:label="t('logging.azurestorage.container')"
|
|
39
|
+
<LabeledInput
|
|
40
|
+
v-model:value="value.azure_container"
|
|
41
|
+
:mode="mode"
|
|
42
|
+
:disabled="disabled"
|
|
43
|
+
:label="t('logging.azurestorage.container')"
|
|
44
44
|
/>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="col span-6">
|
|
47
|
-
<LabeledInput
|
|
48
|
-
v-model:value="value.path"
|
|
49
|
-
:mode="mode"
|
|
50
|
-
:disabled="disabled"
|
|
51
|
-
:label="t('logging.azurestorage.path')"
|
|
47
|
+
<LabeledInput
|
|
48
|
+
v-model:value="value.path"
|
|
49
|
+
:mode="mode"
|
|
50
|
+
:disabled="disabled"
|
|
51
|
+
:label="t('logging.azurestorage.path')"
|
|
52
52
|
/>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="row">
|
|
56
56
|
<div class="col span-6">
|
|
57
|
-
<LabeledInput
|
|
58
|
-
v-model:value="value.store_as"
|
|
59
|
-
:mode="mode"
|
|
60
|
-
:disabled="disabled"
|
|
61
|
-
:label="t('logging.azurestorage.storeAs')"
|
|
57
|
+
<LabeledInput
|
|
58
|
+
v-model:value="value.store_as"
|
|
59
|
+
:mode="mode"
|
|
60
|
+
:disabled="disabled"
|
|
61
|
+
:label="t('logging.azurestorage.storeAs')"
|
|
62
62
|
/>
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
@@ -68,8 +68,8 @@ export default {
|
|
|
68
68
|
<h3>{{ t('logging.output.sections.access') }}</h3>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
|
-
<div
|
|
72
|
-
<div
|
|
71
|
+
<div>
|
|
72
|
+
<div>
|
|
73
73
|
<SecretSelector
|
|
74
74
|
v-model:value="value.azure_storage_account"
|
|
75
75
|
:mode="mode"
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
:show-key-selector="true"
|
|
80
80
|
/>
|
|
81
81
|
</div>
|
|
82
|
-
<div
|
|
82
|
+
<div>
|
|
83
83
|
<SecretSelector
|
|
84
84
|
v-model:value="value.azure_storage_access_key"
|
|
85
85
|
:mode="mode"
|
|
@@ -36,19 +36,19 @@ export default {
|
|
|
36
36
|
</div>
|
|
37
37
|
<div class="row">
|
|
38
38
|
<div class="col span-6">
|
|
39
|
-
<LabeledInput
|
|
40
|
-
v-model:value="value.region"
|
|
41
|
-
:mode="mode"
|
|
42
|
-
:disabled="disabled"
|
|
43
|
-
:label="t('logging.cloudwatch.region')"
|
|
39
|
+
<LabeledInput
|
|
40
|
+
v-model:value="value.region"
|
|
41
|
+
:mode="mode"
|
|
42
|
+
:disabled="disabled"
|
|
43
|
+
:label="t('logging.cloudwatch.region')"
|
|
44
44
|
/>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="col span-6">
|
|
47
|
-
<LabeledInput
|
|
48
|
-
v-model:value="value.endpoint"
|
|
49
|
-
:mode="mode"
|
|
50
|
-
:disabled="disabled"
|
|
51
|
-
:label="t('logging.cloudwatch.endpoint')"
|
|
47
|
+
<LabeledInput
|
|
48
|
+
v-model:value="value.endpoint"
|
|
49
|
+
:mode="mode"
|
|
50
|
+
:disabled="disabled"
|
|
51
|
+
:label="t('logging.cloudwatch.endpoint')"
|
|
52
52
|
/>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -57,8 +57,8 @@ export default {
|
|
|
57
57
|
<h3>{{ t('logging.output.sections.access') }}</h3>
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
60
|
-
<div
|
|
61
|
-
<div
|
|
60
|
+
<div>
|
|
61
|
+
<div>
|
|
62
62
|
<SecretSelector
|
|
63
63
|
v-model:value="value.aws_key_id"
|
|
64
64
|
:mode="mode"
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
:show-key-selector="true"
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
71
|
-
<div
|
|
71
|
+
<div>
|
|
72
72
|
<SecretSelector
|
|
73
73
|
v-model:value="value.aws_sec_key"
|
|
74
74
|
:mode="mode"
|
|
@@ -86,19 +86,19 @@ export default {
|
|
|
86
86
|
</div>
|
|
87
87
|
<div class="row">
|
|
88
88
|
<div class="col span-6">
|
|
89
|
-
<LabeledInput
|
|
90
|
-
v-model:value="value.log_group_name"
|
|
91
|
-
:mode="mode"
|
|
92
|
-
:disabled="disabled"
|
|
93
|
-
:label="t('logging.cloudwatch.logGroupName')"
|
|
89
|
+
<LabeledInput
|
|
90
|
+
v-model:value="value.log_group_name"
|
|
91
|
+
:mode="mode"
|
|
92
|
+
:disabled="disabled"
|
|
93
|
+
:label="t('logging.cloudwatch.logGroupName')"
|
|
94
94
|
/>
|
|
95
95
|
</div>
|
|
96
96
|
<div class="col span-6">
|
|
97
|
-
<LabeledInput
|
|
98
|
-
v-model:value="value.log_stream_name"
|
|
99
|
-
:mode="mode"
|
|
100
|
-
:disabled="disabled"
|
|
101
|
-
:label="t('logging.cloudwatch.logStreamName')"
|
|
97
|
+
<LabeledInput
|
|
98
|
+
v-model:value="value.log_stream_name"
|
|
99
|
+
:mode="mode"
|
|
100
|
+
:disabled="disabled"
|
|
101
|
+
:label="t('logging.cloudwatch.logStreamName')"
|
|
102
102
|
/>
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
@@ -39,11 +39,11 @@ export default {
|
|
|
39
39
|
</div>
|
|
40
40
|
<div class="row">
|
|
41
41
|
<div class="col span-6">
|
|
42
|
-
<LabeledInput
|
|
43
|
-
v-model:value="value.host"
|
|
44
|
-
:mode="mode"
|
|
45
|
-
:disabled="disabled"
|
|
46
|
-
:label="t('logging.datadog.host')"
|
|
42
|
+
<LabeledInput
|
|
43
|
+
v-model:value="value.host"
|
|
44
|
+
:mode="mode"
|
|
45
|
+
:disabled="disabled"
|
|
46
|
+
:label="t('logging.datadog.host')"
|
|
47
47
|
/>
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
@@ -53,8 +53,8 @@ export default {
|
|
|
53
53
|
<h3>{{ t('logging.output.sections.access') }}</h3>
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
56
|
-
<div
|
|
57
|
-
<div
|
|
56
|
+
<div>
|
|
57
|
+
<div>
|
|
58
58
|
<SecretSelector
|
|
59
59
|
v-model:value="value.api_key"
|
|
60
60
|
:mode="mode"
|
|
@@ -71,23 +71,23 @@ export default {
|
|
|
71
71
|
<h3>{{ t('logging.output.sections.certificate') }}</h3>
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
|
-
<div class="row
|
|
74
|
+
<div class="row">
|
|
75
75
|
<div class="col span-6">
|
|
76
|
-
<Checkbox
|
|
77
|
-
v-model:value="value.use_ssl"
|
|
78
|
-
:mode="mode"
|
|
79
|
-
:disabled="disabled"
|
|
80
|
-
:label="t('logging.datadog.useSSL')"
|
|
76
|
+
<Checkbox
|
|
77
|
+
v-model:value="value.use_ssl"
|
|
78
|
+
:mode="mode"
|
|
79
|
+
:disabled="disabled"
|
|
80
|
+
:label="t('logging.datadog.useSSL')"
|
|
81
81
|
/>
|
|
82
82
|
</div>
|
|
83
83
|
</div>
|
|
84
|
-
<div class="row
|
|
84
|
+
<div class="row">
|
|
85
85
|
<div class="col span-6">
|
|
86
|
-
<Checkbox
|
|
87
|
-
v-model:value="value.use_compression"
|
|
88
|
-
:mode="mode"
|
|
89
|
-
:disabled="disabled"
|
|
90
|
-
:label="t('logging.datadog.useCompression')"
|
|
86
|
+
<Checkbox
|
|
87
|
+
v-model:value="value.use_compression"
|
|
88
|
+
:mode="mode"
|
|
89
|
+
:disabled="disabled"
|
|
90
|
+
:label="t('logging.datadog.useCompression')"
|
|
91
91
|
/>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|