代码拉取完成,页面将自动刷新
同步操作将从 edroplet/go-workflow 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
###################################################
# 工作流引擎 workflow
##################################################
apiVersion: v1
kind: Service
metadata:
name: workflow
spec:
selector:
app: workflow
ports:
- port: 8080
name: http
---
# deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: workflow
spec:
replicas: 2
selector:
matchLabels:
app: workflow
template:
metadata:
labels:
app: workflow
spec:
containers:
- name: workflow
imagePullPolicy: Always
image: registry.cn-hangzhou.aliyuncs.com/mumushuiding/go-workflow
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
env:
- name: DbType
value: "mysql"
- name: DbLogMode
value: "false"
- name: DbName
value: workflow
- name: DbHost
value: localhost
- name: DbUser
value: root
- name: DbPassword
value: ""
- name: RedisCluster # 是否是redis集群
value: "true"
- name: RedisHost
value: redis-service # redis 集群ip
- name: RedisPort
value: "6379"
- name: RedisPassword
value: ""
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: workflow
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: http
hosts:
- workflow.prod.svc.cluster.local
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: workflow
spec:
hosts:
- "*"
gateways:
- workflow
http:
- match:
- uri:
prefix: /workflow
route:
- destination:
host: workflow
port:
number: 8080
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。