reimuLy commented on issue #17144:
URL:
https://github.com/apache/dolphinscheduler/issues/17144#issuecomment-2825981710
```yaml
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
k8s.kuboard.cn/displayName: dolphin平台alert节点
k8s.kuboard.cn/workload: dolphin-alert
labels:
k8s.kuboard.cn/layer: dolphin
k8s.kuboard.cn/name: dolphin-alert
name: dolphin-alert
namespace: big-data
spec:
replicas: 1
selector:
matchLabels:
k8s.kuboard.cn/name: dolphin-alert
serviceName: dolphin-alert
template:
metadata:
labels:
k8s.kuboard.cn/name: dolphin-alert
spec:
containers:
- env:
- name: DATABASE
value: mysql
- name: SPRING_DATASOURCE_URL
value: >-
jdbc:mysql://*.cotpwdfxy0tl.rds.cn-northwest-1.amazonaws.com.cn:3386/dolphin?useSSL=false&useUnicode=true&characterEncoding=utf-8&verifyServerCertificate=false
- name: SPRING_DATASOURCE_USERNAME
value: dolphin_eks
- name: SPRING_DATASOURCE_PASSWORD
value: *
- name: SPRING_JACKSON_TIME_ZONE
value: GMT+8
- name: REGISTRY_TYPE
value: jdbc
- name: spring.cloud.kubernetes.enabled
value: 'false'
- name: SPRING_PROFILES_ACTIVE
value: mysql
image: >-
*.dkr.ecr.cn-northwest-1.amazonaws.com.cn/dockerhub/apache/dolphinscheduler-alert-server:3.2.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
path: /actuator/health
port: 50053
scheme: HTTP
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: alert
readinessProbe:
failureThreshold: 3
httpGet:
path: /actuator/health
port: 50053
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
dnsPolicy: ClusterFirst
restartPolicy: Always
setHostnameAsFQDN: true
---
apiVersion: v1
kind: Service
metadata:
annotations:
k8s.kuboard.cn/workload: dolphin-alert
labels:
k8s.kuboard.cn/layer: dolphin
k8s.kuboard.cn/name: dolphin-alert
name: dolphin-alert
namespace: big-data
spec:
clusterIP: None
ports:
- name: psdsk8
port: 50052
protocol: TCP
targetPort: 50052
publishNotReadyAddresses: true
selector:
k8s.kuboard.cn/name: dolphin-alert
type: ClusterIP
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]