引入分布式事务seata,有问题,日志问题,待解决
This commit is contained in:
1 parent
887512c5fe
commit
59fc017933
285 files changed
+3464
No files matched your search
@@ -0,0 +1,49 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: seata-server
|
||||
namespace: default
|
||||
labels:
|
||||
k8s-app: seata-server
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 8091
|
||||
nodePort: 30091
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
k8s-app: seata-server
|
||||
|
||||
---
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: seata-server
|
||||
namespace: default
|
||||
labels:
|
||||
k8s-app: seata-server
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: seata-server
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: seata-server
|
||||
spec:
|
||||
containers:
|
||||
- name: seata-server
|
||||
image: docker.io/seataio/seata-server:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: SEATA_PORT
|
||||
value: "8091"
|
||||
- name: STORE_MODE
|
||||
value: file
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8091
|
||||
protocol: TCP
|
||||
Reference in new issue
Block a user