marketplace-service:基于 Kubernetes 和 Helm 的应用市场服务项目

可用于平台扩展能力增强与应用快速部署,支持应用展示、仓库管理、Helm包上传部署及本地多版本应用管理,提供仓库同步、包版本管理等核心功能。【此简介由AI生成】

Branch1Tags0

marketplace-service

Feature Introduction

The openFuyao application marketplace mainly supports displaying applications and managing application repositories, providing convenient deployment services for platform extension capabilities and components.

Application Scenarios

The openFuyao application marketplace is widely used for repository management and application deployment operations by users and administrators, providing multiple practical application scenarios:

  • Platform extension capabilities: Significantly enhance the overall functionality of the platform by deploying openFuyao extension components.
  • Quick deployment: Users can directly upload Helm packages to the openFuyao platform for quick deployment and testing operations.

Capability Scope

  • Application deployment: Users can select required applications in the application marketplace for deployment and view deployment status in subsequent management.
  • Extension capability deployment: Select extension components through the application marketplace to help the platform enhance functionality and performance.
  • Repository management: Support adding, deleting, and managing application repositories, facilitating quick access to new application repositories and flexible selection of deployable applications.
  • Local repository: Support uploading multiple applications and multiple versions locally without uploading packages to the repository.

Usage

The specific usage of the openFuyao application marketplace includes two major parts: using the application list and using package management. The former supports repository viewing, repository synchronization, repository addition, and other functions, while the latter supports managing package versions and adding packages.

Prerequisites

  • Kubernetes 1.28 and Helm 3.14.2 are installed in the cluster.
  • marketplace-service is running normally in the cluster.

View Repository

Repositories are used to store and manage applications and extension components, providing a centralized resource management entry. View basic information and resources contained in the repository through the "Repository Details" interface.

Sync Repository

Used to update application or extension component information in the repository to ensure resource information is up-to-date.

Add Repository

The add repository function is used to connect new application or extension component repositories to the openFuyao platform for unified management by openFuyao, and can also connect multiple types of resources.

Manage Package Versions

Package management is used for version management of packages within the openFuyao platform, including adding new versions or deleting old versions.

Add Package

Used to upload new application packages or component packages in the platform to provide support for subsequent version management and resource deployment.

Local Build

Image Build

Build Commands

  • Build and push to specified OCI repository.

    Using docker
    docker buildx build . -f <path/to/dockerfile> \
        -o type=image,name=<oci/repository>:<tag>,oci-mediatypes=true,rewrite-timestamp=true,push=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    
    Using nerdctl
    nerdctl build . -f <path/to/dockerfile> \
        -o type=image,name=<oci/repository>:<tag>,oci-mediatypes=true,rewrite-timestamp=true,push=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    

    Where <path/to/dockerfile> is the Dockerfile path, <oci/repository> is the image address, and <tag> is the image tag.

  • Build and export OCI Layout to local tarball.

    Using docker
    docker buildx build . -f <path/to/dockerfile> \
        -o type=oci,name=<oci/repository>:<tag>,dest=<path/to/oci-layout.tar>,rewrite-timestamp=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    
    Using nerdctl
    nerdctl build . -f <path/to/dockerfile> \
        -o type=oci,name=<oci/repository>:<tag>,dest=<path/to/oci-layout.tar>,rewrite-timestamp=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    

    Where <path/to/dockerfile> is the Dockerfile path, <oci/repository> is the image address, <tag> is the image tag, and path/to/oci-layout.tar is the tar package path.

  • Build and export image rootfs to local directory.

    Using docker
    docker buildx build . -f <path/to/dockerfile> \
        -o type=local,dest=<path/to/output>,platform-split=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    
    Using nerdctl
    nerdctl build . -f <path/to/dockerfile> \
        -o type=local,dest=<path/to/output>,platform-split=true \
        --platform=linux/amd64,linux/arm64 \
        --provenance=false \
    

    Where <path/to/dockerfile> is the Dockerfile path and path/to/output is the local directory path.

Helm Chart Build

  • Package Helm Chart.

    helm package <path/to/chart> -u \
        --version=0.0.0-latest \
        --app-version=openFuyao-v25.09
    

    Where <path/to/chart> is the Chart folder path.

  • Push Chart package to specified OCI repository.

    helm push <path/to/chart.tgz> oci://<oci/repository>:<tag>
    

    Where <path/to/chart.tgz> is the Chart package path, <oci/repository> is the Chart package push address, and <tag> is the Chart package tag.

Introduction

可用于平台扩展能力增强与应用快速部署,支持应用展示、仓库管理、Helm包上传部署及本地多版本应用管理,提供仓库同步、包版本管理等核心功能。【此简介由AI生成】

Customize your domain