parent
496dab95ba
commit
f1d0c0fe28
|
|
@ -39,7 +39,7 @@ kubectl apply -f xxljob-ingress.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## 访问信息
|
## 访问信息
|
||||||
- **访问地址**: https://xxljob-ops.t-aaron.com
|
- **访问地址**: https://xxljob-ops.t-aaron.com/xxl-job-admin
|
||||||
- **默认用户名**: admin
|
- **默认用户名**: admin
|
||||||
- **默认密码**: 123456
|
- **默认密码**: 123456
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,21 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: xxl-job-admin
|
- name: xxl-job-admin
|
||||||
image: registry.t-aaron.com/xuxueli/xxl-job-admin.0
|
image: registry.t-aaron.com/tuoheng/xuxueli/xxl-job-admin:2.4.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: PARAMS
|
- name: SPRING_DATASOURCE_URL
|
||||||
value: "--spring.datasource.url=jdbc:h2:mem:xxl_job;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE --spring.datasource.username=sa --spring.datasource.password= --spring.datasource.driver-class-name=org.h2.Driver --xxl.job.accessToken=default_token"
|
value: "jdbc:mysql://oceanbase.default.svc.cluster.local:2881/xxljob_config?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai"
|
||||||
|
- name: SPRING_DATASOURCE_USERNAME
|
||||||
|
value: "xxljob@sys"
|
||||||
|
- name: SPRING_DATASOURCE_PASSWORD
|
||||||
|
value: "~CUbN!W#~VjmZOFZ0"
|
||||||
|
- name: SPRING_DATASOURCE_DRIVER_CLASS_NAME
|
||||||
|
value: "com.mysql.cj.jdbc.Driver"
|
||||||
|
- name: XXL_JOB_ACCESS_TOKEN
|
||||||
|
value: "XLKmeHJGsoqabEkcK"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
|
|
@ -33,7 +41,7 @@ spec:
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /xxl-job-admin
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|
@ -41,7 +49,7 @@ spec:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /xxl-job-admin
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue