PVC

The size of the storage volume used by the container in the Pod.

PVC is used to declare the storage volume requirements for containers in pods. The PVC is not created according to the declaration requirements when creating the PVC. The cloud management platform will only create pvc compliant storage on the local storage of the node when the user can select the PVC for the data volume of the container when creating the deployment, Statefulset, Job, Cronjob.

For more details on storage claims, please see kubernets official documentation-PersistentVolumeClaims.

Entry: In the cloud management platform click on the top left corner navigation menu, and click “Containers/Applications/PVC” menu item in the left menu bar that pops up to enter the Storage Claims page.

View PVCs

This function is used to filter PVC information based on clusters and namespaces.

  1. In the PVC page, by default, you can view PVC information of all namespaces under a cluster.

  2. When there are multiple clusters in the environment, click the input box to the right of the cluster above the list and select other clusters to view the PVC information of all namespaces under other clusters.

  3. When there are multiple namespaces under the cluster, click the input box on the right side of the namespace above the list, select the namespace, and view the PVC information under the specified namespace.

Create PVC

This function is used to create a new PVC. PVCs do not create storage, but only when the PVC is used.

  1. On the PVC page, click the “Create” button at the top of the list to enter the Create PVC page.
  2. Set the following parameters.
    • Name: The name of the storage statement.
    • Disk size: The storage size required by the storage statement.
    • Cluster: Select the cluster to which the storage statement belongs.
    • Namespace: Select the namespace to which the storage statement belongs. Namespaces are used to logically divide the cluster. deployment, pod, service, etc. all belong to a certain namespace. Kubernetes cluster will generate default, kube-system, and kube-public namespaces by default after the cluster is created.
  3. Click the “Deploy” button to create the storage statement.

View/Edit yaml file

This function is used to view and modify the yaml file of the storage statement under the specified cluster.

  1. On the Storage Statement page, click the “View/Edit” button on the right action bar of the storage statement to bring up the View/Update File dialog box.
  2. Support viewing and editing yaml file information of timed tasks.
  3. After editing the yaml file, click the “OK” button to take effect.

Delete stored statement

This function is used to delete a storage statement.

Individual deletion

  1. On the timed task page, click the “Delete” button in the action column on the right side of the timed task, and the action confirmation dialog box pops up.
  2. Click the “OK” button to delete the timed task and related resources.

Batch Delete

  1. Select one or more timed tasks in the list of timed tasks, click the “Delete” button at the top of the list, and the operation confirmation dialog box will be popped up.
  2. Click the “OK” button to delete the timed tasks and the related resources.

View storage statement details

This function is used to view the storage statement details.

  1. On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
  2. View the following information, including Cloud ID, ID, name, container group to which it belongs, status, cluster, namespace, access mode, storage volume, storage class, total storage, usage, created at, notes, etc.

View Container Groups

This function is used to view the container groups associated with a storage statement.

View/Edit

This function is used to view the yaml file of a container group.

  1. On the storage statement page, click the storage statement name item to enter the storage statement details page.
  2. Click the Container Group tab to enter the Container Group page.
  3. Click the “View/Edit” button on the right column of the container group to bring up the View/Update dialog box.
  4. Support viewing and editing yaml file information of the storage statement.
  5. After editing the yaml file, click the “OK” button to take effect.

Delete

This function is used to delete a container group. After the container group is deleted, a new container group will be redeployed according to the yaml file settings.

  1. On the PVC page, click the PVC name item to enter the PVC details page. Click the Container Groups tab to enter the Container Groups page.
  2. Click the “Delete” button on the right action bar of the container group to bring up the action confirmation dialog box.
  3. Click the “OK” button to complete the operation.

View Events

This function is used to record the occurrence of resource object events, including the content, source, cause, and created at, for troubleshooting purposes.

  1. On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
  2. Click the Events tab to enter the Events page. View the content, source, cause, and created at of the event.

View Source Information

This function is used to view and edit the yaml information of a stored statement.

  1. On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
  2. Click the “Source Information” tab to enter the source information page.
  3. Click the “Copy Content” button to copy the yaml file information of the node.
  4. After updating the yaml file, click the “Update” button.

View Operation Log

This function is used to view the operation logs related to the storage statement.

  1. On the Storage Statement page, click the storage statement name item to enter the storage statement details page.
  2. Click the Operation Log tab to enter the Operation Log page.
    • If you want to view more operation logs, please click “Load More” button to get more log information.
    • View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
    • View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
    • Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.