Kubernetes Resource Management

印刷
  • TABLE OF CONTENTS
  • Overview

    You can manage Kubernetes Resources from the console.


    Yaml

    Kubernetes uses YAML as its default file format. Below is an explanation of its detailed specifications. 

    Component

    Description

    apiVersion

    The version of the Kubernetes API 

    kind

    The type of resource  (pod, service, deployment, ..)

    metadata

    Specifies the resource’s name, labels, etc.

    spec

    Describes the desired state or configuration of the resource 

    status

    Indicates the current state of the resource

    Workloads

    Pod, the smallest compute object that can be deployed in Kubernetes, and the application that runs on Kubernetes as a high-level abstraction that helps run it. For more information, see the Workloads document.

    If you click the Workloads menu in the menu, the following screen will appear.

    • Select Cluster - (1)
  • This is a list of clusters being used in the project, and the namespace combo box (2) list will change when changed.

    • Namespace selection - (2)
  • The list of namespaces used in the project is displayed, and when selected, the list of selected Workload resources (4) is displayed.

    • Resource menu of Workloads - (3)
  • This is the resource menu that can be checked in the current console. When selected, the list of selected resources (4) is displayed.

    • Resource list - (4)
  • The list of resources of the selected cluster, namespace, and Workload is displayed.

    Deployments

    This is the Deployments resource search screen of Workloads.


    • Filtering function - (1)
  • You can filter the Deployments resource list by the name of the resource using the filtering function.

    • Create Deployments resource - (2)
  • When you click the button, you will be taken to the Deployments resource creation screen.

    • Paging function - (3)
  • You can change the number of list exposures per page and move to the page.

    • Deployments resource detail page - (4)
  • Clicking the name of the resource or clicking the Edit button in Actions will take you to the details and edit screen.

    • Delete Deployments Resource - (5)
  • This is a function that allows you to delete the selected resource.


    Create Deployments

    This is the Deployments resource creation screen.

    • Save - (1)

  • Write new resource information in YAML format and click the Save button to create a new resource.

    However, if a YAML syntax/Kubernetes Validation error occurs, an error message is displayed at the top of the editing window.

    • material/eclipse - (2)
  • Change the editor theme to material or eclipse.

    Deployments Details

    This is the Deployments resource details screen.

    • YAML tab - (1)
  • You can check the detailed information of the resource in YAML format.

    • Overview tab - (2)
  • You can easily check the resource according to the YAML structure.

    • Download function - (3)
  • Download the resource as a YAML format file.

    • Save (Modify resource) - (4)
  • Edit the resource in detail and click the Save button to modify it.

    • List - (5)
  • When clicked, you will be taken to the resource list page.

    StatefulSet

    You can create, view, modify, and delete StatefulSet-related resources in Workloads.

    (For more information, see Deployments.)

    Pod

    You can create, view, modify, and delete Pod-related resources in Workloads.

    (For more information, see Deployments.)

    Terminal

    Connects an SSH session to a container inside a pod.

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

    • If the container does not have a command (sh/bash) for connecting to an SSH session, you cannot connect.
    • If you do not have sufficient permissions to connect to the pod, you cannot connect.
    1. The Container item displays a list of containers inside the pod, and when you select a container, an SSH session is automatically connected.
    2. When the connection is complete, a prompt is displayed with a connection success message.
    3. Click the Expand button to display the Terminal screen in full screen.
    4. When the Terminal screen is closed, the SSH session connection is also closed.

  • Logs

    View logs generated from containers inside the pod.

    1. The Container item displays a list of containers inside the pod, and selects a container.
    2. Click the Streaming button to view logs.
    3. Click the Paused button to stop log viewing.
    4. Click the Download button to download the logs displayed on the screen as a file.
    5. Click the Expand button in the upper right corner to display the Logs screen in full screen.
  • Secret

    You can create, view, modify, and delete Secret-related resources in Workloads.

    (For more information, see Deployments.)

    ConfigMap

    You can create, view, modify, and delete ConfigMap-related resources in Workloads.

    (For more information, see Deployments.)

    CronJob

    You can create, view, modify, and delete CronJob-related resources in Workloads.

    (For more information, see Deployments.)

    Job

    You can create, view, modify, and delete Job-related resources in Workloads.

    (For more information, see Deployments.)

    DaemonSet

    You can create, view, modify, and delete DaemonSet-related resources in Workloads.

    (For more information, see Deployments.)

    ReplicaSet

    You can create, view, modify, and delete ReplicaSet-related resources in Workloads.

    (For more information, see Deployments.)

    Horizontal Pod Autoscaler

    You can create, view, modify, and delete Horizontal Pod Autoscaler-related resources in Workloads.

    (For more information, see Deployments.)

    Event

    You can check the list of events that occurred in the namespace of the selected cluster.


    Networking

    If you click the Networking menu in the menu, the following screen appears.

    • Cluster selection - (1)
  • List of clusters used in the project, and the namespace combo box (2) list will change when changed.

    • Namespace selection - (2)
  • List of namespaces used in the project is displayed, and when selected, the list (4) of the selected Networking resources is displayed.

    • Networking resource menu - (3)
  • This is the resource menu that can be checked in the current console. When selected, the list (4) of the selected resources is displayed.

    • Resource list - (4)
  • List of resources of the selected cluster, namespace, and Networking is displayed.


    Service

    This is the Service resource search screen for Networking.

    • Filtering function - (1)
  • You can filter the Service resource list by the name of the resource using the Filter function.

    • Service resource creation - (2)
  • When you click the button, you will be taken to the Service resource creation screen.

    • Paging function - (3)
  • You can change the number of list exposures per page and move to the page.

    • Service Resource Detail Page - (4)
  • Click the resource name or click the Edit button in Actions to go to the Detail and Edit screen.

    • Delete Service Resource - (5)
  • This is a function that allows you to delete the selected resource.


    Create Service

    This is the Service resource creation screen.

    • Save - (1)
  • Write new resource information in YAML format and click the Save button to create a new resource.

    However, if a YAML syntax/Kubernetes Validation error occurs, an error message is displayed at the top of the editing window.

    • material/eclipse - (2)
  • Change the editor theme to material or eclipse.

    Service Details

    This is the Service resource detail screen.

    • YAML tab - (1)
  • You can check the resource details in YAML format.

    • Overview tab - (2)
  • You can easily check the resource according to the YAML structure.

    • Download function - (3)
  • Download the resource as a file in YAML format.

    • Save (Modify Resource) - (4)
  • Edit the detailed resource and click the Save button to modify it.

    • List - (5)
  • When clicked, you will be taken to the resource list page.

    Ingress

    You can create, search, modify, and delete Ingress-related resources in Networking.

    (For details, refer to Service.)

    Network policy

    You can create, search, modify, and delete Network Policy-related resources in Networking.

    (For details, refer to Service.)

    Storages

    When you click the Storages menu in the menu, the following screen appears.

    • Select Cluster - (1)
  • This is a list of clusters being used in the project, and when changed, the namespace combo box (2) list will change. However, Persistent Volume and StorageClass resources can only select clusters, so the namespace selection combo box will be disabled.

    • Select Namespace - (2)
  • A list of namespaces being used in the project is displayed, and when selected, a list of selected Networking resources (4) will be displayed.

    • Resource menu of Storages - (3)
  • Currently, this is the resource menu that can be checked in the ZCP Console. When selected, the list of selected resources (4) is searched.

    • Resource list - (4)
  • The resource list of the selected cluster, namespace, and service is displayed.

    Persistent Volume Claim

    This is the Persistent Volume Claim resource search screen of Storages.

    • Filtering function - (1)
  • You can filter the Persistent Volume Claim resource list by the resource name using the Filter function.

    • Create Persistent Volume Claim resource - (2)
  • When you click the button, you will be taken to the Persistent Volume Claim resource creation screen.

    • Paging function - (3)
  • You can change the number of lists displayed per page and move to the page.

    • Persistent Volume Claim resource detail page - (4)
  • Click the name of the resource or click the Edit button in Actions to go to the detail and edit screen.

    • Delete Persistent Volume Claim resource - (5)
  • This is the function that allows you to delete the selected resource.

    Create Persistent Volume Claim

    This is the Persistent Volume Claim resource creation screen.

    • Save - (1)
  • Write new resource information in YAML format and click the Save button to create a new resource.

    However, if a YAML syntax/Kubernetes Validation error occurs, an error message is displayed at the top of the editing window.

    • material/eclipse - (2)
  • Change the editor theme to material or eclipse.

    Persistent Volume Claim Details

    This is the Persistent Volume Claim resource details screen.

    • YAML tab - (1)
  • You can check the detailed information of the resource in YAML format.

    • Overview tab - (2)
  • You can easily check the resource according to the YAML structure.

    • Download function - (3)
  • Download the resource as a YAML format file.

    • Save (Modify resource) - (4)
  • Edit the resource in detail and click the Save button to modify it.

    • List - (5)
  • When clicked, it moves to the resource list page.

    Persistent Volume

    You can create, view, modify, and delete Persistent Volume related resources in Storages.

    (For more information, see Persistent Volume Claim.)

    StorageClass

    You can create, view, modify, and delete StorageClass related resources in Storages.

    (For more information, see Persistent Volume Claim.)

オンライン相談

問い合わせ

この回答は役に立ちましたか? はい いいえ

フィードバックを送信
お役に立てずに申し訳ございません。この記事を向上させるためにフィードバックをお願い致します。