Add missing details views info#5321
Add missing details views info#5321joaquimrocha wants to merge 12 commits intokubernetes-sigs:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joaquimrocha The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I think the snapshots are showing changes that shouldn't be here. Probably the node version differences still. |
177c1bc to
ad9e9f9
Compare
There was a problem hiding this comment.
Pull request overview
This PR expands Kubernetes resource “Details” views to surface additional fields (largely aligned with kubectl describe output) by enriching the frontend k8s object typings and wiring new rows into several details screens.
Changes:
- Extended multiple
Kube*interfaces (e.g., Service, Node, PV, StorageClass, CronJob, Job) to include additional spec/status fields used in details views. - Added new detail rows/sections for resources like StorageClass, PVC/PV, Node, NetworkPolicy, Ingress, HPA, CronJob, StatefulSet, and ServiceAccount.
- Updated many Storybook storyshots to reflect the new/adjusted UI output.
Reviewed changes
Copilot reviewed 212 out of 215 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/lib/k8s/storageClass.ts | Adds StorageClass parameters and mountOptions to support richer StorageClass details. |
| frontend/src/lib/k8s/statefulSet.ts | Adds missing StatefulSet spec fields (e.g., serviceName, podManagementPolicy). |
| frontend/src/lib/k8s/serviceAccount.ts | Adds ServiceAccount imagePullSecrets and automountServiceAccountToken. |
| frontend/src/lib/k8s/service.ts | Refactors Service ports typing and adds additional Service spec fields for details views. |
| frontend/src/lib/k8s/pod.ts | Fixes Pod spec field typings (e.g., priority as number) and adds more pod fields. |
| frontend/src/lib/k8s/persistentVolume.ts | Adds PV spec/status fields and a helper to detect PV source type. |
| frontend/src/lib/k8s/node.ts | Improves Node resource quantity typings and adds a roles helper derived from labels. |
| frontend/src/lib/k8s/networkpolicy.tsx | Normalizes NetworkPolicy typing under spec and updates base object creation. |
| frontend/src/lib/k8s/job.ts | Adds more Job spec/status fields for details. |
| frontend/src/lib/k8s/ingress.ts | Adds Ingress load balancer status typing and an address aggregation helper. |
| frontend/src/lib/k8s/deployment.ts | Adds additional Deployment spec fields for details. |
| frontend/src/lib/k8s/cronJob.ts | Adds more CronJob spec/status fields (e.g., timeZone, history limits, times). |
| frontend/src/i18n/LocaleSelect/snapshots/LocaleSelect.Initial.stories.storyshot | Updated snapshot output. |
| frontend/src/components/workload/Details.tsx | Adds kind-based extra info rows via KIND_EXTRA_INFO. |
| frontend/src/components/verticalPodAutoscaler/snapshots/VPAList.List.stories.storyshot | Updated snapshot output. |
| frontend/src/components/storage/utils.tsx | Makes status label helper tolerate undefined phase. |
| frontend/src/components/storage/snapshots/VolumeList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/storage/snapshots/VolumeDetails.Base.stories.storyshot | Updated snapshot output (new PV fields displayed). |
| frontend/src/components/storage/snapshots/ClassList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/storage/snapshots/ClassDetails.Base.stories.storyshot | Updated snapshot output (new StorageClass fields displayed). |
| frontend/src/components/storage/snapshots/ClaimDetails.Base.stories.storyshot | Updated snapshot output (new PVC fields displayed). |
| frontend/src/components/storage/VolumeDetails.stories.tsx | Fixes PV details story to use PV endpoints/component. |
| frontend/src/components/storage/ClassDetails.tsx | Adds StorageClass extra info rows (provisioner, default, params, mount options, etc.). |
| frontend/src/components/storage/ClaimDetails.tsx | Adds PVC fields (volume link, requested, safer access modes/capacity sourcing). |
| frontend/src/components/statefulset/snapshots/List.WithNotReadyReplicas.stories.storyshot | Updated snapshot output. |
| frontend/src/components/statefulset/snapshots/List.SingleItem.stories.storyshot | Updated snapshot output. |
| frontend/src/components/statefulset/snapshots/List.EmptyList.stories.storyshot | Updated snapshot output. |
| frontend/src/components/statefulset/snapshots/List.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/statefulset/snapshots/Details.WithOnDeleteStrategy.stories.storyshot | Updated snapshot output (service name displayed). |
| frontend/src/components/statefulset/snapshots/Details.WithMultipleContainers.stories.storyshot | Updated snapshot output (service name displayed). |
| frontend/src/components/statefulset/snapshots/Details.WithComplexSelector.stories.storyshot | Updated snapshot output (service name displayed). |
| frontend/src/components/statefulset/snapshots/Details.Default.stories.storyshot | Updated snapshot output (service name displayed). |
| frontend/src/components/statefulset/Details.tsx | Reuses shared workload extra info for StatefulSet details. |
| frontend/src/components/serviceaccount/Details.tsx | Adds imagePullSecrets and automount token details; refactors secret rendering. |
| frontend/src/components/service/snapshots/ServiceList.WithOwnerAnnotation.stories.storyshot | Updated snapshot output. |
| frontend/src/components/service/snapshots/ServiceList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/runtimeClass/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/resourceQuota/snapshots/resourceQuotaList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/resourceMap/sources/definitions/relations.tsx | Updates NetworkPolicy→Pod relation to use normalized spec accessor. |
| frontend/src/components/resourceMap/snapshots/GraphView.BasicExample.stories.storyshot | Updated snapshot output. |
| frontend/src/components/project/snapshots/ProjectCreateFromYaml.WithExistingProjects.stories.storyshot | Updated snapshot output. |
| frontend/src/components/project/snapshots/ProjectCreateFromYaml.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/project/snapshots/NewProjectPopup.WithExistingProjects.stories.storyshot | Updated snapshot output. |
| frontend/src/components/project/snapshots/NewProjectPopup.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/priorityClass/snapshots/priorityClassList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/podDisruptionBudget/snapshots/pdbList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/pod/snapshots/PodDebugTerminal.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/pod/snapshots/CreatePodForm.Empty.stories.storyshot | Updated snapshot output. |
| frontend/src/components/node/snapshots/List.Nodes.stories.storyshot | Updated snapshot output. |
| frontend/src/components/node/Details.tsx | Adds node roles plus capacity/allocatable summaries to details. |
| frontend/src/components/networkpolicy/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/networkpolicy/snapshots/Details.Default.stories.storyshot | Updated snapshot output (policy types displayed). |
| frontend/src/components/networkpolicy/Details.tsx | Uses normalized spec accessors and adds “Policy Types” row. |
| frontend/src/components/namespace/snapshots/NamespaceList.Regular.stories.storyshot | Updated snapshot output. |
| frontend/src/components/limitRange/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/lease/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/job/List.tsx | Makes sorting resilient to undefined parallelism/completions. |
| frontend/src/components/ingress/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/ingress/snapshots/ClassList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/ingress/Details.tsx | Adds Ingress “Address” row sourced from status.loadBalancer.ingress. |
| frontend/src/components/horizontalPodAutoscaler/snapshots/HPAList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/horizontalPodAutoscaler/snapshots/HPADetails.Default.stories.storyshot | Updated snapshot output (last scale time displayed). |
| frontend/src/components/horizontalPodAutoscaler/Details.tsx | Displays HPA “Last Scale Time”. |
| frontend/src/components/globalSearch/snapshots/GlobalSearch.BasicExample.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/ReferenceGrantList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/GatewayList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/GRPCRouteList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/ClassList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/BackendTrafficPolicyList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/gateway/snapshots/BackendTLSPolicyList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/endpoints/snapshots/EndpointList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/endpointSlices/snapshots/EndpointSliceList.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/daemonset/snapshots/List.DaemonSets.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cronjob/snapshots/CronJobDetails.EveryMinute.stories.storyshot | Updated snapshot output (new CronJob fields displayed). |
| frontend/src/components/cronjob/snapshots/CronJobDetails.EveryAst.stories.storyshot | Updated snapshot output (new CronJob fields displayed). |
| frontend/src/components/cronjob/Details.tsx | Adds CronJob fields like time zone, concurrency, history limits, last successful time, active jobs count. |
| frontend/src/components/crd/snapshots/CustomResourceDefinition.List.stories.storyshot | Updated snapshot output. |
| frontend/src/components/configmap/snapshots/List.Items.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalWithCommandOutput.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalWindowsShellNotFound.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalWindowsNodeSelector.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalShellNotFoundTryNext.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalNoDialog.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalInitAndEphemeralContainers.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalDisconnected.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalDefaultNodeSelector.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalConnectionLoading.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalConnectionFailed.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalConnectedAndReady.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Terminal.TerminalAttachEmptyFirstOutput.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.UIDSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.NumberSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.NotFoundMessage.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.NamespaceSelect.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.NamespaceSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.NameSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/SimpleTable.LabelSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/NamespacesAutocomplete.Some.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Dialog.DialogWithFullScreenButton.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Dialog.DialogWithCloseButton.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Dialog.DialogAlreadyInFullScreen.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/Dialog.Dialog.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/ConfirmDialog.ConfirmDialogCancelHidden.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/ConfirmDialog.ConfirmDialog.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/AlertNotification.ErrorOnCheck.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/snapshots/ActionsNotifier.Some.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/TimezoneSelect/snapshots/TimezoneSelect.NoInitialValue.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/TimezoneSelect/snapshots/TimezoneSelect.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.WithGlobalFilter.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.UIDSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.ReflectInURLWithPrefix.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.ReflectInURL.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.NumberSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.NotFoundMessage.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.NamespaceSelect.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.NamespaceSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.NameSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Table/snapshots/Table.LabelSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/ResourceTable.NameSearch.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/EditorDialog.ExtraActions.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/EditorDialog.EditorDialogWithResource.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.TextFields.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.SelectField.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.NamespaceAutocomplete.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.Labels.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.EmptyForm.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/Resource/snapshots/CreateResourceForm.Containers.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/ReleaseNotes/snapshots/UpdatePopup.Show.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/ReleaseNotes/snapshots/ReleaseNotesModal.Show.stories.storyshot | Updated snapshot output. |
| frontend/src/components/common/ReleaseNotes/snapshots/ReleaseNotes.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Overview.Events.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Overview.ErrorState.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Overview.EmptyState.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/ClusterChooserPopup.Scrollbar.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/ClusterChooserPopup.Normal.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/ClusterChooserPopup.NoRecentClusters.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/ClusterChooserPopup.NoClustersButRecent.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Chooser.SingleCluster.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Chooser.Normal.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Chooser.NoClusters.stories.storyshot | Updated snapshot output. |
| frontend/src/components/cluster/snapshots/Chooser.ManyClusters.stories.storyshot | Updated snapshot output. |
| frontend/src/components/authchooser/snapshots/AuthChooser.Testing.stories.storyshot | Updated snapshot output. |
| frontend/src/components/authchooser/snapshots/AuthChooser.HaveClusters.stories.storyshot | Updated snapshot output. |
| frontend/src/components/authchooser/snapshots/AuthChooser.BasicAuthChooser.stories.storyshot | Updated snapshot output. |
| frontend/src/components/authchooser/snapshots/AuthChooser.AuthTypeoidc.stories.storyshot | Updated snapshot output. |
| frontend/src/components/authchooser/snapshots/AuthChooser.AnError.stories.storyshot | Updated snapshot output. |
| frontend/src/components/advancedSearch/snapshots/AdvancedSearch.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/activity/snapshots/Activity.Basic.stories.storyshot | Updated snapshot output. |
| frontend/src/components/account/snapshots/AuthToken.ShowError.stories.storyshot | Updated snapshot output. |
| frontend/src/components/account/snapshots/AuthToken.ShowActions.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/snapshots/VersionDialog.VersionDialog.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/snapshots/Layout.WithClusterRoute.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/snapshots/Layout.MultiCluster.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/snapshots/Layout.ErrorState.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/snapshots/Layout.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ShortcutsSettings.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/SettingsCluster.InvalidCluster.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/PodDebugSettings.Disabled.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/PodDebugSettings.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/NodeShellSettings.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/IconPicker.SelectedPresetIcon.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/IconPicker.DefaultOpen.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/IconPicker.CustomIconModeEnabled.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ColorPicker.PresetSelected.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ColorPicker.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ColorPicker.CustomValidInitial.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ColorPicker.CustomModeInitial.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ColorPicker.CustomInvalidInitial.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/Settings/snapshots/ClusterSelector.Default.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/PluginSettings/snapshots/PluginSettingsDetails.WithoutAutoSave.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/PluginSettings/snapshots/PluginSettingsDetails.WithAutoSave.stories.storyshot | Updated snapshot output. |
| frontend/src/components/App/PluginSettings/snapshots/PluginSettings.MoreItems.stories.storyshot | Updated snapshot output. |
305ea90 to
d0d7b06
Compare
Add NodePort and AppProtocol columns to the Ports table, and surface ClusterIPs, ExternalName, IP Families/Policy, Session Affinity (with ClientIP timeout), External/Internal Traffic Policy, Health Check Node Port, LoadBalancer Class/Source Ranges, and Traffic Distribution in the details metadata. Each row hides itself when the underlying field is unset, so existing ClusterIP services look unchanged. Adds NodePort, LoadBalancer, and ExternalName stories to cover the new code paths.
…elds Surface PriorityClassName, RuntimeClassName, NominatedNodeName, StartTime, TerminationGracePeriodSeconds, status Reason/Message and NodeSelectors in the pod details so users do not have to fall back to kubectl describe to inspect them. Each field hides itself when unset, so the existing common-case layout is unchanged.
Surface TimeZone, ConcurrencyPolicy, SuccessfulJobsHistoryLimit, FailedJobsHistoryLimit, LastSuccessfulTime and active job count in the cron job details so users can review the schedule semantics without falling back to kubectl describe. Each new field hides itself when unset, leaving common-case layouts unchanged.
When the workload Details renders a Job, surface Completions, Parallelism, CompletionMode, Suspend, BackoffLimit, ActiveDeadline, TTL, status pod counts, StartTime, CompletionTime, computed Duration and CompletedIndexes so users can review job progress without falling back to kubectl describe. Each field hides itself when the underlying value is unset, so Deployment/ReplicaSet/StatefulSet/DaemonSet layouts are unchanged.
Add an "Address" row that surfaces the LoadBalancer ingress IPs and hostnames from status.loadBalancer.ingress, matching the Address column shown by kubectl describe and the existing list view. The row hides itself when the LoadBalancer has not been assigned an address.
PVC: surface bound Volume name, Requested capacity (vs allocated Capacity from status), and prefer status.accessModes over spec when available. PV: surface Volume Mode, Claim, Source type, status Reason and Message so users can debug stuck or failed volumes without falling back to kubectl describe. StorageClass: surface Default flag, Allow Volume Expansion, Parameters and Mount Options. Adds parameters/mountOptions accessors to the StorageClass type. Also fixes the PV storybook story which was importing ClaimDetails and using PVC URLs, so its snapshot now exercises the real PV details view.
Surface status.lastScaleTime, which is what kubectl describe shows under "Last Scale Time" and is useful when investigating why an HPA is not scaling. The row hides itself when the HPA has not yet scaled.
Surface spec.policyTypes (Ingress, Egress) so users can quickly tell which traffic directions a policy actually restricts. The row hides itself when policyTypes is empty.
Surface imagePullSecrets and automountServiceAccountToken so users can review which registries the service account can pull from and whether its token is mounted into pods. Also adds a hide guard around the existing Secrets row so it disappears when none are referenced.
Surface the node's roles (derived from node-role.kubernetes.io/<role> labels), the raw status.capacity and status.allocatable resources (cpu/memory/pods/ephemeral-storage), so users can review node sizing without having to inspect the YAML or charts. Each row hides itself when the underlying values are unavailable.
Surface spec.serviceName (linked to the headless Service used for stable DNS) and spec.podManagementPolicy (OrderedReady vs Parallel) so users can review pod ordering semantics without falling back to kubectl describe. The new rows are wired through the shared workload Details (via the kind-keyed extra-info registry) and the standalone StatefulSet Details reuses the same helper, so both paths render identically.
Surface spec.minReadySeconds, spec.progressDeadlineSeconds and spec.revisionHistoryLimit when rendering a Deployment through the shared workload Details, so users can review rollout-tuning knobs that were previously only visible in the YAML. The rows are added through the kind-keyed extra-info registry in workload/extraInfo.tsx and each hides itself when the underlying field is unset.
d0d7b06 to
5e8c6d6
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Summary
This PR adds missing details to different resources' details views. The additional info was based on what kubectl gives.
E.g. the Service details view was not showing the port when a service is a NodePort, except in the list view.
Steps to Test
Verify that the details views are working fine and that they show now similar info to what kubectl describe does, without being too overwhelming.