argo找不到服务器,http - Argo构件给出错误“ http:服务器向HTTPS客户端提供了HTTP响应” - SO中文参考 - www.soinside.com...

我在Argo名称空间的k8s集群中设置Argo。

我正在配置一个工作流,尝试以以下方式访问该非默认工件存储库:apiVersion: argoproj.io/v1alpha1

kind: Workflow

metadata:

generateName: artifact-passing-

spec:

entrypoint: artifact-example

templates:

- name: artifact-example

steps:

- - name: generate-artifact

template: whalesay

- - name: consume-artifact

template: print-message

arguments:

artifacts:

# bind message to the hello-art artifact

# generated by the generate-artifact step

- name: message

from: "{{steps.generate-artifact.outputs.artifacts.hello-art}}"

- name: whalesay

container:

image: docker/whalesay:latest

command: [sh, -c]

args: ["cowsay hello world | tee /tmp/hello_world.txt"]

outputs:

artifacts:

# generate hello-art artifact from /tmp/hello_world.txt

# artifacts can be directories as well as files

- name: hello-art

path: /tmp/hello_world.txt

s3:

endpoint: argo-artifacts-minio.argo:9000

bucket: my-bucket

key: /my-output-artifact.tgz

accessKeySecret:

name: argo-artifacts-minio

key: accesskey

secretKeySecret:

name: argo-artifacts-minio

key: secretkey

- name: print-message

inputs:

artifacts:

# unpack the message input artifact

# and put it at /tmp/message

- name: message

path: /tmp/message

s3:

endpoint: argo-artifacts-minio.argo:9000

bucket: my-bucket

accessKeySecret:

name: argo-artifacts-minio

key: accesskey

secretKeySecret:

name: argo-artifacts-minio

key: secretkey

container:

image: alpine:latest

command: [sh, -c]

args: ["cat /tmp/message"]

我通过以下方式在argo命名空间中创建了工作流程:argo submit --watch artifact-passing-nondefault-new.yaml -n argo

但是工作流程因错误而失败:STEP PODNAME DURATION MESSAGE

✖ artifact-passing-z9g64 child 'artifact-passing-z9g64-150231068' failed

└---⚠ generate-artifact artifact-passing-z9g64-150231068 12s failed to save outputs: Get https://argo-artifacts-minio.argo:9000/my-bucket/?location=: http: server gave HTTP response to HTTPS client

有人可以帮助我解决此错误吗?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值