PVC
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.
-
In the PVC page, by default, you can view PVC information of all namespaces under a cluster.
-
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.
-
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.
- On the PVC page, click the “Create” button at the top of the list to enter the Create PVC page.
- 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.
- 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.
- 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.
- Support viewing and editing yaml file information of timed tasks.
- 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
- 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.
- Click the “OK” button to delete the timed task and related resources.
Batch Delete
- 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.
- 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.
- On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
- 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.
- On the storage statement page, click the storage statement name item to enter the storage statement details page.
- Click the Container Group tab to enter the Container Group page.
- Click the “View/Edit” button on the right column of the container group to bring up the View/Update dialog box.
- Support viewing and editing yaml file information of the storage statement.
- 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.
- 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.
- Click the “Delete” button on the right action bar of the container group to bring up the action confirmation dialog box.
- 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.
- On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
- 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.
- On the Storage Statement page, click the Storage Statement Name item to enter the Storage Statement Details page.
- Click the “Source Information” tab to enter the source information page.
- Click the “Copy Content” button to copy the yaml file information of the node.
- 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.
- On the Storage Statement page, click the storage statement name item to enter the storage statement details page.
- 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.