Giter Club home page Giter Club logo

collector's Introduction

collector

用于收集离线安装包的工具。

安装

使用说明

程序读取预先定义的配置文件(collector/config/v1.0.0.yaml),根据命令行参数选择性的下载离线包。

# 定义application
- name: argocd
  version: v2.7.6

  # 定义etcd应用的镜像
  imageGroups:
  - images:
    - source: 172.18.60.199:5000/dexidp/dex:v2.36.0
    - source: 172.18.60.199:5000/argoproj/argocd:v2.7.6
    - source: 172.18.60.199:5000/redis/7.0.11-alpine

  # 定义etcd应用的二进制文件
  binaries:
  - url: https://github.com/argoproj/argo-cd/releases/download/v2.7.6/argocd-linux-amd64
    sha256sum: 4f2f56548ad042cc168108263fd0e92bdccc0f61957e4df32dabf3bc53ef4b87
    arch: amd64
    filename: argocd-linux-amd64
  - url: https://github.com/argoproj/argo-cd/releases/download/v2.7.6/argocd-linux-arm64
    sha256sum: b4fa9bac5dfe7e3677ab2ec2d369443a158d8e3265984964cd568a6057f8906b
    arch: arm64
    filename: argocd-linux-arm64

- name: keepalived
  imageGroups:
  - images:
    - source: keepalived:latest

默认收集所有应用,所有类型的资源:

collector --config collector/config/v1.0.0.yaml --output-path /srv/collector/2023-11-23

收集指定应用的资源:

collector etcd --config collector/config/v1.0.0.yaml --output-path /srv/collector/2023-11-23

收集指定类型的资源:

collector --type image --config collector/config/v1.0.0.yaml --output-path /srv/collector/2023-11-23

collector's People

Contributors

wang390750 avatar wanglet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.