GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — go-workflow/k8s.yaml at master · go-workflow/go-workflow Expand file tree/ Copy pathk8s.yamlMore file actions 95 lines (94 loc) · 1.95 KB / Copy pathk8s.yamlFile metadata and controls95 lines (94 loc) · 1.95 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ################################################### # 工作流引擎 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: "123" - 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 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |