如何做镜像网站,网站模板是什么,网站域名后缀那个好,这些网站涵盖了不同的主题和类型k8s如何部署seata(分布式事务)#xff1f;
官方传送门https://seata.io/zh-cn/ 快速入门SEATA Seata 是一款开源的分布式事务解决方案#xff0c;致力于提供高性能和简单易用的分布式事务服务。Seata 将为用户提供了 AT、TCC、SAGA 和 XA 事务模式#xff0c;为用户打造一站…k8s如何部署seata(分布式事务)
官方传送门https://seata.io/zh-cn/ 快速入门SEATA Seata 是一款开源的分布式事务解决方案致力于提供高性能和简单易用的分布式事务服务。Seata 将为用户提供了 AT、TCC、SAGA 和 XA 事务模式为用户打造一站式的分布式解决方案。 本文章只提供部署教程** 话不多但图很多。 ** kuboard 部署 SEATA
第一步创建工作负载 第二步基本信息 第三步容器信息 第四步高级设置 第五步服务/应用路由 yaml配置
---
apiVersion: apps/v1
kind: Deployment
metadata:annotations:k8s.kuboard.cn/displayName: labels:k8s.kuboard.cn/layer: cloudk8s.kuboard.cn/name: yc-seata-servername: yc-seata-servernamespace: sca-devresourceVersion: 1868503
spec:progressDeadlineSeconds: 600replicas: 1revisionHistoryLimit: 10selector:matchLabels:k8s.kuboard.cn/layer: cloudk8s.kuboard.cn/name: yc-seata-serverstrategy:rollingUpdate:maxSurge: 25%maxUnavailable: 25%type: RollingUpdatetemplate:metadata:creationTimestamp: nulllabels:k8s.kuboard.cn/layer: cloudk8s.kuboard.cn/name: yc-seata-serverspec:containers:- image: bldharbor.wsb003.cn/sca/yc-seata-server:2.0.0imagePullPolicy: Alwaysname: yc-seata-serverports:- containerPort: 30095protocol: TCPresources: {}terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilednsPolicy: ClusterFirstimagePullSecrets:- name: harborrestartPolicy: AlwaysschedulerName: default-schedulersecurityContext: {}terminationGracePeriodSeconds: 30---
apiVersion: v1
kind: Service
metadata:annotations: {}labels:k8s.kuboard.cn/layer: cloudk8s.kuboard.cn/name: yc-seata-servername: yc-seata-servernamespace: sca-devresourceVersion: 1868492
spec:clusterIP: 10.233.107.82clusterIPs:- 10.233.107.82externalTrafficPolicy: ClusterinternalTrafficPolicy: ClusteripFamilies:- IPv4ipFamilyPolicy: SingleStackports:- name: rbkf6xnodePort: 30095port: 30095protocol: TCPtargetPort: 30095selector:k8s.kuboard.cn/layer: cloudk8s.kuboard.cn/name: yc-seata-serversessionAffinity: ClientIPsessionAffinityConfig:clientIP:timeoutSeconds: 10800type: NodePort
部署日志 如何打包自己的seata专属镜像 请参考下一篇文章