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
  • 1. Setting up a Pipeline
  • 1-1. Creating a Pipeline
  • 2. Modify Pipeline
  • 2-1. If there are changes in the source requiring rebuilding of images
  • 2-2. If there are changes to the workload, such as replicas or other configurations
  • 3. Pipeline Rollback

Was this helpful?

Export as PDF
  1. CI/CD

Setting up a Pipeline

PreviousBuild ImageNextCatalog

Last updated 1 year ago

Was this helpful?

1. Setting up a Pipeline

1-1. Creating a Pipeline

1) To create a pipeline, click on the '+ Create Pipeline' button located in the top right corner of the [CI/CD] - [Pipeline] tab.

2) After entering the pipeline creation information, click the 'Save' button located in the top right corner.

Item (* is required)
content

Name*

Enter the pipeline name to create

Version*

Input the version for the pipeline

Service Map*

Select the service map to execute the pipeline

3) Click the "Add Resource" button in the deployment resources section to apply the items you want to configure for the pipeline.

  • Workloads need to be created by default

4) After selecting the workload to add from the workload section, click the "Save" button

5) Once the workload is registered, confirm that the container images registered with the workload are automatically added.

  • Only images built using the image build feature in Cocktail are integrated

6) After selecting the service to add from the service exposure section, click the "Save" button.

7) After selecting the Ingress to add from the Ingress section, click the "Save" button.

8) After completing the registration of all resources, click the "Run" button located in the top right corner.

9) When the [run popup] appears, enter the content for the execution note regarding this pipeline version, then click the "Save" button.

10) Once the pipeline execution is complete, the release version will be indicated correctly in the top left corner.

2. Modify Pipeline

  • When modifying each workload, service exposure, and Ingress in the [Service Map] tab, changes are not reflected in the pipeline. You need to make modifications directly in the pipeline.

  • Modifying the pipeline ensures that each workload and deployment resource is updated to the latest version

1) Select the pipeline name that needs modification in the [Pipeline] tab.

2) Click the "Create Pipeline Version" button in the top right corner of the pipeline, enter the version, and then click "Create".

2-1. If there are changes in the source requiring rebuilding of images

1) Activate the "Build Run" button on the right side of the [Image Build] section, then click "Run".

  • The image build is re-executed and immediately reflected in the workload

2) The image is rebuilt, and you can check the progress of each step in the process.

3) When the image is rebuilt through the pipeline, verify that the image name in the workload is updated to the tag of the image built through the pipeline.

2-2. If there are changes to the workload, such as replicas or other configurations

  • Deactivate the "Build Run" button on the right side of the [Image Build] section (no image changes required)

1) Select the workload name in the [Deployment Resources] section.

2) Make the necessary modifications by selecting the relevant parts, then click the "Save" button in the top right corner.

3) After confirming the change in replicas from 1 to 2 in the workload, click the "Close" button in the top right corner.

4) Once you return to the pipeline modification section, click the "Run" button in the top right corner, and enter the changes in the execution note."

5) In the pipeline's [Deployment Status] tab, verify that there are two pods running.

3. Pipeline Rollback

  • If you need to rollback to a previous configuration while continuously registering versions through the pipeline.

1) Select the pipeline name that needs modification in the [Pipeline] tab. Once changes are made in the modification section, click the "Rollback" button in the top right corner.

2) When the [Rollback Popup] window appears, review the execution notes of the versions created so far, select the desired version, then click the "Save" button.

3) Once the rollback is completed successfully, confirm that the modified version has been changed to the rollback target (e.g., V3 -> V2)

4) Verify that the pod count has returned to normal, such as 2 -> 1.

[Screen] Initial Pipeline Creation Screen
[Screen] Pipeline Creation Information Input Screen
[Screen] Add Deployment Resources to the Pipeline
[Screen] Select Workload in Add Deployment Resources
[Screen] Registering Workload for Pipeline
[Screen] Selecting Service Exposure in Add Deployment Resources
[Screen] Selecting Ingress in Add Deployment Resources
[Screen] Screen after registering all resources for the pipeline
[Screen] Inputting Pipeline Execution Notes
[Screen] Screen after Pipeline Execution Completion
[Screen] Pipeline List
[Screen] Pipeline Version Creation
[Screen] Screen with Build Execution Enabled and in Progress
[Screen] Image Build Process
[Screen] Confirmation of Image Tag Change
[Screen] Screen with Build Execution Disabled
[Screen] Workload Configuration Change Screen
[Screen] Information after Workload Configuration Change
[Screen] Screen after Clicking the "Run" Button
[Screen] Pipeline Deployment Status
[Screen] Pipeline Configuration Screen
[Screen] Popup window with Execution Notes after Clicking Rollback
[Screen] Confirmation of Rollback Version Change
[Screen] Pipeline Deployment Status