You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @Yancey1989 for setting up this discussion. I will do some experiments on go-client today to see if go-client is compatible with the Argo workflow format.
The go client should be compatible for simple API calls like getting pod status etc, for more information: https://github.com/kubernetes/client-go#compatibility-matrix. And I think we don't need to change the client version since the basic APIs are all available.
After spending some time going through the examples of go-client, I haven't found a way to transfer the current command line implement to go-client. Since learning go-client may take a while, I will put this discussion on hold until we found the necessity of the go-client.
For the record, I was trying to use Argo client directly but failed, because Argo is not using go.mod and won't be in the short term, so I am using kubectl for now.
As the comment: #1332 (comment)
We can use go-client or the cmd
kubectl
to submit the workflow or fetch status/logs from the workflow.Go-client:
kubectl:
I tend to use
kubectl
, because:submit
andfetch
workflow status/logs, don't need more complex k8s APIThe text was updated successfully, but these errors were encountered: