Skip to main content

3. Resource Management

SNB​

Resources can be viewed from various perspectives:

  1. Node Tab
    • Displays a tree structure of the registered clusters and the nodes in each cluster.
    • The number at the end of a node name represents the number of pods running on that node.
    • Node load levels are indicated by text color.
  2. Namespace Tab
    • Displays resources organized by cluster and namespace, focusing on major resource types within each namespace.
  3. Resource Tab
    • Displays resource lists centered around Kubernetes resource types.

Refresh​

Refreshes resources while maintaining the currently selected filters and queries. The resource type currently being viewed is also displayed.

Filter​

Filters resources by selecting clusters, nodes, and namespaces.

Pager​

Controls the number of items displayed per page in the table view. Adjustable between 10–50 items per page.

Query Filter and Actions​

Search for resources by entering keywords in the format fieldName:keyword. Filters can include operators for size, date, or CIDR depending on the field type.

Quick Search Filter (Node, Pod only)​

Save frequently used or complex queries under a custom name for reuse. Selecting a saved query immediately applies it.

Creating a Quick Search Filter​

Create a Quick Search Filter to find cases where CPU/Memory requests/limits exceed 80%.

  • Name: Set the filter's name.
    • Example: High CPU Memory
  • Query: Specify the query to apply.
    • Example: (cpuRequests:>80|memoryRequests:>80)|(cpuLimits:>80|memoryLimits:>80)
  • Description: Provide details about the filter.
    • Example: Up to 80% CPU/Memory usage.

Performing Actions​

Actions can be executed on resources. Multi-select resources with checkboxes to apply actions in bulk.

ActionDescriptionTarget
DeleteDeletes the resourceAll
LabelAdds/updates a labelAll
SetImageUpdates the container imagePod, Deployment, StatefulSet, DaemonSet
ScaleAdjusts workload replicasDeployment, StatefulSet, DaemonSet
ExpandExpands resource capacity (e.g., storage)PersistentVolumeClaim
TriggerManually triggers an actionCronJob
ScheduleSets the scheduled time for a CronJobCronJob
Cordon/UncordonEnables/disables resource scheduling on a nodeNode
DrainMoves all pods on a node to other nodesNode
TaintAdds a taint to a node to limit pod schedulingNode

Creating a New Resource​

New resources can be created from the resource list screen using the β€˜New+’ button.

  • Select a Cluster for deployment.
  • Use the YAML Editor to define the resource in YAML format and deploy.

Resource View​

Clicking a resource name on the right sidebar in the table opens a panel on the right with detailed information and actionable buttons.

  1. Title Section: Displays the resource name, location (namespace, node, cluster), and status.
  2. Action Area: Includes buttons for modifying or deleting the resource.
  3. Content Area: Provides resource details, with additional icons for more specific information (e.g., Pod resources).

Detailed View​

The detailed view provides in-depth information about Pod resources only.

Overview Tab​

  1. Title Area: Displays the selected resource name and navigation to return to the previous screen.
  2. Tabs Area: Categorizes Pod details.
  3. Action Buttons: Provides actions applicable to the resource.
  4. Content Area: Displays the contents of the selected tab.

Resource Tab​

Lists related resources and allows simple actions.

Monitoring Tab​

Displays the metrics for the selected Pod.

Terminal Tab​

If the container image includes a shell, it provides access to the Pod's shell terminal.

Log Tab​

Displays the Pod's logs.