Kubernetes Resource Management (Cluster Admin)

Print

ZCP v1.1 Update Features

ZCP Console provides the ability to view/modify Kubernetes resources by type.

Resource Overview

Resources are infrastructure/function specifications (Specs) defined in Kubernetes, and Kubernetes manages the infrastructure to satisfy the resource conditions registered by the user.


Resources are grouped into Workloads, Network, Storage/Config, etc. according to their type, and detailed information about each resource. Please refer to the official documentation.


아래는 ZCP Console 에서 확인 가능한 리소스의 목록입니다.

메뉴하위 메뉴비고
App



DeploymentDaemonSet, ReplicaSet can be viewed


StatefulSet
CronJob
Job
Pod
Network

Service


Ingress
NetworkPolicy
Resource

ConfigMap

Others

  • Event
  • Node, Namespace
  • PV (PersistentVolume), StorageClass
  • ClusterRole, ClusterRoleBinding,
    Role, RoleBinding, ServiceAccount
Secret
Others
Storage

PVC
(PersistentVolumeClaim)


Resource Lookup

ZCP v1.1 update features

You can view a list of resources existing in the selected namespace.

Only resource types in the same group can be viewed in each resource group menu.

The method of viewing is the same regardless of the resource type.

Select resource type

Here's how to choose the type of resource:

  1. In the menu
    1. Select the resource group you want to view. (App, Network, Resource, Storage)

      Select the resource type shown below.

      The converted screen will display a list of resources.

  2. From the list
    1. Clicking Kind in the upper left will show you the resource types you can change (within the same group). 
    2. When you select a resource type, the screen will refresh.

Search and refresh resources

The list of resources can be searched via the Search field. All fields that appear in the list are searchable.

Clicking the (Refresh) button to the right of the Kind field will refresh the list based on the current search conditions.

Resource Actions

The last column in the resource list displays action buttons that can be used to perform actions on that resource.

Relationship with Kubernetes permissions

Kubernetes has a permission setting function for creating/searching/modifying/deleting resources, and depending on this permission, there may be restrictions on resource access and kubectl use.

In ZCP, Kubernetes permissions can be granted/revoked through the user/namespace management function of the Console,

and permission errors may occur when using related functions.

If a permission issue occurs, please check the permission settings of the user/namespace or contact the Cluster Admin.

Editing YAML

Clicking the (Edit) button in the Actions column will bring up a popup where you can edit the YAML of the resource.

Clicking the button in the upper right will make the popup full screen.


When you close the popup, click the CLOSE button at the bottom, or if there are changes, click the SAVE button.

If there is a YAML syntax/Kubernetes Validation error, an error message will be displayed at the top of the editor window.


This functionality is equivalent to the kubectl edit <kind> <resource-name> command, with the following limitations:

  • If you do not have sufficient permissions to change the target resource, you will not be able to modify it.

SSH connection (only Pod)

For Pod resources only, SSH access to containers within the Pod is possible.

To create a connection:

  1. Click the (SSH) button in the Actions column.
  2. In the pop-up that appears, select Container.
  3. Select the Shell type and click the Connect button.
  4. When the connection is complete, you will see a prompt with the message below.


You can display the popup in full screen by clicking the button in the upper right.

When you are done using it, click the CLOSE button to terminate the connection.

This function is equivalent to the kubectl exec <pod-name> -it – sh command, and may have the following restrictions:

  • If the container does not have a command for SSH connection (such as sh/bash), you cannot connect.
  • If you do not have sufficient permissions to connect to the target Pod, you cannot connect.

Real-time log query (only Pod)

For Pod resources only, you can view logs generated from containers within the Pod.

To view the log:

  1. Click the (Log) button in the Actions column.
  2. In the pop-up that appears, select Container.
  3. Enter the number of lines of log to display, and click the (Show Image) button.
  4. When the connection is complete, the log will be displayed with the message below.


If you check the Follow option, the log will be displayed for the number of lines entered, and the logs generated from the container will be continuously displayed.

You can display the pop-up in full screen by clicking the button on the upper right.

When you are finished using it, click the CLOSE button to close the connection.


This function is the same as the kubectl logs <pod-name> command, and may have the following restrictions.

  • If the container status is abnormal, the log will not be displayed.
  • If you do not have sufficient permissions to access the target Pod, the log will not be displayed.

Resource Details

ZCP v1.1 Update Features

You can check the details of the resource in the searched list. The search method is the same regardless of the resource type.

Move to detailed screen

The Name column in the resource list has a link for moving to the details screen. Clicking on the target link will take you to the details screen.

View detailed information

The moved screen displays detailed information based on the YAML structure of the resource.

Display method

YAML can display data in a tree format based on indentation. The details screen converts YAML to JSON and displays the contents as follows according to depth.

division

깊이 (Depth)

설명비고
section1Areas separated by bold text (Metadata) and horizontal lines (—)metadata, spec, status, etc.
key2Areas separated by blurred text (namespace) (left)
Value (Primitive)3Area separated by normal text (right)
Value (Object, Array, etc.)3

Fields with complex values

  1. Display them in their own form (link, label) or
  2. Display the entire data in String form


For Strings that are not displayed in their original form, they are displayed abbreviated.

You can click the Show all.. (-- lines) button to see the full content, or click the Hide... button to abbreviate the content again.


Navigation

You can click the (Back to list) button in the upper right corner or the (Back) button to return to the list.


You can click the (Refresh) button to refresh the page with the latest changed resources.

Online consultation

Contact us

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.