小编zee*_*erk的帖子

通过 Docker 在不同主机上建立 MinIO 集群

查了很多帖子、论坛和视频,但没有看到任何解决方案。
我想使用 docker-compose 构建一个包含 4 个不同主机的 MinIO 集群。
有什么解决办法吗?

最近的错误消息:

API: SYSTEM()
Time: 13:26:13 UTC 11/23/2021
Error: Read failed. Insufficient number of disks online (*errors.errorString)
       5: cmd/prepare-storage.go:268:cmd.connectLoadInitFormats()
       4: cmd/prepare-storage.go:317:cmd.waitForFormatErasure()
       3: cmd/erasure-server-pool.go:91:cmd.newErasureServerPools()
       2: cmd/server-main.go:637:cmd.newObjectLayer()
       1: cmd/server-main.go:542:cmd.serverMain()
Waiting for a minimum of 2 disks to come online (elapsed 1m4s)

Unable to read 'format.json' from http://10.10.10.1:9000/data: Server expects 'storage' API version 'v41', instead found 'v41' - *rolling upgrade is not allowed* - please make sure all servers are running the same MinIO version …
Run Code Online (Sandbox Code Playgroud)

docker docker-compose minio

3
推荐指数
1
解决办法
5229
查看次数

由计划触发的 GitLab 手动作业

我的 GitLab 管道有一点问题。
我想使用计划规则运行手动作业,或者找到一种方法在我的作业中运行计划管道而无需重写管道。

正如您在示例中看到的,我有 2 个第一份工作标记为工作。一种是手动的,一种是计划的。我的问题是,如果我运行计划的工作流程,AC 测试将不会启动,如果我尝试按计划的规则运行 FirstJob 它不会因为when: manual部分而启动。

这是我的例子:

stages:
    - firstjob
    - test
    - build
    - deploy

FirstJob:
    stage: firstjob
    script:
        - echo "Hello Peoples!"
        - sleep 1
    when: manual
    allow_failure: false

FirstJobSchedule:
    stage: firstjob
    script:
        - echo "Hello Scheduled Peoples!"
        - sleep 1
    only: 
        - schedule
    allow_failure: false

AC-test:
    needs: [FirstJob]
    stage: test
    script:
        - echo "AC Test is running"
        - sleep 10

ProdJobBuild:
    stage: build
    needs: [AC-test]
    script:
        - …
Run Code Online (Sandbox Code Playgroud)

schedule pipeline manual gitlab gitlab-ci

2
推荐指数
1
解决办法
5000
查看次数

标签 统计

docker ×1

docker-compose ×1

gitlab ×1

gitlab-ci ×1

manual ×1

minio ×1

pipeline ×1

schedule ×1