The page has been translated by Gen AI.

Storage Management

You can create and manage storage to use when using Kubernetes Engine. Storage is created and then managed for each of PVC, PV, and StorageClass items.

Reference

PVC, PV, storage class service is set by default to the cluster (namespace) selected when creating the service. Even if you select other items in the list, the default cluster (namespace) setting is retained.

  • To select a different cluster (namespace), click the gear button on the right side of the list. Cluster/Namespace Settings popup, select the cluster and namespace to change and click the Confirm button. You can view the services created in the selected cluster/namespace.
Notice

The items linked by storage type are as follows.

TypeDetailed Description
Block StorageSupports a storage class that uses the product’s volume in conjunction with the Block storage product within Virtual Server
Object StorageCan be linked with Samsung Cloud Platform products or external Object Storage
  • No separate configuration is required for the Kubernetes Engine, and it can be linked by directly configuring the workload (application) according to the Object Storage guide
File StorageSupports storage classes of NFS and CIFS protocol volumes in conjunction with the File Storage product
  • For NFS protocol volumes, selection is required when creating a Kubernetes Engine (supports HDD, SSD disk types)
  • For CIFS protocol volumes, selection can be made when creating a Kubernetes Engine or after creation
Table. Storage linkage items by type

PVC manage

Persistent Volume Claim(PVC) is an object defined to allocate the required storage capacity. PVC provides high usability through abstraction, and can prevent the problem where data disappears together when the container lifecycle expires (maintaining Data Persistence).

Create PVC

To create a PVC, follow the steps below.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. Service Home page, click Storage under the PVC menu. Navigate to the PVC List page.
  3. On the PVC List page, after selecting the cluster and namespace from the top left gear button, click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Confirm button.
Reference
For detailed information on the concept of PVCs and object creation, refer to Kubernetes official documentation > Persistent Volumes.

Check PVC detailed information

To check the detailed PVC information, follow the steps below.

  1. All Services > Container > Kubernetes Engine menu. Go to the Service Home page of Kubernetes Engine.
  2. Click PVC under the Storage menu on the Service Home page. You will be taken to the PVC List page.
  3. On the PVC List page, select the cluster and namespace from the top left gear button, then click Confirm.
  4. Select the item you want to view detailed information for on the PVC List page. You will be taken to the PVC Details page.
    • If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
  5. Click each tab to view service information.
    Category
    Detailed description
    Status DisplayDisplays the current status of the PVC.
    • Bound: Normal connection
    Delete PVCDelete PVC
    Detailed InformationPVC detailed information can be viewed
    YAMLPVC resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Save button to apply changes
    • When editing content, click the Diff button to view the changed content
    EventCheck events that occurred within PVC
    Account InformationCheck basic information about the Account such as Account name, location, creation date, etc.
    Metadata InformationCheck PVC metadata information
    Object InformationCheck PVC object information
    Table. PVC detailed information items

Delete PVC

To delete PVC, follow the steps below.

  1. All Services > Container > Kubernetes Engine menu를 클릭하세요. Kubernetes Engine의 Service Home 페이지로 이동합니다.
  2. Click PVC under the Storage menu on the Service Home page. Navigate to the PVC List page.
  3. PVC list page, select the cluster and namespace from the top left gear button, then click Confirm.
  4. PVC List Select the item you want to delete on the page. PVC Details Navigate to the page.
  5. Click Delete PVC on the PVC Details page.
  6. Notification confirmation window appears, click the Confirm button.
Caution

After selecting the item you want to delete on the PVC list page, you can delete the selected PVC by clicking Delete.

  • Check the backup status of the PV and volume to be deleted before deleting the PVC.

PV Management

Persistent Volume (PV) refers to the physical disk created by the system administrator in Kubernetes Engine.

Create PV

To create a PV, follow the steps below.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. Click PV under the Storage menu on the Service Home page. It navigates to the PV List page.
  3. PV list page, select the cluster and namespace from the top left gear button, then click Create Object.
  4. In the Object Creation Popup에서 오브젝트 정보를 입력하고 Confirm 버튼을 클릭하세요.
Reference
For detailed information on the concept of PV and object creation, refer to the Kubernetes official documentation > Persistent Volumes.

Check PV detailed information

To view the detailed PV information, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. Service Home page, click Storage under the PV menu. Navigate to the PV List page.
  3. PV List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
  4. Select the item you want to view detailed information for on the PV List page. You will be taken to the PV Details page.
    • If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
  5. Click each tab to view service information.
    CategoryDetailed description
    Status DisplayDisplays the current status of the PV.
    • Bound: Normal connection
    PV DeleteDelete PV
    Detailed InformationPV detailed information can be viewed
    YAMLPV’s resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Save button to apply changes
    • When editing content, click the Diff button to view the changed content
    EventCheck events that occurred within PV
    Account InformationCheck basic information about the Account such as Account name, location, creation date and time
    Metadata InformationCheck PV’s metadata information
    Object InformationCheck PV’s object information
    Table. PV detailed information items

PV Delete

To delete PV, follow the steps below.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. Click PV under the Storage menu on the Service Home page. You will be taken to the PV List page.
  3. On the PV List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
  4. PV List page, select the item you want to delete. Go to the PV Details page.
  5. Click Delete PV on the PV Details page.
  6. Notification confirmation window appears, click the Confirm button.
Caution
On the PV list page, after selecting the item you want to delete, you can delete the selected PV by clicking Delete.

Managing StorageClass

Storage Class is a Kubernetes resource that defines the level of storage type, performance, etc.

Reference

Kubernetes Engine provides the nfs-subdir-external-sc and bs-sc storage classes by default, and has the following features.

  • nfs-subdir-external-sc storage class shares and uses file storage connected to the cluster.
    • Access mode: RWX - ReadWriteMany
    • Reclaim policy: Delete (when PVC is deleted, delete PV and stored data together), Retain (when PVC is deleted, keep PV and stored data)
    • Capacity expansion: individual PVC expansion not allowed/entire file storage expansion allowed
  • The bs-sc storage class supports using SSD-type volumes in conjunction with block storage products.
    • Access mode: RWO - ReadWriteOnce
    • Reclaim policy: Delete(when PVC is deleted, delete PV and stored data together), Retain(when PVC is deleted, retain PV and stored data)
    • Capacity expansion support: individual PVC expansion support (automatic volume expansion in 8 Gi increments)

Predefined Storage Class

Storage ClassReclaim Policy*Volume Expansion Allowed**Mount OptionsRemarks
nfs-subdir-external-sc (default)DeleteNot supportednfsvers=3, noresvportLinked with default Volume (NFS) settings
nfs-subdir-external-sc-retainRetainNot supportednfsvers=3, noresvportLinked with default Volume (NFS) settings
bs-scDeleteSupport-VirtualServer > BlockStorage product integration
bs-sc-retainRetainSupport-VirtualServer > BlockStorage product integration
  • (*) To use a storage class other than the default, you need to specify the storage class name in PVC’s spec.storageClassName
  • (**) User can directly change the default storage class (storageclass.kubernetes.io/is-default-class: “true” annotation adjustment)
Table. Predefined Storage Class List
Caution

The features of the reclaim policy are as follows.

  • Delete: If you delete the PVC, the associated PV and physical data will also be deleted.
  • Retain: Even if the PVC is deleted, the corresponding PV and physical data are not deleted and are retained. Since physical data not used by the workload may remain in storage, careful capacity management is required.
Caution

Consider the following when using volume expansion.

  1. nfs-subdir-external-sc storage class
    • Cannot adjust the capacity of PVC. (Volume expansion not supported)
    • All PVs share the total capacity of the File Storage volume, so volume expansion for each PVC is not required.
  2. bs-sc storage class
    • You can expand the PVC capacity. (Shrink function not supported)
    • The capacity of the PV is not guaranteed to be as much as requested by the PVC. (Supports expansion in 8 Gi units)

Create StorageClass

To create a storage class, follow the steps below.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click StorageClass under the Storage menu. Navigate to the StorageClass list page.
  3. StorageClass List page, select the cluster and namespace from the gear button at the top left, then click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Confirm button.
    Reference
    For detailed information on the concept of storage classes and object creation, refer to the Kubernetes official documentation > Storage Class.

Check storage class detailed information

To view detailed storage class information, follow the steps below.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Storage under the StorageClass menu. You will be taken to the StorageClass List page.
  3. On the StorageClass List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
  4. StorageClass List page, select the item you want to view detailed information for. Navigate to the StorageClass Details page.
    • If you select Show System Objects at the top of the list, items other than the Kubernetes object entries will be displayed.
  5. Click each tab to view service information.
    Category
    Detailed description
    Delete StorageClassDelete the StorageClass
    Detailed InformationCan view detailed information of storage class
    YAMLResource files of the storage class can be edited in the YAML editor
    • Click the Edit button and modify the resource, then click the Save button to apply the changes
    • When editing content, click the Diff button to view the changed content
    EventCheck events that occurred within the storage class
    Account InformationCheck basic information about the Account such as Account name, location, creation date, etc.
    Metadata InformationCheck the metadata information of the storage class
    Object InformationCheck the object information of the storage class
    Table. StorageClass detailed information items

Delete StorageClass

To delete the storage class, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
  2. From the Service Home page, click Storage Class under the Storage menu. You will be taken to the Storage Class List page.
  3. On the StorageClass List page, select the cluster and namespace from the gear button at the top left, then click Confirm.
  4. StorageClass List page, select the item you want to delete. Navigate to the StorageClass Details page.
  5. Click Delete StorageClass on the StorageClass Details page.
  6. When the notification confirmation window appears, click the Confirm button.
    Caution
    On the storage class list page, after selecting the item you want to delete, click Delete to delete the selected storage class.
Service and Ingress Management
Configuration(Configuration) Management