LogoLogo
Cocktail Cloud
  • What is Cocktail Cloud?
  • Apply for Service
    • Using Cocktail Cloud
  • overview
    • Kubernetes and Cocktail Cloud
    • Understanding Concepts
      • Platform
      • Workspace
      • Cluster
      • Service Map
      • Image Build
      • Security
      • Monitoring
      • Catalog
  • Getting Started
    • Cluster Creation
      • AWS (EKS)
      • NCP (NKS)
      • Azure (AKS)
      • GCP (GKE)
      • ETC (Datacenter)
    • Cluster Registration
      • AWS (EKS)
      • NCP (NKS)
      • Azure (AKS)
      • GCP (GKE)
      • ETC (Datacenter)
    • Managing Cloud Provider
      • AWS
    • Creating a User
    • Create Service Map
    • Create Registry
      • Create Registry
      • External Registry Registration
        • Setting Up AWS ECR
        • Setting Up Azure ACR
        • Setting Up Docker Hub
        • Setting Up Docker Registry
        • Setting Up Google GCR
        • Setting Up Harbor
        • Setting Up Naver
        • Setting Up Quay
    • Create a Workspace
  • Cluster Backup and Restore
    • Cocktail Backup and Restore
    • Backup/Restore Preparations
      • AWS S3 Configuration
      • Azure Blob Storage Configuration
      • Google Cloud Storage Configuration
      • MinIO Configuration
    • Create storages
    • Backups
    • Restoration
    • Backup/Restore Overview
  • Log Service
    • Cocktail Log Service
    • Installation
      • Install Log Service
      • Registration Log Service
      • Install Log Agent
      • Install Log Operator
    • Setting
      • Change Opensearch Admin password
    • Application Logs
      • Application Management
      • Application logging
        • Automatic instrumentation of container logs
          • Java
          • Python
        • Manual measurement of file logs(SDK)
          • Java
          • Python
        • Manual measurement of file logs (Sidecar)
          • Fluent-bit
    • Container Logs
    • Cluster Audit Logs
    • Troubleshooting
  • CI/CD
    • Creating a Build Server
    • Build Image
    • Setting up a Pipeline
  • application
    • Catalog
    • Application Deployment
    • Configuration Information Creation
    • Volume Requests
    • Service Exposure
    • Ingress
    • Service Mesh Configuration
  • Platform Management
    • Multicluster Configuration
    • Cluster Management
    • Workspace Management
    • Security
    • Integrated Monitoring
  • API Management
    • API Token Issuance
    • API Issuance History
    • API Execution Logs
  • Certificate Management
    • Issuer Management
    • Private Certificate
    • Public Certificate
  • Deepening operations
    • Maintaining Login Session in Case of Inability with Ingress Configuration
    • Add Ingress Proxy Configuration
    • Accessing Harbor from a Server Other Than the Registry VM
    • Configuring Harbor with a Public SSL Certificate
Powered by GitBook

â“’2023. Acornsoft Corp. All rights reserved.

On this page
  • What types of volumes are provided?
  • What are the advantages of persistent volume management?
  • Automatic creation of PV and PVC
  • Ease of volume and volume mount configuration
  • Task List
  • 1. Create Volume Requests
  • 1.1 Navigate to the volume request creation screen
  • 1.2 Fill in the information for volume request creation
  • 2. View Volume Requests
  • 2.1 View the list of volume requests
  • 2.2 View detailed information on volume requests
  • 2.3 View PV
  • 3. Use Volumes in Containers
  • 3.1 Navigate to the workload configuration screen
  • 3.2 Add Volumes
  • 3.3 Configure Volume Mounts
  • 3.4 Restart the Workload

Was this helpful?

Export as PDF
  1. application

Volume Requests

A volume, in simple terms, refers to a directory existing on a disk or within a container. Typically, the lifespan of a volume is the same as the Pod that encapsulates it. When the Pod ceases to exist, the volume disappears as well.

However, in some cases, it may be necessary to preserve the data on the disk even if the Pod disappears. In such cases, persistent volumes (PVs) are used.

What types of volumes are provided?

  • Regular Volumes: Supports emptyDir and hostPath methods.

  • Persistent Volumes (PVs): Supports Single type (usable only on one node) and Shared type (can be shared across multiple nodes).

What are the advantages of persistent volume management?

Automatic creation of PV and PVC

When users input the minimum required information for a persistent volume, Cocktail Cloud automatically generates related Persistent Volume (PV) and Persistent Volume Claim (PVC) resources and matches the PVC with the corresponding PV.

Ease of volume and volume mount configuration

Developers only need to select the PVC created in the configured Pod to set up volume and volume mounts.

Task List

  • Create volume requests

  • View volume requests

  • Use volumes in containers

1. Create Volume Requests

1.1 Navigate to the volume request creation screen

1) Go to [Application] - [Service Map] - [Volume Requests], then click the "+ Create" button in the top right to move to the volume request creation screen.

1.2 Fill in the information for volume request creation

Item (* is required)
Content

Name*

Write the name of the volume request you want to create

Persistent Volume type*

Choose between SINGLE and SHARED

Storage*

Select the pre-registered storage

Access Mode*

  • If you choose SINGLE for the storage volume type, only ReadWriteOnce can be selected in the access mode

  • If you choose SHARED for the storage volume type, ReadWriteMany and ReanOnlyMany can be selected in the access mode.

Capacity(GB)*

Enter the volume amount to be created (only positive integers are allowed)

Label

Input labels to be registered for volume request creation

Annotation

Input Annotation to be registered for volume request creation

2. View Volume Requests

2.1 View the list of volume requests

1) Access the volume request screen in the service map to check the list of volume requests created by the user.

2.2 View detailed information on volume requests

1) Click on the "Name" of the volume request you want to check in the volume request list.

2) To view detailed information about the created PVC in YAML format, click the settings button on the top screen, then select "YAML View" from the left checkbox.

2.3 View PV

1) Select the "Volume (PV)" of the volume request you want to check in the volume request list.

2) To view detailed information about the created PV in YAML format, go to the "Settings" tab on the top screen.

3. Use Volumes in Containers

3.1 Navigate to the workload configuration screen

1) Select the workload that will use the volume request, then click the "Settings" tab to go to the detailed workload configuration screen.

3.2 Add Volumes

1) Click the "+ Add" button in the volume section of the workload configuration information.

2) Choose the desired volume type and enter the corresponding volume name.

The volume type field can be Empty Dir, Host Path, Config Map, Secret, Persistent Volume, and additional input information may be required based on the selected volume type.

3) After completing the volume type and volume name, click the "Apply" button to save.

3.3 Configure Volume Mounts

After adding a volume, it needs to be mounted in the workload to be used.

1) Click the "+ Add" button in the volume addition section of the workload configuration information.

2) Select the container and volume to mount, then click the "+ Add" button.

3) Specify the path to mount the volume in the container.

  • The container field and volume selection field can be created if containers and volumes already exist.

  • The container path field is a mandatory input.

4) Click the "Apply" button to create the volume mount.

3.4 Restart the Workload

1) After adding volumes and configuring volume mounts, click the "Save and Start" button at the top right of the workload's detailed configuration screen.

2) You can check that the configured volume and volume request are applied by confirming that the container restarts.

PreviousConfiguration Information CreationNextService Exposure

Last updated 1 year ago

Was this helpful?

[Screen] Volume Request Creation
[Screen] View Volume Request List
[Screen] View PVC Detailed Information
[Screen] View PVC Detailed Information (in YAML format)
[Screen] View PV Detailed Information
[Screen] View PV Detailed Information (in YAML format)
[Screen] Detailed Workload Screen
[Screen] Workload Configuration Screen
[Screen] Volume Type Selection Screen When Adding Volumes
[Screen] Select Volume Request When Adding Persistent Volumes
[Screen] Enter Volume Mount Information
[Screen] Confirm Workload Restart After Adding Volume and Setting Volume Request