argo

https://github.com/argoproj/argo
https://www.qikqiak.com/post/argo-workflow-engine-for-k8s/

安装部署

brew install argoproj/tap/argo
➜  ~ argo version                                                                                                                                                                                
argo: v2.5.1
  BuildDate: 2020-02-20T18:20:18Z
  GitCommit: fb496a244383822af5d4c71431062cebd6de0ee4
  GitTreeState: clean
  GitTag: v2.5.1
  GoVersion: go1.13.4
  Compiler: gc
  Platform: darwin/amd64
➜  ~ kubectl create ns argo
namespace/argo created
➜  ~ kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/stable/manifests/install.yaml
customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io created
serviceaccount/argo created
serviceaccount/argo-server created
role.rbac.authorization.k8s.io/argo-role created
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-admin created
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-edit created
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-view created
clusterrole.rbac.authorization.k8s.io/argo-cluster-role created
clusterrole.rbac.authorization.k8s.io/argo-server-cluster-role created
rolebinding.rbac.authorization.k8s.io/argo-binding created
clusterrolebinding.rbac.authorization.k8s.io/argo-binding created
clusterrolebinding.rbac.authorization.k8s.io/argo-server-binding created
configmap/workflow-controller-configmap created
service/argo-server created
deployment.apps/argo-server created
deployment.apps/workflow-controller created
$ kubectl edit svc argo-ui -n argo
kind: Service
metadata:
......
spec:
......
  sessionAffinity: None
  type: NodePort
......
service/argo-ui edited
➜  ~ kubectl get svc -n argo
NAME          TYPE       CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
argo-server   NodePort   10.111.82.37           2746:30088/TCP   18h

然后我们就通过上面的 30088 端口来访问 argo-ui 了, http://localhost:30088

你可能感兴趣的:(argo)