跳至内容

kubectl

您也可以直接使用kubectl创建工作流。 不过,Argo CLI提供了kubectl所不具备的额外功能,例如YAML验证、工作流可视化、参数传递、重试和重新提交、暂停和恢复等。

kubectl create -n argo -f https://raw.githubusercontent.com/argoproj/argo-workflows/main/examples/hello-world.yaml
kubectl get wf -n argo
kubectl get wf hello-world-xxx -n argo
kubectl get po -n argo --selector=workflows.argoproj.io/workflow=hello-world-xxx
kubectl logs hello-world-yyy -c main -n argo

有问题吗?

Search on GitHub Discussions and Slack.