-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add argo workflow example for jobset #612
docs: add argo workflow example for jobset #612
Conversation
✅ Deploy Preview for kubernetes-sigs-jobset canceled.
|
hi ! @shrinandj maybe you could add more practical use cases |
This is great! Did you manually test the example and confirm it works as expected? |
yes, I use the local environment for testing. root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl apply -f rbac.yaml
serviceaccount/argo-jobset unchanged
role.rbac.authorization.k8s.io/argo-jobset-role unchanged
rolebinding.rbac.authorization.k8s.io/argo-jobset-binding unchanged
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl create -f workflow.yaml
workflow.argoproj.io/argo-workflow-jobset-2bxrh created
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get workflow -nargo
NAME STATUS AGE MESSAGE
argo-workflow-jobset-2bxrh Running 8s
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get pods -nargo
NAME READY STATUS RESTARTS AGE
argo-server-8577c7c558-lh6t7 1/1 Running 0 23h
argo-workflow-jobset-2bxrh 1/1 Running 0 18s
httpbin-6c989cbc8c-f86wr 1/1 Running 0 23h
minio-6b665ffb45-gq9n6 1/1 Running 0 23h
paralleljobs-driver-0-0-s6ztn 1/1 Running 0 16s
paralleljobs-workers-0-0-95g48 1/1 Running 0 16s
paralleljobs-workers-0-1-vlcnq 1/1 Running 0 16s
paralleljobs-workers-0-2-b24kk 1/1 Running 0 16s
paralleljobs-workers-0-3-7qvhs 1/1 Running 0 16s
workflow-controller-76ffbdcf8f-vlwwc 1/1 Running 0 23h
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get pods -nargo
NAME READY STATUS RESTARTS AGE
argo-server-8577c7c558-lh6t7 1/1 Running 0 23h
argo-workflow-jobset-2bxrh 1/1 Running 0 71s
httpbin-6c989cbc8c-f86wr 1/1 Running 0 23h
minio-6b665ffb45-gq9n6 1/1 Running 0 23h
paralleljobs-driver-0-0-s6ztn 1/1 Running 0 69s
paralleljobs-workers-0-0-95g48 1/1 Running 0 69s
paralleljobs-workers-0-1-vlcnq 1/1 Running 0 69s
paralleljobs-workers-0-2-b24kk 1/1 Running 0 69s
paralleljobs-workers-0-3-7qvhs 1/1 Running 0 69s
workflow-controller-76ffbdcf8f-vlwwc 1/1 Running 0 23h
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get jobset -nargo
NAME TERMINALSTATE RESTARTS COMPLETED SUSPENDED AGE
paralleljobs 99s
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get jobset -nargo
NAME TERMINALSTATE RESTARTS COMPLETED SUSPENDED AGE
paralleljobs Completed True 110s
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get pods -nargo
NAME READY STATUS RESTARTS AGE
argo-server-8577c7c558-lh6t7 1/1 Running 0 23h
argo-workflow-jobset-2bxrh 0/1 Completed 0 116s
httpbin-6c989cbc8c-f86wr 1/1 Running 0 23h
minio-6b665ffb45-gq9n6 1/1 Running 0 23h
paralleljobs-driver-0-0-s6ztn 0/1 Completed 0 114s
paralleljobs-workers-0-0-95g48 0/1 Completed 0 114s
paralleljobs-workers-0-1-vlcnq 0/1 Completed 0 114s
paralleljobs-workers-0-2-b24kk 0/1 Completed 0 114s
paralleljobs-workers-0-3-7qvhs 0/1 Completed 0 114s
workflow-controller-76ffbdcf8f-vlwwc 1/1 Running 0 23h
root@VM-0-3-ubuntu:/home/ubuntu/example# kubectl get workflow -nargo
NAME STATUS AGE MESSAGE
argo-workflow-jobset-2bxrh Succeeded 2m7s |
/lgtm Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danielvegamyhre, googs1025 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Since this PR #594 has been merged and we discussed it in the issue #545, it can now be integrated into argo-workflow. This PR provides some yaml examples for integrating argo workflow