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   <none>        2746:30088/TCP   18h

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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • # Awesome Python [![Awesome](https://cdn.rawgit.com/sindr...
    emily_007阅读 2,255评论 0 3
  • ingress-nginx need add --enable-ssl-passthrough args ope...
    akka9阅读 2,055评论 0 0
  • 长风问候归鸟, 折断枝桠。 野兔躲视线, 穿草丛,跃溪涧, 脚步轻轻。 树林已黄昏, 空气凝滞,如蜂蜜, 甘甜了细...
    屿诚阅读 171评论 1 0
  • 在项目开发中经常有许多封装过的.a文件,使用时经常会发现它们外部(.h) 并没有我们想要的东西。我们并不能通过打点...
    dlxfly阅读 341评论 0 0